diff options
author | Marty Connor <mdc@etherboot.org> | 2006-09-15 12:42:43 +0000 |
---|---|---|
committer | Marty Connor <mdc@etherboot.org> | 2006-09-15 12:42:43 +0000 |
commit | a998286c8b5c73444314f4639d644f1772519c20 (patch) | |
tree | 84fa1f8d47df99e9745bedc193d79347698c4c90 /src/drivers/net/eepro100.c | |
parent | 0dca1dc8ced3f3ac3e12fc923e75f1ce77629b69 (diff) | |
download | ipxe-a998286c8b5c73444314f4639d644f1772519c20.tar.gz |
change MAC address printout to DBG using eth_ntoa (temporary legacy support)
Diffstat (limited to 'src/drivers/net/eepro100.c')
-rw-r--r-- | src/drivers/net/eepro100.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/net/eepro100.c b/src/drivers/net/eepro100.c index 46346c719..829def52b 100644 --- a/src/drivers/net/eepro100.c +++ b/src/drivers/net/eepro100.c @@ -105,6 +105,7 @@ #include "etherboot.h" #include "nic.h" +#include <gpxe/ethernet.h> #include <gpxe/pci.h> #include "timer.h" @@ -635,7 +636,8 @@ static int eepro100_probe ( struct nic *nic, struct pci_device *p ) { for (i=0;i<ETH_ALEN;i++) { nic->node_addr[i] = (eeprom[i/2] >> (8*(i&1))) & 0xff; } - printf ("Ethernet addr: %!\n", nic->node_addr); + + DBG ("Ethernet addr: %s\n", eth_ntoa ( nic->node_addr ) ); if (sum != 0xBABA) printf("eepro100: Invalid EEPROM checksum %#hX, " |