x86: Add reboot fixup for SBC-fitPC2
authorDenis Turischev <denis@compulab.co.il>
Mon, 20 Jul 2009 15:48:17 +0000 (18:48 +0300)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 21 Jul 2009 01:38:14 +0000 (18:38 -0700)
The CompuLab SBC-fitPC2 board needs to reboot via BIOS.

Signed-off-by: Denis Turischev <denis@compulab.co.il>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/reboot.c

index d2d1ce8170f06c8573ac022f4e49dfc59a371c9b..508e982dd072404d14005a90a8c007682e10fb89 100644 (file)
@@ -249,6 +249,14 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "VGN-Z540N"),
                },
        },
+       {       /* Handle problems with rebooting on CompuLab SBC-FITPC2 */
+               .callback = set_bios_reboot,
+               .ident = "CompuLab SBC-FITPC2",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "CompuLab"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "SBC-FITPC2"),
+               },
+       },
        { }
 };