[ISAPNP] Fix capabilities for devices

This commit is contained in:
Hervé Poussineau 2020-03-21 14:59:02 +01:00
parent 42724f47f8
commit 1dcc6f8b94

View file

@ -65,12 +65,13 @@ IsaPdoQueryCapabilities(
else else
{ {
DeviceCapabilities->UniqueID = TRUE; DeviceCapabilities->UniqueID = TRUE;
DeviceCapabilities->SilentInstall = TRUE;
DeviceCapabilities->RawDeviceOK = TRUE; DeviceCapabilities->RawDeviceOK = TRUE;
DeviceCapabilities->SilentInstall = TRUE;
}
for (i = 0; i < POWER_SYSTEM_MAXIMUM; i++) for (i = 0; i < POWER_SYSTEM_MAXIMUM; i++)
DeviceCapabilities->DeviceState[i] = PowerDeviceD3; DeviceCapabilities->DeviceState[i] = PowerDeviceD3;
DeviceCapabilities->DeviceState[PowerSystemWorking] = PowerDeviceD0; DeviceCapabilities->DeviceState[PowerSystemWorking] = PowerDeviceD0;
}
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }