Fiddling with usermode PCI dump
[tpg/acess2.git] / Kernel / drv / pci.c
index 1812a54..e09d61d 100644 (file)
@@ -177,7 +177,7 @@ int PCI_ScanBus(int BusID)
                        // Maybe bit 23 must be set for the device to be valid?\r
                        // - Actually, maybe 23 means that there are sub-functions\r
                        if(fcn == 0) {\r
-                               if( !(devInfo.ConfigCache[3] & 0x800000) )\r
+                               if( !(devInfo.ConfigCache[3] & 0x00800000) )\r
                                        break;\r
                        }\r
                }\r

UCC git Repository :: git.ucc.asn.au