david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

eth_ntoa cleanup

This commit is contained in:
Marty Connor 2006-09-26 22:11:45 +00:00
parent b88aa51b07
commit a02dccdafa
1 changed files with 3 additions and 4 deletions

View File

@ -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);