Remove (unused) pciMaxBusNum.

This commit is contained in:
Adam Jackson 2008-08-18 14:50:33 -04:00
parent 3c03d9f1ef
commit 539717fe1f
2 changed files with 1 additions and 10 deletions

View File

@ -136,17 +136,10 @@
#include <pciaccess.h>
#define PCI_MFDEV_SUPPORT 1 /* Include PCI multifunction device support */
#define PCI_BRIDGE_SUPPORT 1 /* Include support for PCI-to-PCI bridges */
/*
* Global data
*/
/* Global data */
pciBusInfo_t *pciBusInfo[MAX_PCI_BUSES] = { NULL, };
_X_EXPORT int pciNumBuses = 0; /* Actual number of PCI buses */
int pciMaxBusNum = MAX_PCI_BUSES;
_X_EXPORT ADDRESS
pciBusAddrToHostAddr(PCITAG tag, PciAddrType type, ADDRESS addr)

View File

@ -245,8 +245,6 @@ void pciCfgMech1SetBits(PCITAG tag, int offset, CARD32 mask,
CARD32 val);
ADDRESS pciAddrNOOP(PCITAG tag, PciAddrType type, ADDRESS);
extern int pciMaxBusNum;
extern pciBusInfo_t *pciBusInfo[];
#endif /* _PCI_H */