ACPI: suspend: Add the Pansonic CF51 box to the dmi check table
authorZhao Yakui <yakui.zhao@intel.com>
Wed, 18 Mar 2009 08:36:25 +0000 (16:36 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 3 Apr 2009 16:05:13 +0000 (12:05 -0400)
The Pansonic CF51-2L requires "acpi_sleep=old_ordering",
so invoke it automatically via DMI.

http://bugzilla.kernel.org/show_bug.cgi?id=12561

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/sleep.c

index 00456fc..31ff2a9 100644 (file)
@@ -394,6 +394,15 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
                DMI_MATCH(DMI_PRODUCT_NAME, "Satellite L300"),
                },
        },
+       {
+       .callback = init_old_suspend_ordering,
+       .ident = "Panasonic CF51-2L",
+       .matches = {
+               DMI_MATCH(DMI_BOARD_VENDOR,
+                               "Matsushita Electric Industrial Co.,Ltd."),
+               DMI_MATCH(DMI_BOARD_NAME, "CF51-2L"),
+               },
+       },
        {},
 };
 #endif /* CONFIG_SUSPEND */