projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ac4c5f
)
ACPICA: Predefined names: Add support for the _PRP method.
author
Bob Moore
<robert.moore@intel.com>
Wed, 26 Feb 2014 02:28:44 +0000
(10:28 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Wed, 26 Feb 2014 23:45:59 +0000
(
00:45
+0100)
This is not an official predefined name yet, but we add it to assist
with development.
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>
drivers/acpi/acpica/acpredef.h
patch
|
blob
|
history
diff --git
a/drivers/acpi/acpica/acpredef.h
b/drivers/acpi/acpica/acpredef.h
index 01b9eaaa982db38e0aea18e2bf6634abf7c421a4..393826bee42d5df48d51488144f684e9a6cd272f 100644
(file)
--- a/
drivers/acpi/acpica/acpredef.h
+++ b/
drivers/acpi/acpica/acpredef.h
@@
-700,6
+700,12
@@
const union acpi_predefined_info acpi_gbl_predefined_methods[] = {
METHOD_RETURNS(ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */
PACKAGE_INFO(ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0),
+ {{"_PRP", METHOD_0ARGS,
+ METHOD_RETURNS(ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each: 1 Str, 1 Int/Str/Pkg */
+ PACKAGE_INFO(ACPI_PTYPE2, ACPI_RTYPE_STRING, 1,
+ ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING |
+ ACPI_RTYPE_PACKAGE, 1, 0),
+
{{"_PRS", METHOD_0ARGS,
METHOD_RETURNS(ACPI_RTYPE_BUFFER)}},