Patchwork [Natty,SRU,1/2] UBUNTU: SAUCE: x86: reboot: Make Dell Latitude E6220 use reboot=pci

login
register
mail settings
Submitter Leann Ogasawara
Date Sept. 21, 2011, 2:30 p.m.
Message ID <8b92bdba0a9ca09eb9296098e7a18701b1dd248f.1316547009.git.leann.ogasawara@canonical.com>
Download mbox | patch
Permalink /patch/115791/
State New
Headers show

Comments

Leann Ogasawara - Sept. 21, 2011, 2:30 p.m.
From: Leann Ogasawara <leann.ogasawara@canonical.com>

BugLink: http://bugs.launchpad.net/bugs/838402

The Dell Latitude E6220 doesn't reboot unless reboot=pci is set.

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
---
 arch/x86/kernel/reboot.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

Patch

diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 715037c..28db5b8 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -480,6 +480,14 @@  static struct dmi_system_id __initdata pci_reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "iMac9,1"),
 		},
 	},
+	{       /* Handle problems with rebooting on the Latitude E6220. */
+		.callback = set_pci_reboot,
+		.ident = "Dell Latitude E6220",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6220"),
+		},
+	},
 	{ }
 };