From 7e050c917342df3bb88bdf33d94c8a95c9aa2a50 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Wed, 29 Jun 2005 20:04:31 +0000 Subject: a few scetches on the new ioctls --- share/man/man4/bio.4 | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) (limited to 'share/man/man4/bio.4') diff --git a/share/man/man4/bio.4 b/share/man/man4/bio.4 index fd73ad12d78..f74c86dbe26 100644 --- a/share/man/man4/bio.4 +++ b/share/man/man4/bio.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bio.4,v 1.7 2004/08/25 23:58:14 jmc Exp $ +.\" $OpenBSD: bio.4,v 1.8 2005/06/29 20:04:30 mickey Exp $ .\" .\" Copyright (c) 2002 Niklas Hallqvist .\" All rights reserved. @@ -61,11 +61,29 @@ The following calls apply to the .Nm bio device: -.Bl -tag -width BIOCLOCATE +.Bl -tag -width BIOCCAPABILITIES .It Dv BIOCLOCATE Locate a named device and give back a cookie to the application for subsequent ioctl calls. The cookie is used to tunnel further ioctls to the right device. +.It Dv BIOCPING +Check upon the device to see it's alive. +Increments a counter to signify the OK condition. +.It Dv BIOCCAPABILITIES +Return information about ioctl commands, raid levels and other +features supported. +.It Dv BIOCALARM +Control the alarm beeper on the device. +.It Dv BIOCSCSICMD +Tunnel a SCSI command into one of the busses on the device. +May not be supported shall the device not employ SCSI. +.It Dv BIOCSTARTSTOP +Start or Stop one of the component drives. +.It Dv BIOCSTATUS +Retrieve device status including physical drives, logical drives +and battery module. +.It Dv BIOCBLINK +Blink a led on one of the drives (to be replaced). .El .Sh FILES .Bl -tag -width /dev/bio -compact @@ -74,7 +92,9 @@ ioctl tunnel device .El .Sh SEE ALSO .Xr ioctl 2 , -.Xr gdt 4 +.Xr ami 4 , +.Xr gdt 4 , +.Xr bioctl 8 .Sh HISTORY The .Nm -- cgit v1.2.3