From: Randy Dunlap <rdunlap@infradead.org>
To: linux-kernel@vger.kernel.org
Cc: Randy Dunlap <rdunlap@infradead.org>,
Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Wim Van Sebroeck <wim@linux-watchdog.org>,
Guenter Roeck <linux@roeck-us.net>,
linux-watchdog@vger.kernel.org, linux-doc@vger.kernel.org
Subject: [PATCH 2/5] docs: watchdog: pcwd: fix typo and driver info.
Date: Fri, 27 Feb 2026 17:03:59 -0800 [thread overview]
Message-ID: <20260228010402.2389343-3-rdunlap@infradead.org> (raw)
In-Reply-To: <20260228010402.2389343-1-rdunlap@infradead.org>
Correct a typo and some technical info for the pcwd driver.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: Wim Van Sebroeck <wim@linux-watchdog.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: linux-watchdog@vger.kernel.org
Cc: linux-doc@vger.kernel.org
Documentation/watchdog/pcwd-watchdog.rst | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
--- linux-next-20260226.orig/Documentation/watchdog/pcwd-watchdog.rst
+++ linux-next-20260226/Documentation/watchdog/pcwd-watchdog.rst
@@ -29,7 +29,7 @@ Documentation and Driver by Ken Hollis <
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 <
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 <
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
next prev parent reply other threads:[~2026-02-28 1:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-28 1:03 [PATCH 0/5] docs: watchdog: general cleaning and corrections Randy Dunlap
2026-02-28 1:03 ` [PATCH 1/5] docs: watchdog: mlx-wdt: small fixes Randy Dunlap
2026-02-28 1:51 ` Guenter Roeck
2026-02-28 1:03 ` Randy Dunlap [this message]
2026-02-28 1:51 ` [PATCH 2/5] docs: watchdog: pcwd: fix typo and driver info Guenter Roeck
2026-02-28 1:04 ` [PATCH 3/5] docs: watchdog-api: general cleaning Randy Dunlap
2026-02-28 1:53 ` Guenter Roeck
2026-02-28 1:04 ` [PATCH 4/5] docs: watchdog-kernel-api: general cleanups Randy Dunlap
2026-02-28 1:55 ` Guenter Roeck
2026-02-28 1:04 ` [PATCH 5/5] docs: watchdog-parameters: add missing watchdog_core parameters Randy Dunlap
2026-02-28 1:54 ` Guenter Roeck
2026-03-03 17:23 ` [PATCH 0/5] docs: watchdog: general cleaning and corrections Jonathan Corbet
2026-03-23 0:54 ` Randy Dunlap
2026-04-30 22:14 ` Randy Dunlap
2026-04-30 23:21 ` Guenter Roeck
2026-05-03 15:20 ` Jonathan Corbet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260228010402.2389343-3-rdunlap@infradead.org \
--to=rdunlap@infradead.org \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=skhan@linuxfoundation.org \
--cc=wim@linux-watchdog.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox