diff options
author | Bob Moore <robert.moore@intel.com> | 2014-04-04 00:37:35 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-04-20 16:59:37 -0400 |
commit | b944b29c90a18d6254fca4a018195adc8802cf2e (patch) | |
tree | e98c505e5fe815bc5fe12b0b1bc42e76898cdc84 /drivers/acpi/acpica/aclocal.h | |
parent | 43d1a62d651233fe4d28f7d9e8f9c13d2a1ad1bc (diff) |
ACPICA: Disassembler: Add support to decode _HID and _CID values.
For _HID and _CID, the disassembler will emit a string that describes
the device if the _HID/_CID value is recognized. acpihelp updated also.
acpihelp will now search for a specific ID as well as displaying
the list of "known" (to ACPICA) IDs.
This patch does not affect Linux kernel behavior as the disassembler
and the acpihelp are not shipped with it.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/aclocal.h')
-rw-r--r-- | drivers/acpi/acpica/aclocal.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/aclocal.h b/drivers/acpi/acpica/aclocal.h index 52a21dafb540..f68cb602dc23 100644 --- a/drivers/acpi/acpica/aclocal.h +++ b/drivers/acpi/acpica/aclocal.h | |||
@@ -733,7 +733,8 @@ union acpi_parse_value { | |||
733 | #define ACPI_DASM_MATCHOP 0x06 /* Parent opcode is a Match() operator */ | 733 | #define ACPI_DASM_MATCHOP 0x06 /* Parent opcode is a Match() operator */ |
734 | #define ACPI_DASM_LNOT_PREFIX 0x07 /* Start of a Lnot_equal (etc.) pair of opcodes */ | 734 | #define ACPI_DASM_LNOT_PREFIX 0x07 /* Start of a Lnot_equal (etc.) pair of opcodes */ |
735 | #define ACPI_DASM_LNOT_SUFFIX 0x08 /* End of a Lnot_equal (etc.) pair of opcodes */ | 735 | #define ACPI_DASM_LNOT_SUFFIX 0x08 /* End of a Lnot_equal (etc.) pair of opcodes */ |
736 | #define ACPI_DASM_IGNORE 0x09 /* Not used at this time */ | 736 | #define ACPI_DASM_HID_STRING 0x09 /* String is a _HID or _CID */ |
737 | #define ACPI_DASM_IGNORE 0x0A /* Not used at this time */ | ||
737 | 738 | ||
738 | /* | 739 | /* |
739 | * Generic operation (for example: If, While, Store) | 740 | * Generic operation (for example: If, While, Store) |
@@ -1147,4 +1148,9 @@ struct ah_predefined_name { | |||
1147 | #endif | 1148 | #endif |
1148 | }; | 1149 | }; |
1149 | 1150 | ||
1151 | struct ah_device_id { | ||
1152 | char *name; | ||
1153 | char *description; | ||
1154 | }; | ||
1155 | |||
1150 | #endif /* __ACLOCAL_H__ */ | 1156 | #endif /* __ACLOCAL_H__ */ |