Skip to contentSkip to conversation

Reboot quirk for sbc-fitpc2 board

DISCUSSION Denis Turischev 1 participant 1 message Jul 16, 2009

lore
Share & tools
lore
#0 lore raw

Handle problems with rebooting on CompuLab SBC-FITPC2 board.

diff -Nru linux-2.6.31-rc3.orig/arch/x86/kernel/reboot.c linux-2.6.31-rc3/arch/x86/kernel/reboot.c
--- linux-2.6.31-rc3.orig/arch/x86/kernel/reboot.c 2009-07-14
04:18:52.000000000 +0300
+++ linux-2.6.31-rc3/arch/x86/kernel/reboot.c 2009-07-16
14:39:48.000000000 +0300
@@ -249,6 +249,15 @@

                        DMI_MATCH(DMI_PRODUCT_NAME, "VGN-Z540N"),
                },
        },
+       {       /* Handle problems with rebooting on
+                               CompuLab SBC-FITPC2 board */
+               .callback = set_bios_reboot,
+               .ident = "CompuLab SBC-FITPC2",
+               .matches = {

+ DMI_MATCH(DMI_SYS_VENDOR, "CompuLab"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "SBC-FITPC2"),
+ },
+ },

        { }

};