]> git.hungrycats.org Git - linux/commit
[WATCHDOG] v2.6.5-rc2 wdt.c-patch
authorWim Van Sebroeck <wim@iguana.be>
Sun, 21 Mar 2004 12:18:43 +0000 (13:18 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 21 Mar 2004 12:18:43 +0000 (13:18 +0100)
commit54127f9b18f018dfc2af344f929bd0454b32a248
tree6a367e2b6753521269fcdfc463fc596c57509173
parent67bfb5a707614ffaeda67babba9aadb5b0bdfebc
[WATCHDOG] v2.6.5-rc2 wdt.c-patch

Version 0.10 of wdt.c - Changes that were made are:
* Extract the start code in a seperate function (wdt_start)
* Extract the stop code in a seperate function (wdt_stop)
* Convert wdt_ping so that it return an int value (0=succes).
* Extract the get_temperature code in a seperate function (wdt_get_temperature)
* Make /dev/watchdog and /dev/temperature to different misc devices with their own fops.
* Reorganize init and exit functions
* Make heartbeat (the emulated heartbeat) a module parameter
* Rewrite status flag code so that we could add a new tachometer module parameter
* Small clean-up's
drivers/char/watchdog/wdt.c