These changes are the raw update to qemu-2.6.
[kvmfornfv.git] / qemu / roms / ipxe / src / drivers / net / dmfe.c
index aae40fc..2ea0d2b 100644 (file)
@@ -462,7 +462,7 @@ static int dmfe_probe ( struct nic *nic, struct pci_device *pci ) {
               pci->id->name, pci->vendor, pci->device);
 
        /* Read Chip revision */
-       pci_read_config_dword(pci, PCI_REVISION_ID, &dev_rev);
+       pci_read_config_dword(pci, PCI_REVISION, &dev_rev);
        dprintf(("Revision %lX\n", dev_rev));
 
        /* point to private storage */