Patchwork [SRU,Precise,Quantal,Raring,1/1] UBUNTU: SAUCE: (no-up) x86: reboot: Make Dell Optiplex 390 use reboot=pci

login
register
mail settings
Submitter Joseph Salisbury
Date April 16, 2013, 9:03 p.m.
Message ID <4026dc6a1334f2d9bd5fce680a8f66b6290a97b2.1366145431.git.joseph.salisbury@canonical.com>
Download mbox | patch
Permalink /patch/237100/
State New
Headers show

Comments

Joseph Salisbury - April 16, 2013, 9:03 p.m.
From: Leann Ogasawara <leann.ogasawara@canonical.com> 

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>
---
 arch/x86/kernel/reboot.c |    8 ++++++++
 1 file changed, 8 insertions(+)

Patch

diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 8b13865..afc8405 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -479,6 +479,14 @@  static struct dmi_system_id __initdata reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 990"),
 		},
 	},
+	{	/* Handle problems with rebooting on the OptiPlex 390. */
+		.callback = set_pci_reboot,
+		.ident = "Dell OptiPlex 390",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 390"),
+		},
+	},
 	{ }
 };