diff options
| author | Randy Dunlap <rdunlap@infradead.org> | 2026-02-28 04:03:59 +0300 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2026-05-03 18:17:55 +0300 |
| commit | 996b4434be0364865e44d1ef3eed67df5fd8ce50 (patch) | |
| tree | 33ea78f93a122a57bcc7a82b54e179bb2d03d546 | |
| parent | 551a7cf2158ce1f3f11e5fa092202fb656e6f8c3 (diff) | |
| download | linux-996b4434be0364865e44d1ef3eed67df5fd8ce50.tar.xz | |
docs: watchdog: pcwd: fix typo and driver info.
Correct a typo and some technical info for the pcwd driver.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260228010402.2389343-3-rdunlap@infradead.org>
| -rw-r--r-- | Documentation/watchdog/pcwd-watchdog.rst | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/Documentation/watchdog/pcwd-watchdog.rst b/Documentation/watchdog/pcwd-watchdog.rst index 151505c856f6..5cd45abe246a 100644 --- a/Documentation/watchdog/pcwd-watchdog.rst +++ b/Documentation/watchdog/pcwd-watchdog.rst @@ -29,7 +29,7 @@ Documentation and Driver by Ken Hollis <kenji@bitgate.com> to run the program with an "&" to run it in the background!) If you want to write a program to be compatible with the PC Watchdog - driver, simply use of modify the watchdog test program: + driver, simply use or modify the watchdog test program: tools/testing/selftests/watchdog/watchdog-test.c @@ -37,16 +37,23 @@ Documentation and Driver by Ken Hollis <kenji@bitgate.com> WDIOC_GETSUPPORT This returns the support of the card itself. This - returns in structure "PCWDS" which returns: + returns in structure watchdog_info: + + identity = "PCWD" + + options = list of supported options:: + WDIOF_OVERHEAT + WDIOF_CARDRESET + WDIOF_KEEPALIVEPING + WDIOF_SETTIMEOUT + WDIOF_MAGICCLOSE - options = WDIOS_TEMPPANIC - (This card supports temperature) firmware_version = xxxx (Firmware version of the card) WDIOC_GETSTATUS This returns the status of the card, with the bits of - WDIOF_* bitwise-anded into the value. (The comments + WDIOF_* bitwise-ored into the value. (The comments are in include/uapi/linux/watchdog.h) WDIOC_GETBOOTSTATUS @@ -55,7 +62,7 @@ Documentation and Driver by Ken Hollis <kenji@bitgate.com> WDIOC_GETTEMP This returns the temperature of the card. (You can also - read /dev/watchdog, which gives a temperature update + read /dev/temperature, which gives a temperature update every second.) WDIOC_SETOPTIONS |
