Fiddling with usermode PCI dump
authorJohn Hodge <[email protected]>
Thu, 15 Jul 2010 16:42:43 +0000 (00:42 +0800)
committerJohn Hodge <[email protected]>
Thu, 15 Jul 2010 16:42:43 +0000 (00:42 +0800)
Kernel/drv/pci.c
Modules/Filesystems/InitRD/files.lst

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
index 6c91791..7ac6083 100644 (file)
@@ -7,6 +7,7 @@ Dir "Bin" {
        File "ls" "../../../Usermode/Applications/ls"
        File "cat" "../../../Usermode/Applications/cat"
        File "mount" "../../../Usermode/Applications/mount"
+       File "pcidump" "../../../Usermode/Applications/pcidump"
 }
 Dir "Libs" {
        File "ld-acess.so" "../../../Usermode/Libraries/ld-acess.so"

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