summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarty Connor2006-09-19 17:49:57 +0200
committerMarty Connor2006-09-19 17:49:57 +0200
commit077bbc220a7214c28b41481e7f7624a405682477 (patch)
treeec298e44ced55ae4d794e71691bbaaa29694c297 /src
parenteth_ntoa fixup, some warnings fixups (isa/pnp fixups still needed) (diff)
downloadipxe-077bbc220a7214c28b41481e7f7624a405682477.tar.gz
ipxe-077bbc220a7214c28b41481e7f7624a405682477.tar.xz
ipxe-077bbc220a7214c28b41481e7f7624a405682477.zip
eth_ntoa fixup
Diffstat (limited to 'src')
-rw-r--r--src/drivers/net/3c5x9.c5
1 files changed, 4 insertions, 1 deletions
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 <gpxe/ethernet.h>
#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;