summaryrefslogtreecommitdiff
path: root/share/man/man4/bio.4
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-06-29 20:04:31 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-06-29 20:04:31 +0000
commit7e050c917342df3bb88bdf33d94c8a95c9aa2a50 (patch)
tree147c1195812d6e2d87587bbde0c9c02a6b6042dd /share/man/man4/bio.4
parent9b661a9a7c0b20395cd1b8e376a65beb432378ca (diff)
a few scetches on the new ioctls
Diffstat (limited to 'share/man/man4/bio.4')
-rw-r--r--share/man/man4/bio.426
1 files changed, 23 insertions, 3 deletions
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