public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] Work around Dell E520 BIOS reboot bug.
@ 2007-05-23 19:12 Tim Gardner
  2007-05-26  2:58 ` Matt Domsch
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Gardner @ 2007-05-23 19:12 UTC (permalink / raw)
  To: akpm, linux-kernel, tim.gardner

From: Tim Gardner <tim.gardner@ubuntu.com>
Subject: [PATCH] Work around Dell E520 BIOS reboot bug.

Force Dell E520 to use the BIOS to shutdown/reboot.

Signed-off-by: Tim Gardner <tim.gardner@ubuntu.com>
---

I have at least one report that this patch fixes shutdown/reboot
problems on the Dell E520 platform.

 arch/i386/kernel/reboot.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/i386/kernel/reboot.c b/arch/i386/kernel/reboot.c
index 3514b41..e33f51a 100644
--- a/arch/i386/kernel/reboot.c
+++ b/arch/i386/kernel/reboot.c
@@ -88,6 +88,14 @@ static int __init set_bios_reboot(struct dmi_system_id *d)
 }
 
 static struct dmi_system_id __initdata reboot_dmi_table[] = {
+	{	/* Handle problems with rebooting on Dell E520's */
+		.callback = set_bios_reboot,
+		.ident = "Dell E520",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Dell DM061"),
+		},
+	},
 	{	/* Handle problems with rebooting on Dell 1300's */
 		.callback = set_bios_reboot,
 		.ident = "Dell PowerEdge 1300",
-- 
1.4.4.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-05-29 22:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-23 19:12 [PATCH 1/1] Work around Dell E520 BIOS reboot bug Tim Gardner
2007-05-26  2:58 ` Matt Domsch
2007-05-29 22:33   ` Andrew Morton
2007-05-29 22:52     ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox