lkml.org 
[lkml]   [2002]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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: joel.becker@oracle.com
Phone: (650) 506-8127
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.049 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site