diff options
| author | Aaron Lu <aaron.lu@intel.com> | 2013-07-02 09:59:10 -0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-07-17 19:29:14 -0400 |
| commit | 242b2287cd7f27521c8b54a4101d569e53e7a0ca (patch) | |
| tree | acbaf8c865e50a835bf8477fff5320cf28fac238 /drivers | |
| parent | ad81f0545ef01ea651886dddac4bef6cec930092 (diff) | |
ACPICA: expose OSI version
Expose acpi_gbl_osi_data so that code outside of ACPICA can check
the value of the last successfull _OSI call. The definitions for
OSI versions are moved to actypes.h so that other components can
access them too.
Based on a patch from Matthew Garrett which in turn was based on
an earlier patch from Seth Forshee.
[rjw: Changelog]
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/acpi/acpica/aclocal.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/acpi/acpica/aclocal.h b/drivers/acpi/acpica/aclocal.h index dfed26545ba2..d4a4901637cd 100644 --- a/drivers/acpi/acpica/aclocal.h +++ b/drivers/acpi/acpica/aclocal.h | |||
| @@ -931,19 +931,6 @@ struct acpi_bit_register_info { | |||
| 931 | 931 | ||
| 932 | /* Structs and definitions for _OSI support and I/O port validation */ | 932 | /* Structs and definitions for _OSI support and I/O port validation */ |
| 933 | 933 | ||
| 934 | #define ACPI_OSI_WIN_2000 0x01 | ||
| 935 | #define ACPI_OSI_WIN_XP 0x02 | ||
| 936 | #define ACPI_OSI_WIN_XP_SP1 0x03 | ||
| 937 | #define ACPI_OSI_WINSRV_2003 0x04 | ||
| 938 | #define ACPI_OSI_WIN_XP_SP2 0x05 | ||
| 939 | #define ACPI_OSI_WINSRV_2003_SP1 0x06 | ||
| 940 | #define ACPI_OSI_WIN_VISTA 0x07 | ||
| 941 | #define ACPI_OSI_WINSRV_2008 0x08 | ||
| 942 | #define ACPI_OSI_WIN_VISTA_SP1 0x09 | ||
| 943 | #define ACPI_OSI_WIN_VISTA_SP2 0x0A | ||
| 944 | #define ACPI_OSI_WIN_7 0x0B | ||
| 945 | #define ACPI_OSI_WIN_8 0x0C | ||
| 946 | |||
| 947 | #define ACPI_ALWAYS_ILLEGAL 0x00 | 934 | #define ACPI_ALWAYS_ILLEGAL 0x00 |
| 948 | 935 | ||
| 949 | struct acpi_interface_info { | 936 | struct acpi_interface_info { |
