mirror of
https://github.com/ipxe/ipxe
synced 2025-12-31 06:49:20 +03:00
eth_ntoa and warnings fixups
This commit is contained in:
@@ -42,6 +42,7 @@
|
|||||||
#include "nic.h"
|
#include "nic.h"
|
||||||
/* 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 <gpxe/ethernet.h>
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
|
||||||
/* #define EDEBUG 1 */
|
/* #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];
|
nic->node_addr[i] = db->srom[20 + i];
|
||||||
|
|
||||||
/* Print out some hardware info */
|
/* 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 */
|
/* Set the card as PCI Bus Master */
|
||||||
adjust_pci_device(pci);
|
adjust_pci_device(pci);
|
||||||
|
|||||||
Reference in New Issue
Block a user