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:
9e71390
)
eth_ntoa and warnings fixups
author
Marty Connor
<mdc@etherboot.org>
Mon, 25 Sep 2006 02:47:50 +0000
(
02:47
+0000)
committer
Marty Connor
<mdc@etherboot.org>
Mon, 25 Sep 2006 02:47:50 +0000
(
02:47
+0000)
src/drivers/net/forcedeth.c
patch
|
blob
|
history
diff --git
a/src/drivers/net/forcedeth.c
b/src/drivers/net/forcedeth.c
index
a60749c
..
67f0c1e
100644
(file)
--- a/
src/drivers/net/forcedeth.c
+++ b/
src/drivers/net/forcedeth.c
@@
-50,6
+50,7
@@
/* to get the PCI support functions, if this is a PCI NIC */
#include <gpxe/pci.h>
/* Include timer support functions */
+#include <gpxe/ethernet.h>
#include "timer.h"
#include "mii.h"
@@
-1304,7
+1305,8
@@
static int forcedeth_probe ( struct nic *nic, struct pci_device *pci ) {
get_random_bytes(&dev->dev_addr[3], 3);
}
#endif
- printf("%s: MAC Address %!, ", pci->name, nic->node_addr);
+
+ DBG ( "%s: MAC Address %s\n", pci->name, eth_ntoa ( nic->node_addr ) );
/* disable WOL */
writel(0, base + NvRegWakeUpFlags);