[PATCH 2/3] x86: add Dell OptiPlex 780 reboot quirk

From: Pascal de Bruijn
Date: Wed Mar 27 2013 - 10:19:53 EST


Dell OptiPlex 780 hangs on reboot unless reboot=bios is used. Add quirk
to reboot through the BIOS.

Signed-off-by: Pascal de Bruijn <pascal@xxxxxxxxxxxxxxxxxxxx>
---
arch/x86/kernel/reboot.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 6961e77..0dfed0f 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -301,6 +301,14 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 760"),
},
},
+ { /* Handle problems with rebooting on Dell OptiPlex 780 */
+ .callback = set_bios_reboot,
+ .ident = "Dell OptiPlex 780",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 780"),
+ },
+ },
{ /* Handle problems with rebooting on Dell 2400's */
.callback = set_bios_reboot,
.ident = "Dell PowerEdge 2400",
--
1.7.0.4



--
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/