From: Rafael J. Wysocki Date: Tue, 14 Oct 2008 20:54:06 +0000 (+0200) Subject: ACPI suspend: Blacklist HP xw4600 Workstation for old code ordering X-Git-Tag: v2.6.27.4~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a25e0acfb0217c3910151af3ae6b020fd0bad094;p=pandora-kernel.git ACPI suspend: Blacklist HP xw4600 Workstation for old code ordering commit 4fb507b6b764195bb7821cf2baa988f6eb677d30 upstream HP xw4600 Workstation is known to require the "old" (ie. compatible with ACPI 1.0) suspend code ordering, so blacklist it for this purpose. Signed-off-by: Rafael J. Wysocki Tested-by: John Brown Signed-off-by: Len Brown Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/acpi/sleep/main.c b/drivers/acpi/sleep/main.c index 29a5b2310196..4751909c0d07 100644 --- a/drivers/acpi/sleep/main.c +++ b/drivers/acpi/sleep/main.c @@ -298,6 +298,14 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = { DMI_MATCH(DMI_BOARD_NAME, "KN9 Series(NF-CK804)"), }, }, + { + .callback = init_old_suspend_ordering, + .ident = "HP xw4600 Workstation", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP xw4600 Workstation"), + }, + }, {}, }; #endif /* CONFIG_SUSPEND */