]> git.hungrycats.org Git - linux/commit
[WATCHDOG] v2.6.5-rc2 wdt_pci.c-patch
authorWim Van Sebroeck <wim@iguana.be>
Sun, 21 Mar 2004 12:22:23 +0000 (13:22 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 21 Mar 2004 12:22:23 +0000 (13:22 +0100)
commit8e7ff45124547d1e02dbd590d05989348abc4d69
tree256c6db5cfb9924b4bae34aaaa66342d6a9b175a
parent54127f9b18f018dfc2af344f929bd0454b32a248
[WATCHDOG] v2.6.5-rc2 wdt_pci.c-patch

Version 0.10 of wdt_pci.c - Changes that were made are:
* Extract the start code in a seperate function (wdtpci_start)
* Extract the stop code in a seperate function (wdtpci_stop)
* Convert wdtpci_ping so that it return an int value (0=succes).
* Extract the get_temperature code in a seperate function (wdtpci_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
   + make clear distinction between PCI-WDT500 and PCI-WDT501.
* Small clean-up's
drivers/char/watchdog/wdt_pci.c