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:
b88aa51
)
eth_ntoa cleanup
author
Marty Connor
<mdc@etherboot.org>
Tue, 26 Sep 2006 22:11:45 +0000
(22:11 +0000)
committer
Marty Connor
<mdc@etherboot.org>
Tue, 26 Sep 2006 22:11:45 +0000
(22:11 +0000)
src/drivers/net/smc9000.c
patch
|
blob
|
history
diff --git
a/src/drivers/net/smc9000.c
b/src/drivers/net/smc9000.c
index
9d3542c
..
34e9753
100644
(file)
--- a/
src/drivers/net/smc9000.c
+++ b/
src/drivers/net/smc9000.c
@@
-35,6
+35,7
@@
#define PRINTK2(args...)
#endif
+#include <gpxe/ethernet.h>
#include "etherboot.h"
#include "nic.h"
#include "isa.h"
@@
-899,10
+900,8
@@
static int smc9000_probe ( struct nic *nic, struct isa_device *isa ) {
printf("%s rev:%d I/O port:%hX Interface:%s RAM:%d bytes \n",
version_string, revision & 0xF,
nic->ioaddr, if_string, memory );
- /*
- * Print the Ethernet address
- */
- printf("Ethernet MAC address: %!\n", nic->node_addr);
+
+ DBG ( "Ethernet MAC address: %s\n", eth_ntoa ( nic->node_addr ) );
SMC_SELECT_BANK(nic->ioaddr, 0);