linux/Documentation/watchdog
Guenter Roeck 90b826f17a watchdog: Implement status function in watchdog core
Up to now, the watchdog status function called a driver function,
which was supposed to return the watchdog status. All but one
driver using the watchdog core did not implement this function,
and the driver implementing it did not implement it correctly
(the function is supposed to return WDIOF_ flags). At the same time,
at least some of the status information can be provided by the watchdog
core.

Provide the available status bits directly from the watchdog driver core.
Call the driver status function if it exists to get the boot status, but
always provide WDIOF_MAGICCLOSE and WDIOF_KEEPALIVEPING internally.
This patch makes the 'status' sysfs attribute always available.
This attribute is now displayed as hex number with 0x prepended to be
easier to decode.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2016-07-19 10:09:07 +02:00
..
src Documentation/watchdog: add support for magic close to watchdog-test 2016-07-17 21:02:32 +02:00
convert_drivers_to_kernel_api.txt watchdog: Add support for WDIOC_GETTIMELEFT IOCTL in watchdog core 2012-03-27 20:15:37 +02:00
hpwdt.txt watchdog: hpwdt: remove email address from doc 2016-07-17 20:54:07 +02:00
Makefile Documentation: use subdir-y to avoid unnecessary built-in.o files 2014-09-26 11:02:55 +02:00
pcwd-watchdog.txt [WATCHDOG] clean-up watchdog documentation 2007-05-24 17:26:11 +00:00
watchdog-api.txt Documentation: fix two typos in watchdog-api.txt 2014-08-05 22:43:21 +02:00
watchdog-kernel-api.txt watchdog: Implement status function in watchdog core 2016-07-19 10:09:07 +02:00
watchdog-parameters.txt Documentation: Add ebc-c384_wdt watchdog-parameters.txt entry 2016-05-14 18:28:29 +02:00
wdt.txt watchdog: update/improve/consolidate watchdog driver 2010-05-25 09:05:34 +00:00