[WATCHDOG] w83627hf_wdt.c-initialized_bios_bug
commit93642ecd463df30d032da8ac37c2676cee4ad876
authorP@Draig Brady <P@draigBrady.com>
Wed, 17 Aug 2005 07:06:07 +0000 (17 09:06 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 3 Sep 2005 11:58:03 +0000 (3 13:58 +0200)
tree11b4a099cf920a8d5ef639a4b8a6a3b23f6a15c9
parent94f1e9f316b10972b77a64344006c3bf8a4929b4
[WATCHDOG] w83627hf_wdt.c-initialized_bios_bug

Attached is a small update to the w83627hf watchdog driver
to initialise appropriately if it was already initialised
in the BIOS. On tyan motherboards for e.g. you can init
the watchdog to 4 mins, then when the driver is loaded it
sets the watchdog to "seconds" mode, and then machine will
reboot within 4 seconds. So this patch resets the timeout
to the configured value if the watchdog is already running.

Signed-off-by: P@draig Brady <P@draigBrady.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/w83627hf_wdt.c