From: Rafael J. Wysocki Date: Tue, 27 Jan 2009 16:39:02 +0000 (+0100) Subject: ACPI suspend: Blacklist HP xw4600 Workstation for old code ordering X-Git-Tag: v2.6.27.15~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c92391233d3ce7337a131295f9838b74d2ba32f6;p=karo-tx-linux.git ACPI suspend: Blacklist HP xw4600 Workstation for old code ordering commit 4fb507b6b764195bb7821cf2baa988f6eb677d30 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 Cc: Thomas Renninger Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/acpi/sleep/main.c b/drivers/acpi/sleep/main.c index c6ee3330f26c..e7e0aac430a7 100644 --- a/drivers/acpi/sleep/main.c +++ b/drivers/acpi/sleep/main.c @@ -344,6 +344,14 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"), }, }, + { + .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 */