diff options
author | Ian Romanick <idr@us.ibm.com> | 2007-01-15 15:19:30 -0800 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2007-01-15 15:19:30 -0800 |
commit | 31bd8d150749c548eb70404395b4a52d46412f43 (patch) | |
tree | 7001ac1ec35a1a0b68b8b5ac614ac87f1590f5ff /hw/xfree86/os-support/bus/Pci.c | |
parent | 079a6a55a516778871a8b2f8e9c8dd9162105a76 (diff) |
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.
Diffstat (limited to 'hw/xfree86/os-support/bus/Pci.c')
-rw-r--r-- | hw/xfree86/os-support/bus/Pci.c | 7 |
1 files changed, 0 insertions, 7 deletions
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) |