diff --git a/hw/xfree86/int10/generic.c b/hw/xfree86/int10/generic.c index aca0cccf4..fa49ad370 100644 --- a/hw/xfree86/int10/generic.c +++ b/hw/xfree86/int10/generic.c @@ -168,7 +168,7 @@ xf86ExtendedInitInt10(int entityIndex, int Flags) int err; struct pci_device *rom_device = (bios.bus == BUS_PCI) ? pci_device_find_by_slot(PCI_DOM_FROM_BUS(bios.location.pci.bus), - PCI_BUS_NO_DOM(bios.location.pci.bus), + PCI_BUS_NO_DOMAIN(bios.location.pci.bus), bios.location.pci.dev, bios.location.pci.func) : xf86GetPciInfoForEntity(pInt->entityIndex); @@ -269,7 +269,7 @@ xf86ExtendedInitInt10(int entityIndex, int Flags) int err; struct pci_device *rom_device = (bios.bus == BUS_PCI) ? pci_device_find_by_slot(PCI_DOM_FROM_BUS(bios.location.pci.bus), - PCI_BUS_NO_DOM(bios.location.pci.bus), + PCI_BUS_NO_DOMAIN(bios.location.pci.bus), bios.location.pci.dev, bios.location.pci.func) : xf86GetPciInfoForEntity(pInt->entityIndex); diff --git a/hw/xfree86/os-support/linux/int10/linux.c b/hw/xfree86/os-support/linux/int10/linux.c index d34bf6dce..b83be1f8e 100644 --- a/hw/xfree86/os-support/linux/int10/linux.c +++ b/hw/xfree86/os-support/linux/int10/linux.c @@ -282,7 +282,7 @@ xf86ExtendedInitInt10(int entityIndex, int Flags) int err; struct pci_device *rom_device = (bios.bus == BUS_PCI) ? pci_device_find_by_slot(PCI_DOM_FROM_BUS(bios.location.pci.bus), - PCI_BUS_NO_DOM(bios.location.pci.bus), + PCI_BUS_NO_DOMAIN(bios.location.pci.bus), bios.location.pci.dev, bios.location.pci.func) : xf86GetPciInfoForEntity(pInt->entityIndex);