watchdog: it8712f_wdt: Add module parameter for alternative reset sources
authorTimo Juhani Lindfors <timo.lindfors@iki.fi>
Thu, 30 Sep 2010 14:08:04 +0000 (17:08 +0300)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 28 Oct 2010 21:42:32 +0000 (21:42 +0000)
commita422088db21333ba02a0f4fe4f5abfb08c802d35
tree8ace538437914668ab3060c275cb3d7a0c5de61a
parentf0fc10745a48c766ea5d6d83a6a371a223986bb0
watchdog: it8712f_wdt: Add module parameter for alternative reset sources

On iEi PCISA-9652-R10 (BIOS version 1.5) single board computer reads
from the game port do not seem to reset the watchdog timer. This patch
adds a module parameter wdt_config_reg to specify alternative reset
sources. At least WDT_RESET_KBD has been tested, even just running

while true; do
    setleds -L +scroll
    sleep 1
    setleds -L -scroll
    sleep 1
done

is enough to keep the watchdog happy.

Signed-off-by: Timo Juhani Lindfors <timo.lindfors@iki.fi>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/it8712f_wdt.c