summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/amd8111e.c
diff options
context:
space:
mode:
authorMarty Connor2006-09-19 18:33:46 +0200
committerMarty Connor2006-09-19 18:33:46 +0200
commit3df3ac72e184ce9b037800c162732d596023c062 (patch)
treedab0becd1a5402059128e8d526a38330ca7dac4a /src/drivers/net/amd8111e.c
parenteth_ntoa fixups (diff)
downloadipxe-3df3ac72e184ce9b037800c162732d596023c062.tar.gz
ipxe-3df3ac72e184ce9b037800c162732d596023c062.tar.xz
ipxe-3df3ac72e184ce9b037800c162732d596023c062.zip
eth_ntoa fixups
Diffstat (limited to 'src/drivers/net/amd8111e.c')
-rw-r--r--src/drivers/net/amd8111e.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/net/amd8111e.c b/src/drivers/net/amd8111e.c
index 7702a350..4078ae11 100644
--- a/src/drivers/net/amd8111e.c
+++ b/src/drivers/net/amd8111e.c
@@ -32,6 +32,7 @@
#include "nic.h"
#include "mii.h"
#include <gpxe/pci.h>
+#include <gpxe/ethernet.h>
#include "timer.h"
#include "string.h"
#include "stdint.h"
@@ -386,7 +387,8 @@ static int amd8111e_get_mac_address(struct amd8111e_priv *lp)
*/
for (i = 0; i < ETH_ALEN; i++)
nic->node_addr[i] = readb(mmio + PADR + i);
- printf("Ethernet addr: %!\n", nic->node_addr);
+
+ DBG ( "Ethernet addr: %s\n", eth_ntoa ( nic->node_addr ) );
return 0;
}