|
@@ -156,6 +156,11 @@ they are supported. These optional routines/operations are:
|
|
because the watchdog does not necessarily has a 1 second resolution).
|
|
because the watchdog does not necessarily has a 1 second resolution).
|
|
(Note: the WDIOF_SETTIMEOUT needs to be set in the options field of the
|
|
(Note: the WDIOF_SETTIMEOUT needs to be set in the options field of the
|
|
watchdog's info structure).
|
|
watchdog's info structure).
|
|
|
|
+ If the watchdog driver does not have to perform any action but setting the
|
|
|
|
+ watchdog_device.timeout, this callback can be omitted.
|
|
|
|
+ If set_timeout is not provided but, WDIOF_SETTIMEOUT is set, the watchdog
|
|
|
|
+ infrastructure updates the timeout value of the watchdog_device internally
|
|
|
|
+ to the requested value.
|
|
* get_timeleft: this routines returns the time that's left before a reset.
|
|
* get_timeleft: this routines returns the time that's left before a reset.
|
|
* restart: this routine restarts the machine. It returns 0 on success or a
|
|
* restart: this routine restarts the machine. It returns 0 on success or a
|
|
negative errno code for failure.
|
|
negative errno code for failure.
|