Fix to compile under gpxe
authorMichael Brown <mcb30@etherboot.org>
Thu, 16 Mar 2006 18:54:57 +0000 (18:54 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 16 Mar 2006 18:54:57 +0000 (18:54 +0000)
src/drivers/net/3c90x.c

index 0e855a4..c544381 100644 (file)
@@ -719,7 +719,7 @@ static int a3c90x_probe ( struct nic *nic, struct pci_device *pci ) {
     nic->ioaddr = pci->ioaddr;
     nic->irqno = 0;
 
-    INF_3C90X.is3c556 = (pci->dev_id == 0x6055);
+    INF_3C90X.is3c556 = (pci->device_id == 0x6055);
     INF_3C90X.IOAddr = pci->ioaddr & ~3;
     INF_3C90X.CurrentWindow = 255;
     switch (a3c90x_internal_ReadEeprom(INF_3C90X.IOAddr, 0x03))