linux/drivers/acpi/events
Zhang Rui ed206fac87 ACPI: bugfix reporting of event handler status
Introduce a new flag showing whether the event has an event handler/method.

For all the GPEs and Fixed Events,
 1. ACPI_EVENT_FLAG_HANDLE is cleared, it's an "invalid" ACPI event.
 2. Both ACPI_EVENT_FLAG_HANDLE and ACPI_EVENT_FLAG_DISABLE are set,
    it's "disabled".
 3. Both ACPI_EVENT_FLAG_HANDLE and ACPI_EVENT_FLAG_ENABLE are set,
    it's "enabled".
 4. Both ACPI_EVENT_FLAG_HANDLE and ACPI_EVENT_FLAG_WAKE_ENABLE are set,
    it's "wake_enabled".

Among other things, this prevents incorrect reporting of ACPI events
as being "invalid" when it's really just (temporarily) "disabled".

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-10-28 01:53:19 -04:00
..
evevent.c ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
evgpe.c ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
evgpeblk.c ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
evmisc.c ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
evregion.c ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
evrgnini.c ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
evsci.c ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
evxface.c ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
evxfevnt.c ACPI: bugfix reporting of event handler status 2008-10-28 01:53:19 -04:00
evxfregn.c ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00