From: "Andrew Dyer" <amdyer@gmail.com>
To: wim@iguana.be
Cc: linux-kernel@vger.kernel.org
Subject: watchdog behaviour on close? (watchdog-api.txt)
Date: Tue, 18 Dec 2007 11:41:05 -0600 [thread overview]
Message-ID: <c166aa9f0712180941o765cba7fxf31705560a51a06c@mail.gmail.com> (raw)
Hi, I am trying to implement a watchdog driver in 2.6.23 for the i.MXL
cpu (based off of drivers/char/watchdog/s3c2410_wdt.c).
I had a question about the api doc for the watchdog
(Documentation/watchdog-api.txt). Line 37 says "When the device is
closed, the watchdog is disabled." Later on (Line 56) it says
"Drivers will not disable the watchdog, unless a specific magic
character 'V' has been sent /dev/watchdog just before closing the
file."
I would assume that from reading L37 that the driver would
unconditionally shut down the watchdog when closing (unless
CONFIG_WATCHDOG_NOWAYOUT or the nowayout module param is specified),
but line 56 seems to contradict that.
Can you clarify the intended behaviour?
I am not subscribed to the mailing list, so please cc: replies to me.
--
Hardware, n.:
The parts of a computer system that can be kicked.
next reply other threads:[~2007-12-18 17:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-18 17:41 Andrew Dyer [this message]
2008-01-03 21:42 ` Wim Van Sebroeck
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=c166aa9f0712180941o765cba7fxf31705560a51a06c@mail.gmail.com \
--to=amdyer@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=wim@iguana.be \
/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
all inboxes | Powered by JetHome®