diff options
author | Lin Ming <ming.m.lin@intel.com> | 2011-05-04 22:56:43 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-05-29 02:21:08 -0400 |
commit | 28c2103dad04dba29ba86e22dad5735db8f0e13c (patch) | |
tree | 7bdd422ae53e4f48bdaa48e1d83e6c25a1ee56e4 /include/acpi | |
parent | 61c4f2c81c61f73549928dfd9f3e8f26aa36a8cf (diff) | |
download | linux-stable-28c2103dad04dba29ba86e22dad5735db8f0e13c.tar.gz linux-stable-28c2103dad04dba29ba86e22dad5735db8f0e13c.tar.bz2 linux-stable-28c2103dad04dba29ba86e22dad5735db8f0e13c.zip |
ACPI: Add D3 cold state
_SxW returns an Integer containing the lowest D-state supported in state
Sx. If OSPM has not indicated that it supports _PR3, then the value “3”
corresponds to D3. If it has indicated _PR3 support, the value “3”
represents D3hot and the value “4” represents D3cold.
Linux does set _OSC._PR3, so we should fix it to expect that _SxW can
return 4.
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/actypes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index 64f838beaabf..f72cbe574296 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h @@ -501,8 +501,9 @@ typedef u64 acpi_integer; #define ACPI_STATE_D1 (u8) 1 #define ACPI_STATE_D2 (u8) 2 #define ACPI_STATE_D3 (u8) 3 -#define ACPI_D_STATES_MAX ACPI_STATE_D3 -#define ACPI_D_STATE_COUNT 4 +#define ACPI_STATE_D3_COLD (u8) 4 +#define ACPI_D_STATES_MAX ACPI_STATE_D3_COLD +#define ACPI_D_STATE_COUNT 5 #define ACPI_STATE_C0 (u8) 0 #define ACPI_STATE_C1 (u8) 1 |