diff options
author | Marty Connor | 2006-09-27 00:11:45 +0200 |
---|---|---|
committer | Marty Connor | 2006-09-27 00:11:45 +0200 |
commit | a02dccdafaf2008842e17135c5eac20c0d9ed695 (patch) | |
tree | bf2d2d8cc96222d6b51cb06985607d5b22847932 | |
parent | warnings cleanup (still gives lots of compilation warnings from unused functi... (diff) | |
download | ipxe-a02dccdafaf2008842e17135c5eac20c0d9ed695.tar.gz ipxe-a02dccdafaf2008842e17135c5eac20c0d9ed695.tar.xz ipxe-a02dccdafaf2008842e17135c5eac20c0d9ed695.zip |
eth_ntoa cleanup
-rw-r--r-- | src/drivers/net/smc9000.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/drivers/net/smc9000.c b/src/drivers/net/smc9000.c index 9d3542cb..34e9753d 100644 --- a/src/drivers/net/smc9000.c +++ b/src/drivers/net/smc9000.c @@ -35,6 +35,7 @@ #define PRINTK2(args...) #endif +#include <gpxe/ethernet.h> #include "etherboot.h" #include "nic.h" #include "isa.h" @@ -899,10 +900,8 @@ static int smc9000_probe ( struct nic *nic, struct isa_device *isa ) { printf("%s rev:%d I/O port:%hX Interface:%s RAM:%d bytes \n", version_string, revision & 0xF, nic->ioaddr, if_string, memory ); - /* - * Print the Ethernet address - */ - printf("Ethernet MAC address: %!\n", nic->node_addr); + + DBG ( "Ethernet MAC address: %s\n", eth_ntoa ( nic->node_addr ) ); SMC_SELECT_BANK(nic->ioaddr, 0); |