Skip to content

Commit

Permalink
eth_ntoa and warnings fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
Marty Connor committed Sep 25, 2006
1 parent 9e71390 commit f4d0f2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/drivers/net/forcedeth.c
Expand Up @@ -50,6 +50,7 @@
/* to get the PCI support functions, if this is a PCI NIC */
#include <gpxe/pci.h>
/* Include timer support functions */
#include <gpxe/ethernet.h>
#include "timer.h"
#include "mii.h"

Expand Down Expand Up @@ -1304,7 +1305,8 @@ static int forcedeth_probe ( struct nic *nic, struct pci_device *pci ) {
get_random_bytes(&dev->dev_addr[3], 3);
}
#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 */
writel(0, base + NvRegWakeUpFlags);
Expand Down

0 comments on commit f4d0f2e

Please sign in to comment.