mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 09:03:25 +00:00
- Assign a proper InterfaceType to the resource descriptor. Fixes assert when using VMWare video driver.
Approved by hpoussin. svn path=/trunk/; revision=25125
This commit is contained in:
parent
37d0a75dc4
commit
1a86140ef5
1 changed files with 1 additions and 1 deletions
|
@ -705,7 +705,7 @@ PdoQueryResources(
|
||||||
|
|
||||||
RtlZeroMemory(ResourceList, ListSize);
|
RtlZeroMemory(ResourceList, ListSize);
|
||||||
ResourceList->Count = 1;
|
ResourceList->Count = 1;
|
||||||
ResourceList->List[0].InterfaceType = PCIConfiguration;
|
ResourceList->List[0].InterfaceType = PCIBus;
|
||||||
ResourceList->List[0].BusNumber = DeviceExtension->PciDevice->BusNumber;
|
ResourceList->List[0].BusNumber = DeviceExtension->PciDevice->BusNumber;
|
||||||
|
|
||||||
PartialList = &ResourceList->List[0].PartialResourceList;
|
PartialList = &ResourceList->List[0].PartialResourceList;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue