These changes are the raw update to qemu-2.6.
[kvmfornfv.git] / qemu / roms / ipxe / src / drivers / net / vxge / vxge_main.c
index 130eab6..8b099c0 100644 (file)
@@ -509,7 +509,7 @@ vxge_probe(struct pci_device *pdev)
        vxge_debug(VXGE_INFO, "vxge_probe for device " PCI_FMT "\n",
                        PCI_ARGS(pdev));
 
-       pci_read_config_byte(pdev, PCI_REVISION_ID, &revision);
+       pci_read_config_byte(pdev, PCI_REVISION, &revision);
        titan1 = is_titan1(pdev->device, revision);
 
        mmio_start = pci_bar_start(pdev, PCI_BASE_ADDRESS_0);