summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/eepro100.c
diff options
context:
space:
mode:
authorMichael Brown2005-04-22 18:31:52 +0200
committerMichael Brown2005-04-22 18:31:52 +0200
commit08ff0c1d309f115846e27b8eb10501c8dc675408 (patch)
tree00fbac5f304a1803c04f839ead8cafd1586b6254 /src/drivers/net/eepro100.c
parentCoerced into compiling (diff)
downloadipxe-08ff0c1d309f115846e27b8eb10501c8dc675408.tar.gz
ipxe-08ff0c1d309f115846e27b8eb10501c8dc675408.tar.xz
ipxe-08ff0c1d309f115846e27b8eb10501c8dc675408.zip
Ensured that all drivers call xxx_fill_nic().
Diffstat (limited to 'src/drivers/net/eepro100.c')
-rw-r--r--src/drivers/net/eepro100.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/drivers/net/eepro100.c b/src/drivers/net/eepro100.c
index 1857a9a1..59ed483f 100644
--- a/src/drivers/net/eepro100.c
+++ b/src/drivers/net/eepro100.c
@@ -617,13 +617,9 @@ static int eepro100_probe ( struct nic *nic, struct pci_device *p ) {
if (p->ioaddr == 0)
return 0;
- ioaddr = p->ioaddr;
- nic->ioaddr = ioaddr;
-
+ pci_fill_nic ( nic, pci );
adjust_pci_device(p);
-
- /* Copy IRQ from PCI information */
- nic->irqno = p->irq;
+ ioaddr = nic->ioaddr;
if ((do_eeprom_cmd(EE_READ_CMD << 24, 27) & 0xffe0000)
== 0xffe0000) {