summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2011-04-13 13:22:04 +0800
committerLen Brown <len.brown@intel.com>2011-05-09 22:16:12 -0400
commite2066ca1b211ff08325c98be9fb8ad95affbaba8 (patch)
tree9e56ece55f633e9330579ec0f3ddf6e1b1995de6 /include/acpi
parent07aa99e9df2184e78068f7d5414e29e4a5a1b452 (diff)
downloadop-kernel-dev-e2066ca1b211ff08325c98be9fb8ad95affbaba8.zip
op-kernel-dev-e2066ca1b211ff08325c98be9fb8ad95affbaba8.tar.gz
ACPICA: Execute an orphan _REG method under the EC device
This change will force the execution of a _REG method underneath the EC device even if there is no corresponding operation region of type EmbeddedControl. Fixes a problem seen on some machines and apparently is compatible with Windows behavior. http://www.acpica.org/bugzilla/show_bug.cgi?id=875 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 'include/acpi')
-rw-r--r--include/acpi/actypes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h
index f3b29fa..a6412b8 100644
--- a/include/acpi/actypes.h
+++ b/include/acpi/actypes.h
@@ -726,6 +726,11 @@ typedef u8 acpi_adr_space_type;
#define ACPI_ADR_SPACE_DATA_TABLE (acpi_adr_space_type) 0x7E /* Internal to ACPICA only */
#define ACPI_ADR_SPACE_FIXED_HARDWARE (acpi_adr_space_type) 0x7F
+/* Values for _REG connection code */
+
+#define ACPI_REG_DISCONNECT 0
+#define ACPI_REG_CONNECT 1
+
/*
* bit_register IDs
*
OpenPOWER on IntegriCloud