From 31bd8d150749c548eb70404395b4a52d46412f43 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 15 Jan 2007 15:19:30 -0800 Subject: Fix domain insanity. Eliminate xf86GetPciDomain. The domain from libpciaccess is the domain. Period. This means that 0 is a valid domain. Make sure that INCLUDE_XF86_NO_DOMAIN is *not* set. Always run in "domain mode," even if the only domain possible is 0. --- hw/xfree86/os-support/bus/Pci.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'hw/xfree86/os-support/bus/Pci.c') diff --git a/hw/xfree86/os-support/bus/Pci.c b/hw/xfree86/os-support/bus/Pci.c index 1c5404bba..8929ef2a4 100644 --- a/hw/xfree86/os-support/bus/Pci.c +++ b/hw/xfree86/os-support/bus/Pci.c @@ -20,7 +20,6 @@ * function * pciBusAddrToHostAddr() - Convert a PCI address to a host address * xf86scanpci() - Return info about all PCI devices - * xf86GetPciDomain() - Return domain number from a PCITAG * xf86MapDomainMemory() - Like xf86MapPciMem() but can handle * domain/host address translation * xf86MapLegacyIO() - Maps PCI I/O spaces @@ -297,12 +296,6 @@ xf86scanpci(void) #ifdef INCLUDE_XF86_NO_DOMAIN -_X_EXPORT int -xf86GetPciDomain(PCITAG Tag) -{ - return 0; -} - _X_EXPORT pointer xf86MapDomainMemory(int ScreenNum, int Flags, struct pci_device *dev, ADDRESS Base, unsigned long Size) -- cgit v1.2.3