Fields in struct pci_device slightly changed.
authorMichael Brown <mcb30@etherboot.org>
Fri, 22 Apr 2005 16:05:05 +0000 (16:05 +0000)
committerMichael Brown <mcb30@etherboot.org>
Fri, 22 Apr 2005 16:05:05 +0000 (16:05 +0000)
src/drivers/net/davicom.c

index 755a70e..b32f8ec 100644 (file)
@@ -665,13 +665,11 @@ static int davicom_probe ( struct nic *nic, struct pci_device *pci ) {
   if (pci->ioaddr == 0)
     return 0;
 
-  vendor  = pci->vendor;
-  dev_id  = pci->dev_id;
+  vendor  = pci->vendor_id;
+  dev_id  = pci->device_id;
   ioaddr  = pci->ioaddr;
 
-  nic->irqno  = 0;
   pci_fill_nic ( nic, pci );
-  nic->ioaddr = pci->ioaddr;
 
   /* wakeup chip */
   pci_write_config_dword(pci, 0x40, 0x00000000);