diff options
author | Bob Moore <robert.moore@intel.com> | 2009-03-12 21:10:46 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-03-27 12:11:03 -0400 |
commit | 20869dcfde204e1c21b642608d708d82472fee2b (patch) | |
tree | a3e6dca8ff835def8ba6a41606aa30cac5d9fa1c /drivers/acpi/acpica/aclocal.h | |
parent | 8636f8d257b3edf5a1529df93119cdc630ed85c7 (diff) |
ACPICA: Preserve all PM control reserved and ignored bits
As per the ACPI specification, preserve (read/modify/write) all
bits that are defined as either reserved or ignored (PM control
control registers only.)
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/aclocal.h')
-rw-r--r-- | drivers/acpi/acpica/aclocal.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/aclocal.h b/drivers/acpi/acpica/aclocal.h index 18a8d96eaa49..f01e155b2bcc 100644 --- a/drivers/acpi/acpica/aclocal.h +++ b/drivers/acpi/acpica/aclocal.h | |||
@@ -780,7 +780,15 @@ struct acpi_bit_register_info { | |||
780 | * must be preserved. | 780 | * must be preserved. |
781 | */ | 781 | */ |
782 | #define ACPI_PM1_STATUS_PRESERVED_BITS 0x0800 /* Bit 11 */ | 782 | #define ACPI_PM1_STATUS_PRESERVED_BITS 0x0800 /* Bit 11 */ |
783 | #define ACPI_PM1_CONTROL_PRESERVED_BITS 0x0200 /* Bit 9 (whatever) */ | 783 | |
784 | /* For control registers, both ignored and reserved bits must be preserved */ | ||
785 | |||
786 | #define ACPI_PM1_CONTROL_IGNORED_BITS 0x0201 /* Bits 9, 0(SCI_EN) */ | ||
787 | #define ACPI_PM1_CONTROL_RESERVED_BITS 0xC1F8 /* Bits 14-15, 3-8 */ | ||
788 | #define ACPI_PM1_CONTROL_PRESERVED_BITS \ | ||
789 | (ACPI_PM1_CONTROL_IGNORED_BITS | ACPI_PM1_CONTROL_RESERVED_BITS) | ||
790 | |||
791 | #define ACPI_PM2_CONTROL_PRESERVED_BITS 0xFFFFFFFE /* All except bit 0 */ | ||
784 | 792 | ||
785 | /* | 793 | /* |
786 | * Register IDs | 794 | * Register IDs |