From 077bbc220a7214c28b41481e7f7624a405682477 Mon Sep 17 00:00:00 2001 From: Marty Connor Date: Tue, 19 Sep 2006 15:49:57 +0000 Subject: [PATCH] eth_ntoa fixup --- src/drivers/net/3c5x9.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/drivers/net/3c5x9.c b/src/drivers/net/3c5x9.c index b2575bc0..dc0c3f7b 100644 --- a/src/drivers/net/3c5x9.c +++ b/src/drivers/net/3c5x9.c @@ -24,6 +24,7 @@ $Id$ /* #define EDEBUG */ +#include #include "etherboot.h" #include "nic.h" #include "isa.h" @@ -397,7 +398,9 @@ int t5x9_probe ( struct nic *nic, GO_WINDOW(nic->ioaddr,2); outw(ntohs(p[i]), nic->ioaddr + EP_W2_ADDR_0 + (i * 2)); } - printf("Ethernet address: %!\n", nic->node_addr); + + DBG ( "Ethernet Address: %s\n", eth_ntoa ( nic->node_addr ) ); + t509_reset(nic); nic->nic_op = &t509_operations;