UBUNTU: SAUCE: x86: reboot: Make Dell Latitude E6520 use reboot=pci
authorLeann Ogasawara <leann.ogasawara@canonical.com>
Wed, 21 Sep 2011 14:30:59 +0000 (07:30 -0700)
committerHerton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
Tue, 27 Sep 2011 19:13:56 +0000 (16:13 -0300)
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>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

arch/x86/kernel/reboot.c

index 28db5b8..95d5371 100644 (file)
@@ -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"),
+               },
+       },
        { }
 };