diff options
author | Marty Connor | 2006-09-25 04:55:13 +0200 |
---|---|---|
committer | Marty Connor | 2006-09-25 04:55:13 +0200 |
commit | d4b060be3bfdf14b4f68d656c4b83364cc19f885 (patch) | |
tree | 81ee594703b0390f7ff4aef8d0cc238dd679c67d /src | |
parent | eth_ntoa and warnings fixups (diff) | |
download | ipxe-d4b060be3bfdf14b4f68d656c4b83364cc19f885.tar.gz ipxe-d4b060be3bfdf14b4f68d656c4b83364cc19f885.tar.xz ipxe-d4b060be3bfdf14b4f68d656c4b83364cc19f885.zip |
eth_ntoa and warnings fixups
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/net/mtd80x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/net/mtd80x.c b/src/drivers/net/mtd80x.c index 9fffab2e..767aeade 100644 --- a/src/drivers/net/mtd80x.c +++ b/src/drivers/net/mtd80x.c @@ -29,6 +29,7 @@ #include "nic.h" /* to get the PCI support functions, if this is a PCI NIC */ #include <gpxe/pci.h> +#include <gpxe/ethernet.h> /* Condensed operations for readability. */ #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) @@ -691,7 +692,7 @@ static int mtd_probe ( struct nic *nic, struct pci_device *pci ) { return 0; } - /* DBG ( "%s: ioaddr %#hX, addr %!\n",mtdx.nic_name, mtdx.ioaddr, nic->node_addr ); */ + DBG ( "%s: ioaddr %4.4x MAC %s\n", mtdx.nic_name, mtdx.ioaddr, eth_ntoa ( nic->node_addr ) ); /* Reset the chip to erase previous misconfiguration. */ outl(0x00000001, mtdx.ioaddr + BCR); |