mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: rtg@tpi.com (Tim Gardner)
To: akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
	tim.gardner@ubuntu.com
Subject: [PATCH 1/1] Work around Dell E520 BIOS reboot bug.
Date: Wed, 23 May 2007 13:12:44 -0600 (MDT)	[thread overview]
Message-ID: <20070523191244.50078196AA1@rtg.theglobal.net> (raw)

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


             reply	other threads:[~2007-05-23 19:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-23 19:12 Tim Gardner [this message]
2007-05-26  2:58 ` Matt Domsch
2007-05-29 22:33   ` Andrew Morton
2007-05-29 22:52     ` Andi Kleen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070523191244.50078196AA1@rtg.theglobal.net \
    --to=rtg@tpi.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tim.gardner@ubuntu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®