iTCO_wdt: fix TCO V1 timeout values and limits
authorPádraig Brady <P@draigBrady.com>
Mon, 19 Apr 2010 12:38:25 +0000 (13:38 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 25 May 2010 09:05:56 +0000 (09:05 +0000)
commit7e6811daa662fc4eb87ddfb3ea0ea9d782044157
treee6fbeb872b81bd2ed5e808535b6d3e216efa22ac
parentbb6f36070cf53ebf08383a026e1d3a437cb310d1
iTCO_wdt: fix TCO V1 timeout values and limits

For TCO V1 devices the programmed timeout was twice too long
because the fact that the TCO V1 timer needs to count down
twice before triggering the watchdog, wasn't accounted for.
Also the timeout values in the module description and error
message were clarified. And the _STS registers are 16 bit
instead of 8 bit.

Signed-off-by: Pádraig Brady <P@draigBrady.com>
Tested-by: Simon Kagstrom <simon.kagstrom@netinsight.se>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/iTCO_vendor_support.c
drivers/watchdog/iTCO_wdt.c