From 1a493509e30412a0f6c6f8f8e47a446678dbbc1a Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 12 Jan 2007 10:58:59 -0800 Subject: [PATCH] Fix typos in conditionally compiled code. --- hw/xfree86/os-support/bus/linuxPci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/os-support/bus/linuxPci.c b/hw/xfree86/os-support/bus/linuxPci.c index 5fabf0edc..9851651e1 100644 --- a/hw/xfree86/os-support/bus/linuxPci.c +++ b/hw/xfree86/os-support/bus/linuxPci.c @@ -538,7 +538,7 @@ xf86MapLegacyIO(struct pci_device *dev) const PCITAG tag = PCI_MAKE_TAG(PCI_MAKE_BUS(dev->domain, dev->bus), dev->dev, dev->func); const int domain = xf86GetPciDomain(tag); - const struct pci_device *bridge = xf86GetPciHostConfigFromTag(Tag); + const struct pci_device *bridge = xf86GetPciHostConfigFromTag(tag); int fd; if ((domain <= 0) || (domain >= MAX_DOMAINS)) @@ -550,7 +550,7 @@ xf86MapLegacyIO(struct pci_device *dev) /* Permanently map all of I/O space */ if ((fd = linuxOpenLegacy(bridge, "legacy_io")) < 0) { DomainMmappedIO[domain] = linuxMapPci(-1, VIDMEM_MMIO, bridge, - 0, linuxGetIOSize(tag), + 0, linuxGetIOSize(bridge), PCIIOC_MMAP_IS_IO); /* ia64 can't mmap legacy IO port space */ if (!DomainMmappedIO[domain])