mirror of
https://github.com/ipxe/ipxe
synced 2026-03-16 03:02:07 +03:00
Ensured that all drivers call xxx_fill_nic().
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user