|
@@ -32,6 +32,7 @@
|
32
|
32
|
#include "nic.h"
|
33
|
33
|
#include "mii.h"
|
34
|
34
|
#include <gpxe/pci.h>
|
|
35
|
+#include <gpxe/ethernet.h>
|
35
|
36
|
#include "timer.h"
|
36
|
37
|
#include "string.h"
|
37
|
38
|
#include "stdint.h"
|
|
@@ -386,7 +387,8 @@ static int amd8111e_get_mac_address(struct amd8111e_priv *lp)
|
386
|
387
|
*/
|
387
|
388
|
for (i = 0; i < ETH_ALEN; i++)
|
388
|
389
|
nic->node_addr[i] = readb(mmio + PADR + i);
|
389
|
|
- printf("Ethernet addr: %!\n", nic->node_addr);
|
|
390
|
+
|
|
391
|
+ DBG ( "Ethernet addr: %s\n", eth_ntoa ( nic->node_addr ) );
|
390
|
392
|
|
391
|
393
|
return 0;
|
392
|
394
|
}
|