mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[ISAPNP] Fix capabilities for devices
This commit is contained in:
parent
42724f47f8
commit
1dcc6f8b94
1 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue