Fine, we don't need pciInit() anymore. Nuke, nuke, nuke...

This commit is contained in:
Tiago Vignatti 2008-02-25 18:14:08 -03:00
parent a9050d5424
commit c46f7b62d2

View File

@ -148,22 +148,6 @@ _X_EXPORT int pciNumBuses = 0; /* Actual number of PCI buses */
int pciMaxBusNum = MAX_PCI_BUSES;
/*
* pciInit - choose correct platform/OS specific PCI init routine
*/
static void
pciInit(void)
{
/* XXX */
#if defined(DEBUGPCI)
if (DEBUGPCI >= xf86Verbose) {
xf86Verbose = DEBUGPCI;
}
#endif
ARCH_PCI_INIT();
}
_X_EXPORT ADDRESS
pciBusAddrToHostAddr(PCITAG tag, PciAddrType type, ADDRESS addr)
{
@ -194,7 +178,16 @@ xf86scanpci(void)
Bool success = FALSE;
success = (pci_system_init() == 0);
pciInit();
/* XXX */
#if defined(DEBUGPCI)
if (DEBUGPCI >= xf86Verbose) {
xf86Verbose = DEBUGPCI;
}
#endif
/* choose correct platform/OS specific PCI init routine */
ARCH_PCI_INIT();
return success;
}