targ.4 (107728) | targ.4 (109345) |
---|---|
1.\" Copyright (c) 2002 2.\" Nate Lawson. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" | 1.\" Copyright (c) 2002 2.\" Nate Lawson. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/share/man/man4/targ.4 107728 2002-12-10 14:21:55Z ru $ | 25.\" $FreeBSD: head/share/man/man4/targ.4 109345 2003-01-16 00:24:29Z njl $ |
26.\" 27.Dd November 15, 2002 28.Dt TARG 4 29.Os 30.Sh NAME 31.Nm targ 32.Nd SCSI target emulator driver 33.Sh SYNOPSIS --- 9 unchanged lines hidden (view full) --- 43.Pa /usr/share/examples/scsi_target . 44.Pp 45The 46.Nm 47driver supplies control devices, 48.Pa /dev/targ0 , 49.Pa /dev/targ1 , 50etc. | 26.\" 27.Dd November 15, 2002 28.Dt TARG 4 29.Os 30.Sh NAME 31.Nm targ 32.Nd SCSI target emulator driver 33.Sh SYNOPSIS --- 9 unchanged lines hidden (view full) --- 43.Pa /usr/share/examples/scsi_target . 44.Pp 45The 46.Nm 47driver supplies control devices, 48.Pa /dev/targ0 , 49.Pa /dev/targ1 , 50etc. |
51If a device is already in use, the open will fail and | 51If a device is already in use, open(2) will fail and |
52.Va errno 53will be set to 54.Er EBUSY . 55After opening the device, the file descriptor must be bound to a 56specific bus/target/LUN and enabled to process CCBs using the 57.Dv TARGIOCENABLE 58ioctl. 59The process then uses --- 56 unchanged lines hidden (view full) --- 116describes the usermode interface. 117.It Pa /sys/cam/scsi/scsi_target.c 118is the driver source file. 119.It Pa /dev/targ* 120are the control devices. 121.El 122.Sh SEE ALSO 123.Pa /usr/share/examples/scsi_target , | 52.Va errno 53will be set to 54.Er EBUSY . 55After opening the device, the file descriptor must be bound to a 56specific bus/target/LUN and enabled to process CCBs using the 57.Dv TARGIOCENABLE 58ioctl. 59The process then uses --- 56 unchanged lines hidden (view full) --- 116describes the usermode interface. 117.It Pa /sys/cam/scsi/scsi_target.c 118is the driver source file. 119.It Pa /dev/targ* 120are the control devices. 121.El 122.Sh SEE ALSO 123.Pa /usr/share/examples/scsi_target , |
124.Xr ahc 4 , 125.Xr isp 4 , |
|
124.Xr scsi 4 125.Rs 126.%T "FreeBSD Target Information" 127.%O http://www.root.org/~nate/freebsd/ 128.Re 129.Sh BUGS 130Currently, only the 131.Xr ahc 4 | 126.Xr scsi 4 127.Rs 128.%T "FreeBSD Target Information" 129.%O http://www.root.org/~nate/freebsd/ 130.Re 131.Sh BUGS 132Currently, only the 133.Xr ahc 4 |
132driver fully supports target mode. 133The 134.Xr isp 4 | |
135and | 134and |
136.Xr sym 4 137drivers have some target mode support but are untested. | 135.Xr isp 4 136drivers fully support target mode. |
138.Pp 139The 140.Xr ahc 4 141driver does not support tagged queuing in target mode. 142.Sh AUTHORS 143.An -nosplit 144The 145.Nm 146driver first appeared in 147.Fx 3.0 148and was written by 149.An Justin T. Gibbs . 150It was rewritten 151for 152.Fx 5.0 153by 154.An Nate Lawson Aq nate@root.org . | 137.Pp 138The 139.Xr ahc 4 140driver does not support tagged queuing in target mode. 141.Sh AUTHORS 142.An -nosplit 143The 144.Nm 145driver first appeared in 146.Fx 3.0 147and was written by 148.An Justin T. Gibbs . 149It was rewritten 150for 151.Fx 5.0 152by 153.An Nate Lawson Aq nate@root.org . |