mirror of https://github.com/ipxe/ipxe.git
change MAC address printout to DBG using eth_ntoa (temporary legacy support)
parent
0dca1dc8ce
commit
a998286c8b
|
@ -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, "
|
||||
|
|
Loading…
Reference in New Issue