[PATCH] x86: Fix rebooting on Dell Precision WorkStation T7400

From: Thomas Backlund
Date: Sat Jun 19 2010 - 09:32:35 EST



Dell Precision WorkStation T7400 freezes on reboot unless reboot=b is used.

Reference: https://qa.mandriva.com/show_bug.cgi?id=58017

Signed-off-by: Thomas Backlund <tmb@xxxxxxxxxxxx>

--- linux-2.6/arch/x86/kernel/reboot.c.orig 2010-05-27 12:39:46.633765379 +0300
+++ linux-2.6/arch/x86/kernel/reboot.c 2010-06-19 15:56:17.250903899 +0300
@@ -228,6 +228,14 @@ static struct dmi_system_id __initdata r
DMI_MATCH(DMI_PRODUCT_NAME, "Precision WorkStation T5400"),
},
},
+ { /* Handle problems with rebooting on Dell T7400's */
+ .callback = set_bios_reboot,
+ .ident = "Dell Precision T7400",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Precision WorkStation T7400"),
+ },
+ },
{ /* Handle problems with rebooting on HP laptops */
.callback = set_bios_reboot,
.ident = "HP Compaq Laptop",