http://git.etherboot.org
/
people
/
pcmattman
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dca1dc
)
change MAC address printout to DBG using eth_ntoa (temporary legacy support)
author
Marty Connor
<mdc@etherboot.org>
Fri, 15 Sep 2006 12:42:43 +0000
(12:42 +0000)
committer
Marty Connor
<mdc@etherboot.org>
Fri, 15 Sep 2006 12:42:43 +0000
(12:42 +0000)
src/drivers/net/eepro100.c
patch
|
blob
|
history
diff --git
a/src/drivers/net/eepro100.c
b/src/drivers/net/eepro100.c
index
46346c7
..
829def5
100644
(file)
--- 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, "