mirror of https://github.com/ipxe/ipxe.git
eth_ntoa and warnings fixups
parent
9e71390930
commit
f4d0f2e5b5
|
@ -50,6 +50,7 @@
|
||||||
/* to get the PCI support functions, if this is a PCI NIC */
|
/* to get the PCI support functions, if this is a PCI NIC */
|
||||||
#include <gpxe/pci.h>
|
#include <gpxe/pci.h>
|
||||||
/* Include timer support functions */
|
/* Include timer support functions */
|
||||||
|
#include <gpxe/ethernet.h>
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
#include "mii.h"
|
#include "mii.h"
|
||||||
|
|
||||||
|
@ -1304,7 +1305,8 @@ static int forcedeth_probe ( struct nic *nic, struct pci_device *pci ) {
|
||||||
get_random_bytes(&dev->dev_addr[3], 3);
|
get_random_bytes(&dev->dev_addr[3], 3);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
printf("%s: MAC Address %!, ", pci->name, nic->node_addr);
|
|
||||||
|
DBG ( "%s: MAC Address %s\n", pci->name, eth_ntoa ( nic->node_addr ) );
|
||||||
|
|
||||||
/* disable WOL */
|
/* disable WOL */
|
||||||
writel(0, base + NvRegWakeUpFlags);
|
writel(0, base + NvRegWakeUpFlags);
|
||||||
|
|
Loading…
Reference in New Issue