mirror of
https://github.com/xcat2/xNBA.git
synced 2025-01-18 21:43:14 +00:00
eth_ntoa fixups
This commit is contained in:
parent
896f871fba
commit
3df3ac72e1
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user