mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
- Don't enumerate the ACPI root device
svn path=/trunk/; revision=46171
This commit is contained in:
@@ -37,6 +37,10 @@ Bus_PlugInDevice (
|
||||
|
||||
PAGED_CODE ();
|
||||
|
||||
//Don't enumerate the root device
|
||||
if (Device->handle == ACPI_ROOT_OBJECT)
|
||||
return STATUS_SUCCESS;
|
||||
|
||||
/* Check we didnt add this already */
|
||||
for (entry = FdoData->ListOfPDOs.Flink;
|
||||
entry != &FdoData->ListOfPDOs; entry = entry->Flink)
|
||||
|
||||
@@ -548,8 +548,6 @@ Bus_PDO_QueryDeviceText(
|
||||
Buffer = L"ACPI Power Resource";
|
||||
else if (wcsstr(DeviceData->HardwareIDs, L"Processor") != 0)
|
||||
Buffer = L"Processor";
|
||||
else if (wcsstr(DeviceData->HardwareIDs, L"ACPI_SYS") != 0)
|
||||
Buffer = L"ACPI System";
|
||||
else if (wcsstr(DeviceData->HardwareIDs, L"ThermalZone") != 0)
|
||||
Buffer = L"ACPI Thermal Zone";
|
||||
else if (wcsstr(DeviceData->HardwareIDs, L"ACPI0002") != 0)
|
||||
|
||||
Reference in New Issue
Block a user