- 13 2月, 2007 1 次提交
-
-
由 Jiri Slaby 提交于
- Use timer macros to set function and data members and to modify expiration time. - Use DEFINE_TIMER for single (platform dependent) watchdog timers and do not init them at run-time in these cases. - del_timer_sync is common in most cases -- we want to wait for timer function if it's still running. Signed-off-by: NJiri Slaby <jirislaby@gmail.com> Cc: Steve Hill <steve@navaho.co.uk> Cc: Heiko Ronsdorf <hero@ihg.uni-duisburg.de> Cc: Fernando Fuganti <fuganti@conectiva.com.br> Cc: Gergely Madarasz <gorgo@itc.hu> Cc: Ken Hollis <khollis@bitgate.com> Cc: Paul Mundt <lethal@linux-sh.org> Signed-off-by: NWim Van Sebroeck <wim@iguana.be> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
-
- 28 1月, 2007 7 次提交
-
-
由 Wim Van Sebroeck 提交于
Convert the reboot_notifier into the platform_device's shutdown method Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
Convert the ib700wdt watchdog into a platform_device Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
Add the WDIOC_SETOPTIONS ioctl call. Because of this we move the spinlocking to the different watchdog operations. Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
* Fix identation * Add watchdog "mandatory" WDIOC_GETBOOTSTATUS ioctl * On unexpected close -> since this is considered as a write to the watchdog device, make sure we ping a last time. Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
clean-up the init and exit routines so that they use the same sequence. Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
move the code to stop the watchdog and the code to set the heartbeat of the watchdog to seperate functions. Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
change default=CONFIG_WATCHDOG_NOWAYOUT in the module parameter for nowayout by it's real value (0 or 1) by using: __MODULE_STRING(WATCHDOG_NOWAYOUT) Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 12 1月, 2007 4 次提交
-
-
由 Wim Van Sebroeck 提交于
Convert the reboot_notifier into the platform_device's shutdown method Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
Convert the advantechwdt watchdog into a platform_device Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
Put the set_heartbeat/timeout code into a seperate function Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
This cleanup consists of: - make sure that the printk's use the module/driver-name - do the exit of the module exactly the opposite of the init of the module Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 11 1月, 2007 3 次提交
-
-
由 Wim Van Sebroeck 提交于
Convert the reboot_notifier into the platform_device's shutdown method Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
Convert the acquirewdt watchdog into a platform_device Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
Clean the current code before we convert the driver to a platform_device. This clean consists of: - document the includes - make sure that the printk's use the module/driver-name - do the exit of the module exactly the opposite of the init of the module Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 10 1月, 2007 2 次提交
-
-
由 Wim Van Sebroeck 提交于
The PCWD cards normally use the heartbeat that is set via the dip-switches of the card. There are only 3 switches, thus 8 combinations that each have a certain heartbeat. The card can however be programmed with a heartbeat from 1 till 65535 seconds. This is what our driver does: it programs the heartbeat on the card. There are however a lot of people that don't know that we set the heartbeat of the watchdog card to the value provided by the heartbeat module parameter. Instead they think that the heartbeat value is the same as set by the dip-switches. This patch changes the driver so that at startup you can take the heartbeat from the dip-switches. You do this by setting the heartbeat module parameter to 0. This patch also makes this the default behaviour. Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
update Simon Machell's e-mail adres Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 09 1月, 2007 2 次提交
-
-
由 Wim Van Sebroeck 提交于
The PCWD cards normally use the heartbeat that is set via the dip-switches of the card. There are only 3 switches, thus 8 combinations that each have a certain heartbeat. The card can however be programmed with a heartbeat from 1 till 65535 seconds. This is what our driver does: it programs the heartbeat on the card. There are however a lot of people that don't know that we set the heartbeat of the watchdog card to the value provided by the heartbeat module parameter. Instead they think that the heartbeat value is the same as set by the dip-switches. This patch changes the driver so that at startup you can take the heartbeat from the dip-switches. You do this by setting the heartbeat module parameter to 0. This patch also makes this the default behaviour. Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
document and review the include files. Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 08 1月, 2007 2 次提交
-
-
由 Wim Van Sebroeck 提交于
the keepalive and get_temperature functions should use spinlocks also. Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
The PCWD cards normally use the heartbeat that is set via the dip-switches of the card. There are only 3 switches, thus 8 combinations that each have a certain heartbeat. The card can however be programmed with a heartbeat from 1 till 65535 seconds. This is what our driver does: it programs the heartbeat on the card. There are however a lot of people that don't know that we set the heartbeat of the watchdog card to the value provided by the heartbeat module parameter. Instead they think that the heartbeat value is the same as set by the dip-switches. This patch changes the driver so that at startup you can take the heartbeat from the dip-switches. You do this by setting the heartbeat module parameter to 0. This patch also makes this the default behaviour. Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 20 12月, 2006 1 次提交
-
-
由 Akinobu Mita 提交于
The return value of clk_get() should be checked by IS_ERR(). Signed-off-by: NAkinobu Mita <akinobu.mita@gmail.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 19 12月, 2006 1 次提交
-
-
由 Ben Dooks 提交于
Cleanup the s3c2410_wdt driver's exit point by using labels instead of multiple returns. Also remove the checks for the resources having been allocate in the exit, as we will now either have fully allocated or not allocated the resources at-all. Signed-off-by: NBen Dooks <ben-linux@fluff.org> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 13 12月, 2006 1 次提交
-
-
由 Wim Van Sebroeck 提交于
Now that the generic HID layer created include/linux/hid.h we can use the HID_REQ_SET_REPORT and HID_DT_REPORT defines directly from that include file. Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 08 12月, 2006 4 次提交
-
-
由 Andrew Victor 提交于
It looks like the recent changes to 'struct miscdevice' have impacted some of the Watchdog drivers. at91rm9200_wdt.c:205: error: 'struct miscdevice' has no member named 'dev' For the AT91RM9200 driver I just replaced "miscdevice.dev" with "miscdevice.parent". The mpcore_wdt.c and omap_wdt.c seem similarly affected. Signed-off-by: NAndrew Victor <andrew@sanpeople.com> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Thomas Koeller 提交于
Removed 'struct pt_regs *' from interrupt handler arguments. Signed-off-by: NThomas Koeller <thomas.koeller@baslerweb.com> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Thomas 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: NThomas Koeller <thomas.koeller@baslerweb.com> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Christoph Lameter 提交于
SLAB_ATOMIC is an alias of GFP_ATOMIC Signed-off-by: NChristoph Lameter <clameter@sgi.com> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
- 02 12月, 2006 1 次提交
-
-
由 Mariusz Kozlowski 提交于
- usb_free_urb() cleanup Signed-off-by: NMariusz Kozlowski <m.kozlowski@tuxland.pl> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
- 01 12月, 2006 1 次提交
-
-
由 Andrew Victor 提交于
This patch updates the drivers (and other files) which include the hardware headers. This fixes the breakage introduced in patches 3950/1 and 3951/1 (those patches were getting big). The AVR32 architecture uses the same serial driver and had its own copy of at91rm9200_pdc.h. Renamed it to at91_pdc.h Signed-off-by: NAndrew Victor <andrew@sanpeople.com> Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
-
- 18 11月, 2006 5 次提交
-
-
由 Wim 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: NRandy Dunlap <rdunlap@xenotime.net> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
Move start and stop code into seperate functions Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim 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: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
Locate parameter descriptions close to parameter definition - not in bottom of file. Signed-off-by: NSam Ravnborg <sam@ravnborg.org> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Thomas Koeller 提交于
This is a driver for the on-chip watchdog device found on some MIPS RM9000 processors. Signed-off-by: NThomas Koeller <thomas.koeller@baslerweb.com> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 13 11月, 2006 1 次提交
-
-
由 Wim Van Sebroeck 提交于
Add vendor specific support to the intel TCO timer based watchdog devices. At this moment we only have additional support for some SuperMicro Inc. motherboards. Signed-off-by: NRobert Seretny <lkpatches@paypc.com> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 30 10月, 2006 1 次提交
-
-
由 Akinobu Mita 提交于
If no devices found or invalid parameter is specified, scl200wdt_pnp_driver is left unregistered. It breaks global list of pnp drivers. Signed-off-by: NAkinobu Mita <akinobu.mita@gmail.com> Signed-off-by: NWim Van Sebroeck <wim@iguana.be> Signed-off-by: NAndrew Morton <akpm@osdl.org>
-
- 29 10月, 2006 2 次提交
-
-
由 Akinobu Mita 提交于
If no devices found or invalid parameter is specified, scl200wdt_pnp_driver is left unregistered. It breaks global list of pnp drivers. Signed-off-by: NAkinobu Mita <akinobu.mita@gmail.com> Signed-off-by: NWim Van Sebroeck <wim@iguana.be> Signed-off-by: NAndrew Morton <akpm@osdl.org>
-
由 Andrew Morton 提交于
config.h got removed Signed-off-by: NWim Van Sebroeck <wim@iguana.be> Signed-off-by: NAndrew Morton <akpm@osdl.org>
-
- 24 10月, 2006 1 次提交
-
-
由 Wim Van Sebroeck 提交于
Some small fixes: * the status should return 0 and not 1 (1 means: * wdt_io is not a module-param, io is. Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-