From: John Hodge Date: Wed, 8 Aug 2012 03:23:00 +0000 (+0800) Subject: Kernel/PCI - Fixed using the wrong node type for PCI devices X-Git-Tag: rel0.15~706^2~56 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=03a1d7f5361cd95b435f5f5cb434a7d8e3e6aeb9;p=tpg%2Facess2.git Kernel/PCI - Fixed using the wrong node type for PCI devices --- diff --git a/KernelLand/Kernel/drv/pci.c b/KernelLand/Kernel/drv/pci.c index 98acb99a..f09389bc 100644 --- a/KernelLand/Kernel/drv/pci.c +++ b/KernelLand/Kernel/drv/pci.c @@ -173,8 +173,9 @@ int PCI_ScanBus(int BusID, int bFill) { #if LIST_DEVICES if( !bFill ) - Log_Log("PCI", "Device %i,%i:%i %06x => 0x%04x:0x%04x", - BusID, dev, fcn, devInfo.class, devInfo.vendor, devInfo.device); + Log_Log("PCI", "Device %i,%i:%i %06x => 0x%04x:0x%04x Rev %i", + BusID, dev, fcn, devInfo.class, + devInfo.vendor, devInfo.device, devInfo.revision); #endif } @@ -494,7 +495,7 @@ int PCI_int_EnumDevice(Uint16 bus, Uint16 slot, Uint16 fcn, tPCIDevice *info) info->Node.NumACLs = 1; info->Node.ACLs = &gVFS_ACL_EveryoneRO; - info->Node.Type = &gPCI_RootNodeType; + info->Node.Type = &gPCI_DevNodeType; return 1; }