Author: fireball Date: Mon Dec 11 20:31:04 2006 New Revision: 25125
URL: http://svn.reactos.org/svn/reactos?rev=25125&view=rev Log: - Assign a proper InterfaceType to the resource descriptor. Fixes assert when using VMWare video driver.
Approved by hpoussin.
Modified: trunk/reactos/drivers/bus/pci/pdo.c
Modified: trunk/reactos/drivers/bus/pci/pdo.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/pci/pdo.c?rev=2... ============================================================================== --- trunk/reactos/drivers/bus/pci/pdo.c (original) +++ trunk/reactos/drivers/bus/pci/pdo.c Mon Dec 11 20:31:04 2006 @@ -705,7 +705,7 @@
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;