From: John Hodge Date: Thu, 15 Jul 2010 16:42:43 +0000 (+0800) Subject: Fiddling with usermode PCI dump X-Git-Tag: rel0.06~102 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=deb8a310abcb8ef8b6afef74a1fa058777740b3f;p=tpg%2Facess2.git Fiddling with usermode PCI dump --- diff --git a/Kernel/drv/pci.c b/Kernel/drv/pci.c index 1812a54b..e09d61dc 100644 --- a/Kernel/drv/pci.c +++ b/Kernel/drv/pci.c @@ -177,7 +177,7 @@ int PCI_ScanBus(int BusID) // Maybe bit 23 must be set for the device to be valid? // - Actually, maybe 23 means that there are sub-functions if(fcn == 0) { - if( !(devInfo.ConfigCache[3] & 0x800000) ) + if( !(devInfo.ConfigCache[3] & 0x00800000) ) break; } } diff --git a/Modules/Filesystems/InitRD/files.lst b/Modules/Filesystems/InitRD/files.lst index 6c917911..7ac60834 100644 --- a/Modules/Filesystems/InitRD/files.lst +++ b/Modules/Filesystems/InitRD/files.lst @@ -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"