[PATCH 3/3] acpi: method: add _CID control method test (LP: #1249174)
Alex Hung
alex.hung at canonical.com
Fri Nov 8 03:43:09 UTC 2013
Signed-off-by: Alex Hung <alex.hung at canonical.com>
---
src/acpi/method/method.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
index 05fb2bc..71c6a77 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -1002,6 +1002,12 @@ static int method_test_HID(fwts_framework *fw)
"_HID", NULL, 0, method_test_HID_return, NULL);
}
+static int method_test_CID(fwts_framework *fw)
+{
+ return method_evaluate_method(fw, METHOD_OPTIONAL,
+ "_CID", NULL, 0, method_test_HID_return, NULL);
+}
+
static int method_test_HRV(fwts_framework *fw)
{
return method_evaluate_method(fw, METHOD_OPTIONAL,
@@ -4817,7 +4823,7 @@ static fwts_framework_minor_test method_tests[] = {
/* Section 6.1 Device Identification Objects */
- /* { method_test_CID, "Check _CID (Compatible ID)." }, */
+ { method_test_CID, "Check _CID (Compatible ID)." },
/* { method_test_CLS, "Check _CLS (Class Code)." }, */
{ method_test_DDN, "Check _DDN (DOS Device Name)." },
{ method_test_HID, "Check _HID (Hardware ID)." },
--
1.8.1.2
More information about the fwts-devel
mailing list