2002-04-19 14:01:18

by Rob Radez

[permalink] [raw]
Subject: Updated Watchdog Updates

I just put up http://osinvestor.com/wd-2.4.19-pre7-7.diff and
http://osinvestor.com/wd-2.4.19-pre7-ac1-1.diff

Changes are pretty minor, mostly changing some values from defines to
values that can be changed on module load/kernel boot.

Regards,
Rob Radez


2002-04-19 17:27:07

by Joel Becker

[permalink] [raw]
Subject: Re: Updated Watchdog Updates

On Fri, Apr 19, 2002 at 10:01:15AM -0400, Rob Radez wrote:
> I just put up http://osinvestor.com/wd-2.4.19-pre7-7.diff and
> http://osinvestor.com/wd-2.4.19-pre7-ac1-1.diff

Rob,
Here's an edit on the WDIOC_SETTIMEOUT ioctl:

WDIOC_SETTIMEOUT:
If the watchdog has a configurable timeout, then this is how and
where it gets set (other than module load or kernel command line).
The passed argument is the new timeout in seconds. Watchdogs
with a granularity that does not allow the new timeout must set
the timeout to the next greater allowable timeout. The watchdog
must never fire in less than the passed timeout. After setting
the new timeout, the ioctl copies the actual timeout in seconds
back to userspace. This allows userspace to know what the
timeout really is.

Thanks,
Joel

--

Life's Little Instruction Book #306

"Take a nap on Sunday afternoons."

Joel Becker
Senior Member of Technical Staff
Oracle Corporation
E-mail: [email protected]
Phone: (650) 506-8127