[PATCH] x86: Fix reboot issue for Dell Optiplex 990

From: Thomas Renninger
Date: Thu Oct 20 2011 - 11:38:50 EST


This was the only reboot=x option that worked for this desktop.


Signed-off-by: Thomas Renninger <trenn@xxxxxxx>
Tested-by: Christian Haas <chaas@xxxxxxx>
CC: linux-acpi@xxxxxxxxxxxxxxx
CC: stable@xxxxxxxxxx

---
arch/x86/kernel/reboot.c | 9 +++++++++
1 file changed, 9 insertions(+)

Index: linux-3.1-rc9-master/arch/x86/kernel/reboot.c
===================================================================
--- linux-3.1-rc9-master.orig/arch/x86/kernel/reboot.c
+++ linux-3.1-rc9-master/arch/x86/kernel/reboot.c
@@ -443,6 +443,15 @@ static struct dmi_system_id __initdata p
DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6420"),
},
},
+ { /* Handle problems with rebooting on the Latitude E6420. */
+ .callback = set_pci_reboot,
+ .ident = "Dell Optiplex 990",
+ .matches = {
+ /* Found in BIOS version A06 */
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 990"),
+ },
+ },
{ }
};

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/