Browse Source

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

tags/v0.9.3
Marty Connor 18 years ago
parent
commit
a998286c8b
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/drivers/net/eepro100.c

+ 3
- 1
src/drivers/net/eepro100.c View File

@@ -105,6 +105,7 @@
105 105
 
106 106
 #include "etherboot.h"
107 107
 #include "nic.h"
108
+#include <gpxe/ethernet.h>
108 109
 #include <gpxe/pci.h>
109 110
 #include "timer.h"
110 111
 
@@ -635,7 +636,8 @@ static int eepro100_probe ( struct nic *nic, struct pci_device *p ) {
635 636
 	for (i=0;i<ETH_ALEN;i++) {
636 637
 		nic->node_addr[i] =  (eeprom[i/2] >> (8*(i&1))) & 0xff;
637 638
 	}
638
-	printf ("Ethernet addr: %!\n", nic->node_addr);
639
+
640
+	DBG ("Ethernet addr: %s\n", eth_ntoa ( nic->node_addr ) );
639 641
 
640 642
 	if (sum != 0xBABA)
641 643
 		printf("eepro100: Invalid EEPROM checksum %#hX, "

Loading…
Cancel
Save