From 3df3ac72e184ce9b037800c162732d596023c062 Mon Sep 17 00:00:00 2001 From: Marty Connor Date: Tue, 19 Sep 2006 16:33:46 +0000 Subject: [PATCH] eth_ntoa fixups --- src/drivers/net/amd8111e.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 +#include #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; }