UBUNTU: SAUCE: (no-up) x86: reboot: Make Dell Optiplex 790 use reboot=pci
authorLeann Ogasawara <leann.ogasawara@canonical.com>
Fri, 9 Sep 2011 20:23:51 +0000 (13:23 -0700)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 2 Apr 2012 20:12:14 +0000 (13:12 -0700)
BugLink: http://bugs.launchpad.net/bugs/818933

The Dell Optiplex 790 doesn't reboot unless reboot=pci is set.

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

arch/x86/kernel/reboot.c

index 76e10f7..bfac110 100644 (file)
@@ -468,6 +468,14 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6520"),
                },
        },
+       {       /* Handle problems with rebooting on the OptiPlex 790. */
+               .callback = set_pci_reboot,
+               .ident = "Dell OptiPlex 790",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 790"),
+               },
+       },
        { }
 };