Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog

* git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog:
[WATCHDOG] sbc_fitpc2_wdt: fix I/O space access technique.
[WATCHDOG] ixp2000: Fix build failure caused by missing include

+8 -8
+2 -2
drivers/watchdog/Kconfig
··· 396 396 tristate "Compulab SBC-FITPC2 watchdog" 397 397 depends on X86 398 398 ---help--- 399 - This is the driver for the built-in watchdog timer on the fit-PC2 400 - Single-board computer made by Compulab. 399 + This is the driver for the built-in watchdog timer on the fit-PC2, 400 + fit-PC2i, CM-iAM single-board computers made by Compulab. 401 401 402 402 It`s possible to enable watchdog timer either from BIOS (F2) or from booted Linux. 403 403 When "Watchdog Timer Value" enabled one can set 31-255 s operational range.
+1
drivers/watchdog/ixp2000_wdt.c
··· 19 19 #include <linux/module.h> 20 20 #include <linux/moduleparam.h> 21 21 #include <linux/types.h> 22 + #include <linux/timer.h> 22 23 #include <linux/kernel.h> 23 24 #include <linux/fs.h> 24 25 #include <linux/miscdevice.h>
+5 -6
drivers/watchdog/sbc_fitpc2_wdt.c
··· 46 46 static void wdt_send_data(unsigned char command, unsigned char data) 47 47 { 48 48 outb(command, COMMAND_PORT); 49 - mdelay(100); 49 + msleep(100); 50 50 outb(data, DATA_PORT); 51 - mdelay(200); 51 + msleep(200); 52 52 } 53 53 54 54 static void wdt_enable(void) ··· 202 202 { 203 203 int err; 204 204 205 - if (strcmp("SBC-FITPC2", dmi_get_system_info(DMI_BOARD_NAME))) { 206 - pr_info("board name is: %s. Should be SBC-FITPC2\n", 207 - dmi_get_system_info(DMI_BOARD_NAME)); 205 + if (!strstr(dmi_get_system_info(DMI_BOARD_NAME), "SBC-FITPC2")) 208 206 return -ENODEV; 209 - } 207 + 208 + pr_info("%s found\n", dmi_get_system_info(DMI_BOARD_NAME)); 210 209 211 210 if (!request_region(COMMAND_PORT, 1, WATCHDOG_NAME)) { 212 211 pr_err("I/O address 0x%04x already in use\n", COMMAND_PORT);