diff options
author | Marty Connor <mdc@etherboot.org> | 2006-09-19 15:49:57 +0000 |
---|---|---|
committer | Marty Connor <mdc@etherboot.org> | 2006-09-19 15:49:57 +0000 |
commit | 077bbc220a7214c28b41481e7f7624a405682477 (patch) | |
tree | ec298e44ced55ae4d794e71691bbaaa29694c297 /src/drivers/net/3c5x9.c | |
parent | 338a6de549e085af538e3b89d5d8c5fa1d61dd18 (diff) | |
download | ipxe-077bbc220a7214c28b41481e7f7624a405682477.tar.gz |
eth_ntoa fixup
Diffstat (limited to 'src/drivers/net/3c5x9.c')
-rw-r--r-- | src/drivers/net/3c5x9.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/drivers/net/3c5x9.c b/src/drivers/net/3c5x9.c index b2575bc0f..dc0c3f7b8 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; |