.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "WDT_OPEN" "" "06 October 2005" "" ""
.SH NAME
wdt_open \-
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int wdt_open (struct inode * \fIinode\fB, struct file * \fIfile\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIinode\fB\fR
inode of device
.TP
\fB\fIfile\fB\fR
file handle to device
.SH "DESCRIPTION"
.PP
One of our two misc devices has been opened. The watchdog device is
single open and on opening we load the counters. Counter zero is a
100Hz cascade, into counter 1 which downcounts to reboot. When the
counter triggers counter 2 downcounts the length of the reset pulse
which set set to be as long as possible.