diff mbox

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

Message ID 8719c8516940acbfb4f92adb97709593d84866f3.1316547009.git.leann.ogasawara@canonical.com
State New
Headers show

Commit Message

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

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

The Dell Latitude E6520 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(-)
diff mbox

Patch

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