mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 15:34:13 +00:00
[TXTSETUP]
- Add *PNP0A08 [ACPI] - Handle the PNP0A08 in a couple of missed cases - Finally, PCI should work on systems that use the new PNP0A08 ID for identifying a PCI Express root bus svn path=/trunk/; revision=56242
This commit is contained in:
parent
573aa31c4b
commit
dc59b8dfc5
|
@ -62,6 +62,7 @@ ntdll.dll=,,,,,,,,,,,,2
|
|||
[HardwareIdsDatabase]
|
||||
;*PNP0A00 = isapnp
|
||||
*PNP0A03 = pci
|
||||
*PNP0A08 = pci
|
||||
*PNP0C08 = acpi
|
||||
;PCI\CC_0601 = isapnp
|
||||
PCI\CC_0604 = pci
|
||||
|
|
|
@ -594,7 +594,8 @@ Bus_PDO_QueryDeviceText(
|
|||
Temp = L"ACPI Embedded Controller";
|
||||
else if (wcsstr(DeviceData->HardwareIDs, L"PNP0C0B") != 0)
|
||||
Temp = L"ACPI Fan";
|
||||
else if (wcsstr(DeviceData->HardwareIDs, L"PNP0A03") != 0)
|
||||
else if (wcsstr(DeviceData->HardwareIDs, L"PNP0A03") != 0 ||
|
||||
wcsstr(DeviceData->HardwareIDs, L"PNP0A08") != 0 )
|
||||
Temp = L"PCI Root Bridge";
|
||||
else if (wcsstr(DeviceData->HardwareIDs, L"PNP0C0A") != 0)
|
||||
Temp = L"ACPI Battery";
|
||||
|
@ -666,7 +667,8 @@ Bus_PDO_QueryResources(
|
|||
/* A bus number resource is not included in the list of current resources
|
||||
* for the root PCI bus so we manually query one here and if we find it
|
||||
* we create a resource list and add a bus number descriptor to it */
|
||||
if (wcsstr(DeviceData->HardwareIDs, L"PNP0A03") != 0)
|
||||
if (wcsstr(DeviceData->HardwareIDs, L"PNP0A03") != 0 ||
|
||||
wcsstr(DeviceData->HardwareIDs, L"PNP0A08") != 0)
|
||||
{
|
||||
acpi_bus_get_device(DeviceData->AcpiHandle, &device);
|
||||
|
||||
|
@ -1169,7 +1171,8 @@ Bus_PDO_QueryResourceRequirements(
|
|||
}
|
||||
|
||||
/* Handle the PCI root manually */
|
||||
if (wcsstr(DeviceData->HardwareIDs, L"PNP0A03") != 0)
|
||||
if (wcsstr(DeviceData->HardwareIDs, L"PNP0A03") != 0 ||
|
||||
wcsstr(DeviceData->HardwareIDs, L"PNP0A08") != 0)
|
||||
{
|
||||
return Irp->IoStatus.Status;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue