Remove unused pciNumBuses
This commit is contained in:
parent
0ce61e21d6
commit
77d0b0ecfa
|
@ -838,9 +838,6 @@ _X_HIDDEN void *xfree86LookupTab[] = {
|
|||
/* Globals from xf86Configure.c */
|
||||
SYMVAR(ConfiguredMonitor)
|
||||
|
||||
/* Pci.c */
|
||||
SYMVAR(pciNumBuses)
|
||||
|
||||
/* modes */
|
||||
SYMVAR(xf86CrtcConfigPrivateIndex)
|
||||
SYMFUNC(xf86CrtcConfigInit)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -79,7 +79,6 @@ xf86MapLegacyIO(struct pci_device *dev)
|
|||
void
|
||||
bsdPciInit(void)
|
||||
{
|
||||
pciNumBuses = 1;
|
||||
pciBusInfo = &bsd_pci;
|
||||
|
||||
xf86InitVidMem();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -114,7 +114,6 @@ linuxPciInit(void)
|
|||
we'll need a fallback for 2.0 kernels here */
|
||||
return;
|
||||
}
|
||||
pciNumBuses = 1;
|
||||
pciBusInfo = &linuxPci0;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user