diff options
author | Marty Connor | 2006-09-25 04:47:50 +0200 |
---|---|---|
committer | Marty Connor | 2006-09-25 04:47:50 +0200 |
commit | f4d0f2e5b516b2aef57494414734279e757366e6 (patch) | |
tree | bd05682026058bdee1f5cfcae5ba74aeff9caf1d /src/drivers/net/forcedeth.c | |
parent | eth_ntoa and warnings fixups (diff) | |
download | ipxe-f4d0f2e5b516b2aef57494414734279e757366e6.tar.gz ipxe-f4d0f2e5b516b2aef57494414734279e757366e6.tar.xz ipxe-f4d0f2e5b516b2aef57494414734279e757366e6.zip |
eth_ntoa and warnings fixups
Diffstat (limited to 'src/drivers/net/forcedeth.c')
-rw-r--r-- | src/drivers/net/forcedeth.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/net/forcedeth.c b/src/drivers/net/forcedeth.c index a60749c7..67f0c1ee 100644 --- a/src/drivers/net/forcedeth.c +++ b/src/drivers/net/forcedeth.c @@ -50,6 +50,7 @@ /* to get the PCI support functions, if this is a PCI NIC */ #include <gpxe/pci.h> /* Include timer support functions */ +#include <gpxe/ethernet.h> #include "timer.h" #include "mii.h" @@ -1304,7 +1305,8 @@ static int forcedeth_probe ( struct nic *nic, struct pci_device *pci ) { get_random_bytes(&dev->dev_addr[3], 3); } #endif - printf("%s: MAC Address %!, ", pci->name, nic->node_addr); + + DBG ( "%s: MAC Address %s\n", pci->name, eth_ntoa ( nic->node_addr ) ); /* disable WOL */ writel(0, base + NvRegWakeUpFlags); |