From a02dccdafaf2008842e17135c5eac20c0d9ed695 Mon Sep 17 00:00:00 2001 From: Marty Connor Date: Tue, 26 Sep 2006 22:11:45 +0000 Subject: [PATCH] eth_ntoa cleanup --- src/drivers/net/smc9000.c | 7 +++---- 1 file 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 #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);