From: Marty Connor Date: Mon, 25 Sep 2006 02:11:52 +0000 (+0000) Subject: eth_ntoa and warnings fixups X-Git-Tag: v0.9.3~1025 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ffeffebb2973271dec4221c877ad3af61479da4;p=thirdparty%2Fipxe.git eth_ntoa and warnings fixups --- diff --git a/src/drivers/net/dmfe.c b/src/drivers/net/dmfe.c index 50d96ece0..4a4ac7d45 100644 --- a/src/drivers/net/dmfe.c +++ b/src/drivers/net/dmfe.c @@ -42,6 +42,7 @@ #include "nic.h" /* to get the PCI support functions, if this is a PCI NIC */ #include +#include #include "timer.h" /* #define EDEBUG 1 */ @@ -487,7 +488,7 @@ static int dmfe_probe ( struct nic *nic, struct pci_device *pci ) { nic->node_addr[i] = db->srom[20 + i]; /* Print out some hardware info */ - printf("%s: %! at ioaddr %hX\n", pci->name, nic->node_addr, BASE); + DBG ( "%s: %s at ioaddr %4.4lx\n", pci->name, eth_ntoa ( nic->node_addr ), BASE ); /* Set the card as PCI Bus Master */ adjust_pci_device(pci);