]> git.karo-electronics.de Git - linux-beck.git/commit
ACPICA: Add acpi_update_interfaces() public interface
authorLv Zheng <lv.zheng@intel.com>
Mon, 22 Jul 2013 08:08:16 +0000 (16:08 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 23 Jul 2013 02:06:03 +0000 (04:06 +0200)
commit2cf9f5bcc8d8cb31d6ea7baebac5056f39fb4f40
treef91ff2046741f8c88c257ad7969ff5bd38d4f9ae
parent53b1631e3a274f84686853fa2531d1aa918ee36c
ACPICA: Add acpi_update_interfaces() public interface

Add new API to allow OSPM to disable/enable specific types of _OSI
interface strings.

ACPICA does not have the knowledge about whether an _OSI interface
string is an OS vendor string or a feature group string and there
isn't any API interface to allow OSPM to install a new interface
string as a feature group string.
This patch simply adds all feature group strings defined by ACPI
specification into the acpi_default_supported_interfaces with
ACPI_OSI_FEATURE flag set to fix this gap.  This patch also adds
codes to keep their default states as ACPI_OSI_INVALID before the
initialization and after the termination.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Acked-by: Len Brown <len.brown@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Conflicts:
include/acpi/actypes.h (with commit 242b228)
drivers/acpi/acpica/aclocal.h
drivers/acpi/acpica/acutils.h
drivers/acpi/acpica/utosi.c
drivers/acpi/acpica/utxface.c
include/acpi/acpixf.h
include/acpi/actypes.h