public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pascal de Bruijn <pascal@unilogicnetworks.net>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 2/3] x86: add Dell OptiPlex 780 reboot quirk
Date: Mon, 01 Jul 2013 09:02:05 +0200	[thread overview]
Message-ID: <1372662125.3810.8.camel@optiplex> (raw)

>From 34ee5e25f01c4791b26e400c509761264a70dd99 Mon Sep 17 00:00:00 2001
From: Pascal de Bruijn <pascal@unilogicnetworks.net>
Date: Wed, 27 Mar 2013 14:19:53 +0000
Subject: [PATCH 2/3] x86: add Dell OptiPlex 780 reboot quirk

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@unilogicnetworks.net>
---
 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




                 reply	other threads:[~2013-07-01  7:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1372662125.3810.8.camel@optiplex \
    --to=pascal@unilogicnetworks.net \
    --cc=linux-kernel@vger.kernel.org \
    /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