diff options
author | Zhang Rui <rui.zhang@intel.com> | 2008-04-10 11:06:44 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-22 23:01:36 -0400 |
commit | 514d18d79b1da052ed4553ceec1f7e1197a5bb51 (patch) | |
tree | b474e49f1614e73a2b7ad671b56c89c5e875d89a /include/acpi | |
parent | 66d3ca9ea28e1b3d591083772fd797b9b46410b8 (diff) |
ACPICA: Update for new Notify values
Implemented several changes for Notify handling: Added support
for new Notify values (ACPI 2.0+) and improved the Notify debug
output. Notify on PowerResource objects is no longer allowed,
as per the ACPI specification.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/actypes.h | 24 | ||||
-rw-r--r-- | include/acpi/acutils.h | 2 |
2 files changed, 17 insertions, 9 deletions
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index 75ec153338e7..cc24cef6ce93 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h | |||
@@ -402,14 +402,20 @@ typedef unsigned long long acpi_integer; | |||
402 | /* | 402 | /* |
403 | * Standard notify values | 403 | * Standard notify values |
404 | */ | 404 | */ |
405 | #define ACPI_NOTIFY_BUS_CHECK (u8) 0 | 405 | #define ACPI_NOTIFY_BUS_CHECK (u8) 0x00 |
406 | #define ACPI_NOTIFY_DEVICE_CHECK (u8) 1 | 406 | #define ACPI_NOTIFY_DEVICE_CHECK (u8) 0x01 |
407 | #define ACPI_NOTIFY_DEVICE_WAKE (u8) 2 | 407 | #define ACPI_NOTIFY_DEVICE_WAKE (u8) 0x02 |
408 | #define ACPI_NOTIFY_EJECT_REQUEST (u8) 3 | 408 | #define ACPI_NOTIFY_EJECT_REQUEST (u8) 0x03 |
409 | #define ACPI_NOTIFY_DEVICE_CHECK_LIGHT (u8) 4 | 409 | #define ACPI_NOTIFY_DEVICE_CHECK_LIGHT (u8) 0x04 |
410 | #define ACPI_NOTIFY_FREQUENCY_MISMATCH (u8) 5 | 410 | #define ACPI_NOTIFY_FREQUENCY_MISMATCH (u8) 0x05 |
411 | #define ACPI_NOTIFY_BUS_MODE_MISMATCH (u8) 6 | 411 | #define ACPI_NOTIFY_BUS_MODE_MISMATCH (u8) 0x06 |
412 | #define ACPI_NOTIFY_POWER_FAULT (u8) 7 | 412 | #define ACPI_NOTIFY_POWER_FAULT (u8) 0x07 |
413 | #define ACPI_NOTIFY_CAPABILITIES_CHECK (u8) 0x08 | ||
414 | #define ACPI_NOTIFY_DEVICE_PLD_CHECK (u8) 0x09 | ||
415 | #define ACPI_NOTIFY_RESERVED (u8) 0x0A | ||
416 | #define ACPI_NOTIFY_LOCALITY_UPDATE (u8) 0x0B | ||
417 | |||
418 | #define ACPI_NOTIFY_MAX 0x0B | ||
413 | 419 | ||
414 | /* | 420 | /* |
415 | * Types associated with ACPI names and objects. The first group of | 421 | * Types associated with ACPI names and objects. The first group of |
@@ -584,7 +590,7 @@ typedef u32 acpi_event_status; | |||
584 | 590 | ||
585 | #define ACPI_SYSTEM_NOTIFY 0x1 | 591 | #define ACPI_SYSTEM_NOTIFY 0x1 |
586 | #define ACPI_DEVICE_NOTIFY 0x2 | 592 | #define ACPI_DEVICE_NOTIFY 0x2 |
587 | #define ACPI_ALL_NOTIFY 0x3 | 593 | #define ACPI_ALL_NOTIFY (ACPI_SYSTEM_NOTIFY | ACPI_DEVICE_NOTIFY) |
588 | #define ACPI_MAX_NOTIFY_HANDLER_TYPE 0x3 | 594 | #define ACPI_MAX_NOTIFY_HANDLER_TYPE 0x3 |
589 | 595 | ||
590 | #define ACPI_MAX_SYS_NOTIFY 0x7f | 596 | #define ACPI_MAX_SYS_NOTIFY 0x7f |
diff --git a/include/acpi/acutils.h b/include/acpi/acutils.h index a2918547c73f..26115da8c099 100644 --- a/include/acpi/acutils.h +++ b/include/acpi/acutils.h | |||
@@ -116,6 +116,8 @@ void acpi_ut_init_globals(void); | |||
116 | 116 | ||
117 | char *acpi_ut_get_mutex_name(u32 mutex_id); | 117 | char *acpi_ut_get_mutex_name(u32 mutex_id); |
118 | 118 | ||
119 | const char *acpi_ut_get_notify_name(u32 notify_value); | ||
120 | |||
119 | #endif | 121 | #endif |
120 | 122 | ||
121 | char *acpi_ut_get_type_name(acpi_object_type type); | 123 | char *acpi_ut_get_type_name(acpi_object_type type); |