win-pvdrivers

diff xenpci/xenpci_pdo.c @ 912:1e795031439a

fix power state settings
author James Harper <james.harper@bendigoit.com.au>
date Sat Apr 30 00:23:04 2011 +1000 (2011-04-30)
parents e315b8490131
children ca7b237a61b1
line diff
     1.1 --- a/xenpci/xenpci_pdo.c	Fri Apr 29 23:56:20 2011 +1000
     1.2 +++ b/xenpci/xenpci_pdo.c	Sat Apr 30 00:23:04 2011 +1000
     1.3 @@ -1429,7 +1429,7 @@ XenPci_EvtChildListCreateDevice(WDFCHILD
     1.4    child_power_capabilities.DeviceD1 = WdfTrue;
     1.5    child_power_capabilities.WakeFromD1 = WdfTrue;
     1.6    child_power_capabilities.DeviceWake = PowerDeviceD1;
     1.7 -  child_power_capabilities.DeviceState[PowerSystemWorking]   = PowerDeviceD1;
     1.8 +  child_power_capabilities.DeviceState[PowerSystemWorking]   = PowerDeviceD0;
     1.9    child_power_capabilities.DeviceState[PowerSystemSleeping1] = PowerDeviceD1;
    1.10    child_power_capabilities.DeviceState[PowerSystemSleeping2] = PowerDeviceD2;
    1.11    child_power_capabilities.DeviceState[PowerSystemSleeping3] = PowerDeviceD2;