Remove unused pciNumBuses

This commit is contained in:
Adam Jackson 2008-10-03 16:53:08 -04:00
parent 0ce61e21d6
commit 77d0b0ecfa
6 changed files with 0 additions and 10 deletions

View File

@ -838,9 +838,6 @@ _X_HIDDEN void *xfree86LookupTab[] = {
/* Globals from xf86Configure.c */
SYMVAR(ConfiguredMonitor)
/* Pci.c */
SYMVAR(pciNumBuses)
/* modes */
SYMVAR(xf86CrtcConfigPrivateIndex)
SYMFUNC(xf86CrtcConfigInit)

View File

@ -139,7 +139,6 @@
/* Global data */
pciBusInfo_t *pciBusInfo = NULL;
_X_EXPORT int pciNumBuses = 0; /* Actual number of PCI buses */
_X_EXPORT ADDRESS
pciBusAddrToHostAddr(PCITAG tag, PciAddrType type, ADDRESS addr)

View File

@ -79,7 +79,6 @@ xf86MapLegacyIO(struct pci_device *dev)
void
bsdPciInit(void)
{
pciNumBuses = 1;
pciBusInfo = &bsd_pci;
xf86InitVidMem();

View File

@ -474,13 +474,11 @@ void
ix86PciInit()
{
/* Initialize pciBusInfo */
pciNumBuses = 1;
pciBusInfo = &ix86Pci0;
/* Make sure that there is a PCI bus present. */
ix86PciSelectCfgmech();
if (ix86Pci0.configMech == PCI_CFG_MECH_UNKNOWN) {
pciNumBuses = 0;
pciBusInfo = NULL;
}
}

View File

@ -114,7 +114,6 @@ linuxPciInit(void)
we'll need a fallback for 2.0 kernels here */
return;
}
pciNumBuses = 1;
pciBusInfo = &linuxPci0;
}

View File

@ -255,8 +255,6 @@ ADDRESS pciBusAddrToHostAddr(PCITAG tag, PciAddrType type, ADDRESS addr);
PCITAG pciTag(int busnum, int devnum, int funcnum);
Bool xf86scanpci(void);
extern int pciNumBuses;
/* Domain access functions. Some of these probably shouldn't be public */
pointer xf86MapDomainMemory(int ScreenNum, int Flags, struct pci_device *dev,
ADDRESS Base, unsigned long Size);