summaryrefslogtreecommitdiff
path: root/share/man/man4
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2014-06-28 06:42:43 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2014-06-28 06:42:43 +0000
commitaa40e489325565103aaccd463ca9b5f7c3eb6ad9 (patch)
tree703251cda0a5aa5f9a10484b97f722ce27eac3a3 /share/man/man4
parent109d1fdef822eb88fbc2a427b184734e73a69be3 (diff)
Use Fa for vscsi(4) ioctl() commands.
Diffstat (limited to 'share/man/man4')
-rw-r--r--share/man/man4/vscsi.424
1 files changed, 12 insertions, 12 deletions
diff --git a/share/man/man4/vscsi.4 b/share/man/man4/vscsi.4
index 88e73f53022..2882cd822e4 100644
--- a/share/man/man4/vscsi.4
+++ b/share/man/man4/vscsi.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vscsi.4,v 1.12 2014/06/26 01:36:49 matthew Exp $
+.\" $OpenBSD: vscsi.4,v 1.13 2014/06/28 06:42:42 matthew Exp $
.\"
.\" Copyright (c) 2008 David Gwynne <dlg@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 26 2014 $
+.Dd $Mdocdate: June 28 2014 $
.Dt VSCSI 4
.Os
.Sh NAME
@@ -23,10 +23,10 @@
.Sh SYNOPSIS
.Cd "vscsi0 at root"
.Pp
-.Fd #include <sys/types.h>
-.Fd #include <sys/ioctl.h>
-.Fd #include <scsi/scsi_all.h>
-.Fd #include <dev/vscsivar.h>
+.In sys/types.h
+.In sys/ioctl.h
+.In scsi/scsi_all.h
+.In dev/vscsivar.h
.Sh DESCRIPTION
The
.Nm
@@ -41,7 +41,7 @@ commands are provided to allow userland to dequeue SCSI commands and reply to
them:
.Pp
.Bl -tag -width Ds -compact
-.It VSCSI_I2T (struct vscsi_ioc_i2t *)
+.It VSCSI_I2T Fa "struct vscsi_ioc_i2t *"
Dequeue a SCSI command.
If no SCSI commands are available to dequeue,
.Xr ioctl 2
@@ -71,8 +71,8 @@ struct vscsi_ioc_i2t {
};
.Ed
.Pp
-.It VSCSI_DATA_READ (struct vscsi_ioc_data *)
-.It VSCSI_DATA_WRITE (struct vscsi_ioc_data *)
+.It VSCSI_DATA_READ Fa "struct vscsi_ioc_data *"
+.It VSCSI_DATA_WRITE Fa "struct vscsi_ioc_data *"
Read or write data in response to a SCSI command identified by tag.
.Bd -literal -offset indent
struct vscsi_ioc_data {
@@ -83,7 +83,7 @@ struct vscsi_ioc_data {
};
.Ed
.Pp
-.It VSCSI_T2I (struct vscsi_ioc_t2i *)
+.It VSCSI_T2I Fa "struct vscsi_ioc_t2i *"
Signal completion of a SCSI command identified by tag.
.Bd -literal -offset indent
struct vscsi_ioc_t2i {
@@ -98,8 +98,8 @@ struct vscsi_ioc_t2i {
};
.Ed
.Pp
-.It VSCSI_REQPROBE (struct vscsi_ioc_devevent *)
-.It VSCSI_REQDETACH (struct vscsi_ioc_devevent *)
+.It VSCSI_REQPROBE Fa "struct vscsi_ioc_devevent *"
+.It VSCSI_REQDETACH Fa "struct vscsi_ioc_devevent *"
Request a probe or a detach of the device at the addresses specified by the
target and lun fields.
.Bd -literal -offset indent