summaryrefslogtreecommitdiffstats
path: root/share/man/man4/targ.4
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-12-13 21:26:33 +0000
committered <ed@FreeBSD.org>2011-12-13 21:26:33 +0000
commit145914e3e7153161b6dd67fdcd58c7a8201845bc (patch)
treee02efcb01d78c24b732f3a55945ad6e71c726343 /share/man/man4/targ.4
parent84c9c96d4a9d825c7978a804d7c208aacb2d2c67 (diff)
downloadFreeBSD-src-145914e3e7153161b6dd67fdcd58c7a8201845bc.zip
FreeBSD-src-145914e3e7153161b6dd67fdcd58c7a8201845bc.tar.gz
Change targ(4) to use cdevpriv, instead of multiple character devices.
Also update the manpage and the scsi_target example program accordingly. Discussed on: scsi@ Tested by: Chuck Tuffli <chuck tuffli net>
Diffstat (limited to 'share/man/man4/targ.4')
-rw-r--r--share/man/man4/targ.418
1 files changed, 5 insertions, 13 deletions
diff --git a/share/man/man4/targ.4 b/share/man/man4/targ.4
index 5e78200..6c61735 100644
--- a/share/man/man4/targ.4
+++ b/share/man/man4/targ.4
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 15, 2002
+.Dd December 13, 2011
.Dt TARG 4
.Os
.Sh NAME
@@ -49,16 +49,8 @@ can be found in
.Pp
The
.Nm
-driver supplies control devices,
-.Pa /dev/targ0 ,
-.Pa /dev/targ1 ,
-etc.
-If a device is already in use,
-.Xr open 2
-will fail and
-.Va errno
-will be set to
-.Er EBUSY .
+driver supplies the control device
+.Pa /dev/targ .
After opening the device, the file descriptor must be bound to a
specific bus/target/LUN and enabled to process CCBs using the
.Dv TARGIOCENABLE
@@ -123,8 +115,8 @@ it.
describes the usermode interface.
.It Pa /sys/cam/scsi/scsi_target.c
is the driver source file.
-.It Pa /dev/targ*
-are the control devices.
+.It Pa /dev/targ
+is the control device.
.El
.Sh SEE ALSO
.Pa /usr/share/examples/scsi_target ,
OpenPOWER on IntegriCloud