]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - share/man/man4/sbp_targ.4
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / share / man / man4 / sbp_targ.4
1 .\" Copyright (c) 2003 Hidetoshi Shimokawa
2 .\" 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.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\"    must display the acknowledgement as bellow:
14 .\"
15 .\"      This product includes software developed by H. Shimokawa
16 .\"
17 .\" 4. The name of the author may not be used to endorse or promote products
18 .\"    derived from this software without specific prior written permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
21 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22 .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23 .\" DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
24 .\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
25 .\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26 .\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
28 .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
29 .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 .\" POSSIBILITY OF SUCH DAMAGE.
31 .\"
32 .\" $FreeBSD$
33 .\"
34 .Dd November 7, 2003
35 .Dt SBP_TARG 4
36 .Os
37 .Sh NAME
38 .Nm sbp_targ
39 .Nd Serial Bus Protocol 2 (SBP-2) Target Mode devices driver
40 .Sh SYNOPSIS
41 .Cd "kldload firewire"
42 .Cd "kldload cam"
43 .Cd "kldload sbp_targ"
44 .Pp
45 or
46 .Pp
47 .Cd "device sbp_targ"
48 .Cd "device firewire"
49 .Cd "device scbus"
50 .Cd "device targ"
51 .Sh DESCRIPTION
52 The
53 .Nm
54 driver provides support for SBP-2 target mode.
55 This driver is supposed to work with
56 .Xr cam 4 ,
57 .Xr targ 4
58 and
59 .Xr firewire 4 .
60 You also need to use
61 .Xr scsi_target 8 ,
62 which can be found in
63 .Pa /usr/share/examples/scsi_target ,
64 to provide actual devices.
65 .Sh EXAMPLES
66 .Bd -literal -offset indent
67 # mdconfig -a -t malloc -s 10m
68 md0
69 # scsi_target 0:0:0 /dev/md0
70 (Assuming sbp_targ0 on scbus0)
71 .Ed
72 .Sh SEE ALSO
73 .Xr cam 4 ,
74 .Xr firewire 4 ,
75 .Xr targ 4 ,
76 .Xr camcontrol 8 ,
77 .Xr fwcontrol 8 ,
78 .Xr kldload 8 ,
79 .Xr scsi_target 8
80 .Sh AUTHORS
81 .An -nosplit
82 The
83 .Nm
84 driver was written by
85 .An Hidetoshi Shimokawa .
86 .Sh BUGS
87 This driver is
88 .Ud .
89 It does not work correctly in multi-initiator environments
90 or after the bus topology has been changed.