• Wim Van Sebroeck's avatar
    [WATCHDOG] v2.6.5-rc2 wdt_pci.c-patch · 8e7ff451
    Wim Van Sebroeck authored
    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
    8e7ff451
wdt_pci.c 18.5 KB