Remove (unused) pciMaxBusNum.
This commit is contained in:
parent
3c03d9f1ef
commit
539717fe1f
|
@ -136,17 +136,10 @@
|
||||||
|
|
||||||
#include <pciaccess.h>
|
#include <pciaccess.h>
|
||||||
|
|
||||||
#define PCI_MFDEV_SUPPORT 1 /* Include PCI multifunction device support */
|
/* Global data */
|
||||||
#define PCI_BRIDGE_SUPPORT 1 /* Include support for PCI-to-PCI bridges */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Global data
|
|
||||||
*/
|
|
||||||
|
|
||||||
pciBusInfo_t *pciBusInfo[MAX_PCI_BUSES] = { NULL, };
|
pciBusInfo_t *pciBusInfo[MAX_PCI_BUSES] = { NULL, };
|
||||||
_X_EXPORT int pciNumBuses = 0; /* Actual number of PCI buses */
|
_X_EXPORT int pciNumBuses = 0; /* Actual number of PCI buses */
|
||||||
int pciMaxBusNum = MAX_PCI_BUSES;
|
|
||||||
|
|
||||||
|
|
||||||
_X_EXPORT ADDRESS
|
_X_EXPORT ADDRESS
|
||||||
pciBusAddrToHostAddr(PCITAG tag, PciAddrType type, ADDRESS addr)
|
pciBusAddrToHostAddr(PCITAG tag, PciAddrType type, ADDRESS addr)
|
||||||
|
|
|
@ -245,8 +245,6 @@ void pciCfgMech1SetBits(PCITAG tag, int offset, CARD32 mask,
|
||||||
CARD32 val);
|
CARD32 val);
|
||||||
ADDRESS pciAddrNOOP(PCITAG tag, PciAddrType type, ADDRESS);
|
ADDRESS pciAddrNOOP(PCITAG tag, PciAddrType type, ADDRESS);
|
||||||
|
|
||||||
extern int pciMaxBusNum;
|
|
||||||
|
|
||||||
extern pciBusInfo_t *pciBusInfo[];
|
extern pciBusInfo_t *pciBusInfo[];
|
||||||
|
|
||||||
#endif /* _PCI_H */
|
#endif /* _PCI_H */
|
||||||
|
|
Loading…
Reference in New Issue