[WATCHDOG] iTCO_wdt : correct status clearing

The iTCO_wdt code was not clearing the correct bits.
It now clears the timeout status bit and then the
SECOND_TO_STS bit and then the BOOT_STS bit.
Note: we should first clear the SECOND_TO_STS bit
before clearing the BOOT_STS bit.

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

+3 -2
+3 -2
drivers/watchdog/iTCO_wdt.c
··· 684 684 TCOBASE); 685 685 686 686 /* Clear out the (probably old) status */ 687 - outb(0, TCO1_STS); 688 - outb(3, TCO2_STS); 687 + outb(8, TCO1_STS); /* Clear the Time Out Status bit */ 688 + outb(2, TCO2_STS); /* Clear SECOND_TO_STS bit */ 689 + outb(4, TCO2_STS); /* Clear BOOT_STS bit */ 689 690 690 691 /* Make sure the watchdog is not running */ 691 692 iTCO_wdt_stop();