From: Bjorn Helgaas Date: Thu, 30 Apr 2009 15:35:37 +0000 (-0600) Subject: ACPI: allow drivers to request both device and system notify events X-Git-Tag: v2.6.31-rc1~12^2~8^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d2781310036a8d3fa2b590a6f83a298010fd64a;p=pandora-kernel.git ACPI: allow drivers to request both device and system notify events System notify events (0x00-0x7f) are common across all device types and should be handled in Linux/ACPI, not in drivers. However, some BIOSes use system notify events in device-specific ways that require the driver to be involved. This patch adds a ACPI_DRIVER_ALL_NOTIFY_EVENTS driver flag. When a driver sets this flag and supplies a .notify method, Linux/ACPI calls the .notify method for ALL notify events on the device, not just the device-specific (0x80-0xff) events. Signed-off-by: Bjorn Helgaas Signed-off-by: Len Brown --- Reading git-diff-tree failed