o Document /dev/fido.

PR:		docs/85425
Approved by:	phk
MFC after:	2 weeks
This commit is contained in:
maxim 2006-04-15 17:52:02 +00:00
parent fa23d639eb
commit ca4a49d5e9

View File

@ -42,9 +42,8 @@ The
.Nm
facility is used for controlling hardware and software watchdogs.
.Pp
The interface is through a device named
.Qq Li /dev/
.Dv _PATH_WATCHDOG
The interface is through a device
.Pa /dev/fido
which responds to a single
.Xr ioctl 2
call,
@ -77,7 +76,7 @@ length, all watchdogs are disabled and must be explicitly re-enabled.
.\" XXX insert some descriptive text here
.Bd -literal -offset indent
u_int u = WD_ACTIVE | WD_TO_8SEC;
int fd = open("/dev/" _PATH_WATCHDOG, O_RDWR);
int fd = open("/dev/fido", O_RDWR);
ioctl(fd, WDIOCPATPAT, &u);
.Ed