diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2011-07-22 14:57:23 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2011-07-28 04:01:07 -0400 |
commit | c2dc00e494cc476551b9beeb883910391ff59737 (patch) | |
tree | 2dd417fb7e793af0bd28f9b946628662574269d4 /Documentation/watchdog | |
parent | 2fa03560ab3a6dd83cad9bfd5692179fc2ceabb3 (diff) |
watchdog: WatchDog Timer Driver Core - Add WDIOC_KEEPALIVE ioctl
This part add's the WDIOC_KEEPALIVE ioctl functionality to the
WatchDog Timer Driver Core framework. Please note that the
WDIOF_KEEPALIVEPING bit has to be set in the watchdog_info
options field.
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'Documentation/watchdog')
-rw-r--r-- | Documentation/watchdog/watchdog-kernel-api.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/watchdog/watchdog-kernel-api.txt b/Documentation/watchdog/watchdog-kernel-api.txt index 2bdc6dc6e04c..abbcf2ce8f62 100644 --- a/Documentation/watchdog/watchdog-kernel-api.txt +++ b/Documentation/watchdog/watchdog-kernel-api.txt | |||
@@ -101,6 +101,9 @@ they are supported. These optional routines/operations are: | |||
101 | the watchdog timer driver core does: to send a keepalive ping to the watchdog | 101 | the watchdog timer driver core does: to send a keepalive ping to the watchdog |
102 | timer hardware it will either use the ping operation (when available) or the | 102 | timer hardware it will either use the ping operation (when available) or the |
103 | start operation (when the ping operation is not available). | 103 | start operation (when the ping operation is not available). |
104 | (Note: the WDIOC_KEEPALIVE ioctl call will only be active when the | ||
105 | WDIOF_KEEPALIVEPING bit has been set in the option field on the watchdog's | ||
106 | info structure). | ||
104 | * status: this routine checks the status of the watchdog timer device. The | 107 | * status: this routine checks the status of the watchdog timer device. The |
105 | status of the device is reported with watchdog WDIOF_* status flags/bits. | 108 | status of the device is reported with watchdog WDIOF_* status flags/bits. |
106 | 109 | ||