diff options
| author | Michael Brown | 2005-04-22 18:31:52 +0200 |
|---|---|---|
| committer | Michael Brown | 2005-04-22 18:31:52 +0200 |
| commit | 08ff0c1d309f115846e27b8eb10501c8dc675408 (patch) | |
| tree | 00fbac5f304a1803c04f839ead8cafd1586b6254 /src/drivers/net/eepro100.c | |
| parent | Coerced into compiling (diff) | |
| download | ipxe-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.c | 8 |
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) { |
