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:
Ozkan Sezer
2021-08-08 23:55:50 +03:00
parent a6ceeebd00
commit 170185784e

View File

@@ -497,7 +497,8 @@ pciOpen( void )
}
}
#if 0
if ( !busDetected ) {
/* Try Configuration Mechanism 2 (only 16 devices) */
/* Since Configuration Mech#2 is obsolete this does not
@@ -509,7 +510,8 @@ pciOpen( void )
sampleVendorID(deviceNumber,2);
}
}
#endif
if ( busDetected ) {
pciLibraryInitialized = FXTRUE;
} else {