aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/watchdog/rm9k_wdt.c
AgeCommit message (Collapse)Author
2006-12-07[WATCHDOG] rm9k_wdt: fix interrupt handler argumentsThomas Koeller
Removed 'struct pt_regs *' from interrupt handler arguments. Signed-off-by: Thomas Koeller <thomas.koeller@baslerweb.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2006-12-07[WATCHDOG] rm9k_wdt: fix compilationThomas Koeller
Driver did not compile any more. Someone moved the definition of 'struct miscdevice miscdev' to a place near the end of the file, after some code that was refering to this variable. Signed-off-by: Thomas Koeller <thomas.koeller@baslerweb.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2006-11-17[WATCHDOG] MIPS RM9000 on-chip watchdog device - patch 4Wim Van Sebroeck
a number of small patches: - include notifier.h include file - re-arrange prototype functions - remove =0 initializations - change printk logging levels to what's used in other drivers - /dev/watchdog is a VFS so use nonseekable_open - Style: Instead of "if (constant op function_or_variable)" we prefer "if (function_or_variable op constant)" - arg is a __user pointer - use MAX_TIMEOUT_SECONDS instead of 32 in WDIOC_SETTIMEOUT Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2006-11-17[WATCHDOG] MIPS RM9000 on-chip watchdog device - patch 3Wim Van Sebroeck
Move start and stop code into seperate functions Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2006-11-17[WATCHDOG] MIPS RM9000 on-chip watchdog device - patch 2Wim Van Sebroeck
Reorganize source code so that it is structured as follows: - Function prototypes - Local variables - Module arguments - Interrupt handler - Watchdog functions - /dev/watchdog operations - Shutdown notifier - Kernel interfaces - Init & exit procedures - Device driver init & exit Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2006-11-17[WATCHDOG] MIPS RM9000 on-chip watchdog device - patch 1Wim Van Sebroeck
Locate parameter descriptions close to parameter definition - not in bottom of file. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2006-11-17[WATCHDOG] MIPS RM9000 on-chip watchdog deviceThomas Koeller
This is a driver for the on-chip watchdog device found on some MIPS RM9000 processors. Signed-off-by: Thomas Koeller <thomas.koeller@baslerweb.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>