]> git.hungrycats.org Git - linux/commit
[WATCHDOG] v2.6.6 sc520_wdt.c-patch1
authorWim Van Sebroeck <wim@iguana.be>
Fri, 28 May 2004 23:46:05 +0000 (01:46 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 28 May 2004 23:46:05 +0000 (01:46 +0200)
commitbaae0d6b045b117f3d77a2aec5a582eed4916358
tree422b68b8d8c87b9daddfb02b00094035f1db29e7
parent630fb05eae3975050f5c9508c7213220a45eca67
[WATCHDOG] v2.6.6 sc520_wdt.c-patch1

Clean-up (general stuff: comments, keep module parameters together, ...)
Added clear definitions for the Watchdog Timer Control Register bits
Made start, stop and keepalive return 0 if successful
Fixed nowayout behaviour so that it is consistent with other watchdog drivers
Fixed release behaviour so that it is consistent with other watchdog drivers
Added wdt_set_heartbeat function to set the timeout/heartbeat of the watchdog
Made sure that memory remapping (wdtmrctl) is done before misc_register is started
MMCR_BASE_DEFAULT was wrong (Bug 2497 reported by Sean Young)

Tested by Sean Young
drivers/char/watchdog/sc520_wdt.c