david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

change MAC address printout to DBG using eth_ntoa (temporary legacy support)

This commit is contained in:
Marty Connor 2006-09-15 12:42:43 +00:00
parent 0dca1dc8ce
commit a998286c8b
1 changed files with 3 additions and 1 deletions

View File

@ -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, "