Commit 6d106e0c authored by Herman Morsink Vollenbroek's avatar Herman Morsink Vollenbroek Committed by Wim Van Sebroeck

watchdog: Fix reboot on W83627ehf chipset.

The watchdog driver for the SUPERIO chip winbond w83627ehf does not work.
If you open /dev/watchdog and write a character to /dev/watchdog then
the watchdog will be triggered. However the watchdog will not trigger
the hardware RESET after the timeout, because the watchdog has never been
enabled.
Signed-off-by: default avatarHerman Morsink Vollenbroek <h.morsinkvollenbroek@home.nl>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 9c67bea4
......@@ -129,6 +129,8 @@ static void w83627hf_init(void)
t = inb_p(WDT_EFDR); /* read CRF5 */
t &= ~0x0C; /* set second mode & disable keyboard
turning off watchdog */
t |= 0x02; /* enable the WDTO# output low pulse
to the KBRST# pin (PIN60) */
outb_p(t, WDT_EFDR); /* Write back to CRF5 */
outb_p(0xF7, WDT_EFER); /* Select CRF7 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment