david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

eth_ntoa fixups

This commit is contained in:
Marty Connor 2006-09-19 16:33:46 +00:00
parent 896f871fba
commit 3df3ac72e1
1 changed files with 3 additions and 1 deletions

View File

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