http://git.etherboot.org
/
people
/
mcb30
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
896f871
)
eth_ntoa fixups
author
Marty Connor
<mdc@etherboot.org>
Tue, 19 Sep 2006 16:33:46 +0000
(16:33 +0000)
committer
Marty Connor
<mdc@etherboot.org>
Tue, 19 Sep 2006 16:33:46 +0000
(16:33 +0000)
src/drivers/net/amd8111e.c
patch
|
blob
|
history
diff --git
a/src/drivers/net/amd8111e.c
b/src/drivers/net/amd8111e.c
index
7702a35
..
4078ae1
100644
(file)
--- a/
src/drivers/net/amd8111e.c
+++ b/
src/drivers/net/amd8111e.c
@@
-32,6
+32,7
@@
#include "nic.h"
#include "mii.h"
#include <gpxe/pci.h>
+#include <gpxe/ethernet.h>
#include "timer.h"
#include "string.h"
#include "stdint.h"
@@
-386,7
+387,8
@@
static int amd8111e_get_mac_address(struct amd8111e_priv *lp)
*/
for (i = 0; i < ETH_ALEN; i++)
nic->node_addr[i] = readb(mmio + PADR + i);
- printf("Ethernet addr: %!\n", nic->node_addr);
+
+ DBG ( "Ethernet addr: %s\n", eth_ntoa ( nic->node_addr ) );
return 0;
}