mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 16:47:14 +00:00
[VIDEOPRT]
- Don't try to incorrectly and unnecessarily parse multiple resource descriptors CORE-10146 svn path=/trunk/; revision=69573
This commit is contained in:
parent
6be0925245
commit
e0f1e0177b
2 changed files with 77 additions and 83 deletions
|
@ -588,10 +588,8 @@ IntVideoPortPnPStartDevice(
|
|||
ResourceListSize);
|
||||
|
||||
/* Get the interrupt level/vector - needed by HwFindAdapter sometimes */
|
||||
for (FullList = AllocatedResources->List;
|
||||
FullList < AllocatedResources->List + AllocatedResources->Count;
|
||||
FullList++)
|
||||
{
|
||||
FullList = AllocatedResources->List;
|
||||
ASSERT(AllocatedResources->Count == 1);
|
||||
INFO_(VIDEOPRT, "InterfaceType %u BusNumber List %u Device BusNumber %u Version %u Revision %u\n",
|
||||
FullList->InterfaceType, FullList->BusNumber, DeviceExtension->SystemIoBusNumber, FullList->PartialResourceList.Version, FullList->PartialResourceList.Revision);
|
||||
|
||||
|
@ -615,7 +613,6 @@ IntVideoPortPnPStartDevice(
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
INFO_(VIDEOPRT, "Interrupt level: 0x%x Interrupt Vector: 0x%x\n",
|
||||
DeviceExtension->InterruptLevel,
|
||||
|
|
|
@ -744,10 +744,8 @@ VideoPortGetAccessRanges(
|
|||
/* Return the slot number if the caller wants it */
|
||||
if (Slot != NULL) *Slot = DeviceExtension->SystemIoBusNumber;
|
||||
|
||||
for (FullList = AllocatedResources->List;
|
||||
FullList < AllocatedResources->List + AllocatedResources->Count;
|
||||
FullList++)
|
||||
{
|
||||
FullList = AllocatedResources->List;
|
||||
ASSERT(AllocatedResources->Count == 1);
|
||||
INFO_(VIDEOPRT, "InterfaceType %u BusNumber List %u Device BusNumber %u Version %u Revision %u\n",
|
||||
FullList->InterfaceType, FullList->BusNumber, DeviceExtension->SystemIoBusNumber, FullList->PartialResourceList.Version, FullList->PartialResourceList.Revision);
|
||||
|
||||
|
@ -806,7 +804,6 @@ VideoPortGetAccessRanges(
|
|||
DeviceExtension->InterruptShared = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return NO_ERROR;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue