alistair23-linux/include/acpi
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
..
platform Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
acconfig.h ACPICA: Update version to 20080926 2008-10-22 23:14:50 -04:00
acdebug.h ACPICA: New: Validation for predefined ACPI methods/objects 2008-10-22 23:14:49 -04:00
acdisasm.h ACPICA: x2APIC support: changes for MADT and SRAT ACPI tables 2008-10-22 23:14:40 -04:00
acdispat.h ACPICA: Cleanup for internal Reference Object 2008-10-22 23:14:45 -04:00
acevents.h
acexcep.h ACPICA: Remove obsolete exception codes 2008-10-22 23:14:43 -04:00
acglobal.h ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
achware.h ACPI: Enhance /sys/firmware/interrupts to allow enable/disable/clear from user-space 2008-07-16 23:27:04 +02:00
acinterp.h ACPICA: Cleanup debug operand dump mechanism 2008-07-16 23:27:04 +02:00
aclocal.h ACPICA: New: Validation for predefined ACPI methods/objects 2008-10-22 23:14:49 -04:00
acmacros.h Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
acnames.h
acnamesp.h ACPICA: New: Validation for predefined ACPI methods/objects 2008-10-22 23:14:49 -04:00
acobject.h ACPICA: Cleanup for internal Reference Object 2008-10-22 23:14:45 -04:00
acopcode.h
acoutput.h ACPICA: Remove obsolete debug levels (WARN and ERROR) 2008-10-22 23:14:42 -04:00
acparser.h
acpi.h
acpi_bus.h Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
acpi_drivers.h Merge branch 'ec' into test 2008-10-22 23:27:59 -04:00
acpi_numa.h
acpiosxf.h ACPI: fix hotplug race 2008-09-23 23:12:38 -04:00
acpixf.h ACPI: Enhance /sys/firmware/interrupts to allow enable/disable/clear from user-space 2008-07-16 23:27:04 +02:00
acpredef.h ACPICA: New: Validation for predefined ACPI methods/objects 2008-10-22 23:14:49 -04:00
acresrc.h
acstruct.h ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
actables.h ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
actbl.h PCI: disable ASPM per ACPI FADT setting 2008-07-28 14:56:09 -07:00
actbl1.h ACPICA: x2APIC support: changes for MADT and SRAT ACPI tables 2008-10-22 23:14:40 -04:00
actypes.h ACPI: bugfix reporting of event handler status 2008-10-28 01:53:19 -04:00
acutils.h ACPICA: Add function to decode reference obj types to strings 2008-10-22 23:14:39 -04:00
amlcode.h
amlresrc.h
container.h
pdc_intel.h
processor.h ACPI: change processors from array to per_cpu variable 2008-07-16 23:27:01 +02:00
reboot.h Add the ability to reset the machine using the RESET_REG in ACPI's FADT table. 2008-07-16 23:27:08 +02:00