fxpci.c (pciOpen): commented out assert(0) for !busDetected case :
let the procedure return false with pciErrorCode == PCI_ERR_NO_BUS
This commit is contained in:
@@ -498,6 +498,7 @@ pciOpen( void )
|
||||
|
||||
}
|
||||
|
||||
#if 0
|
||||
if ( !busDetected ) {
|
||||
/* Try Configuration Mechanism 2 (only 16 devices) */
|
||||
/* Since Configuration Mech#2 is obsolete this does not
|
||||
@@ -509,6 +510,7 @@ pciOpen( void )
|
||||
sampleVendorID(deviceNumber,2);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if ( busDetected ) {
|
||||
pciLibraryInitialized = FXTRUE;
|
||||
|
||||
Reference in New Issue
Block a user