From 525257eb98b46209c69c8576daa6bd7afc1f48a9 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 21 Jul 2006 19:16:38 -0700 Subject: [PATCH] Fix stupid typos. --- hw/xfree86/int10/generic.c | 4 ++-- hw/xfree86/os-support/linux/int10/linux.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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);