- Assign a proper InterfaceType to the resource descriptor. Fixes assert when using...
authorAleksey Bragin <aleksey@reactos.org>
Mon, 11 Dec 2006 17:31:04 +0000 (17:31 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Mon, 11 Dec 2006 17:31:04 +0000 (17:31 +0000)
Approved by hpoussin.

svn path=/trunk/; revision=25125

reactos/drivers/bus/pci/pdo.c

index e38e85e..1f04bb8 100644 (file)
@@ -705,7 +705,7 @@ PdoQueryResources(
 
   RtlZeroMemory(ResourceList, ListSize);
   ResourceList->Count = 1;
-  ResourceList->List[0].InterfaceType = PCIConfiguration;
+  ResourceList->List[0].InterfaceType = PCIBus;
   ResourceList->List[0].BusNumber = DeviceExtension->PciDevice->BusNumber;
 
   PartialList = &ResourceList->List[0].PartialResourceList;