]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - share/man/man4/isp.4
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / share / man / man4 / isp.4
1 .\"     $NetBSD: isp.4,v 1.5 1999/12/18 18:33:05 mjacob Exp $
2 .\"
3 .\" Copyright (c) 1998, 1999, 2001
4 .\"     Matthew Jacob, for NASA/Ames Research Center
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\"    notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\"    notice, this list of conditions and the following disclaimer in the
13 .\"    documentation and/or other materials provided with the distribution.
14 .\" 3. The name of the author may not be used to endorse or promote products
15 .\"    derived from this software without specific prior written permission.
16 .\"
17 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 .\"
28 .\" Additional Copyright (c) 2006 by Marcus Alves Grando
29 .\"
30 .\" $FreeBSD$
31 .\"
32 .Dd February 28, 2007
33 .Dt ISP 4
34 .Os
35 .Sh NAME
36 .Nm isp
37 .Nd Qlogic based SCSI and FibreChannel SCSI Host Adapters
38 .Sh SYNOPSIS
39 To compile this driver into the kernel,
40 place the following lines in your
41 kernel configuration file:
42 .Bd -ragged -offset indent
43 .Cd "device scbus"
44 .Cd "device isp"
45 .Ed
46 .Pp
47 Alternatively, to load the driver as a
48 module at boot time, place the following line in
49 .Xr loader.conf 5 :
50 .Bd -literal -offset indent
51 isp_load="YES"
52 .Ed
53 .Sh DESCRIPTION
54 This driver provides access to
55 .Tn SCSI
56 or
57 .Tn FibreChannel
58 devices.
59 .Pp
60 SCSI features include support for Ultra SCSI and wide mode transactions
61 for
62 .Tn SCSI ,
63 Ultra2 LVD (for the ISP1080 and ISP1280), and Ultra3 LVD (for the
64 ISP12160).
65 .Pp
66 Fibre Channel support uses FCP SCSI profile for
67 .Tn FibreChannel .
68 and utilizes Class 3 and Class 2 connections (Qlogic 2100 is Class
69 3 only, minor patches to the Qlogic 2200 to force Class 2 mode).
70 Support is available for Public and Private loops, and for
71 point-to-point connections (Qlogic 2200 only).
72 The newer 2-Gigabit cards (2300, 2312, 2322) and 4-Gigabit (2422, 2432)
73 are also supported.
74 Command tagging is
75 supported for all (in fact,
76 .Tn FibreChannel
77 requires tagging).
78 Fabric support is enabled by default for other than 2100 cards.
79 Fabric
80 support for 2100 cards has been so problematic and these cards are so
81 old now that it is just not worth your time to try it.
82 .Sh FIRMWARE
83 Firmware is available if the
84 .Xr ispfw 4
85 module is loaded during bootstrap (q.v.).
86 .Pp
87 It is
88 .Ar strongly
89 recommended that you use the firmware available
90 from
91 .Xr ispfw 4
92 as it is the most likely to have been tested with this driver.
93 .Sh HARDWARE
94 Cards supported by the
95 .Nm
96 driver include:
97 .Pp
98 .Bl -tag -width xxxxxx -offset indent
99 .It ISP1000
100 SBus Fast Wide, Ultra Fast Wide cards, Single Ended or Differential
101 cards.
102 .It ISP1020
103 Qlogic 1020 Fast Wide and Differential Fast Wide PCI cards.
104 .It ISP1040
105 Qlogic 1040 Ultra Wide and Differential Ultra Wide PCI cards.
106 Also known as the DEC KZPBA-CA (single ended) and KZPBA-CB (HVD differential).
107 .It Qlogic 1240
108 Qlogic 1240 Dual Bus Ultra Wide and Differential Ultra Wide PCI
109 cards.
110 .It Qlogic 1020
111 Qlogic 1020 SCSI cards.
112 .It Qlogic 1040
113 Qlogic 1040 Ultra SCSI cards.
114 .It Qlogic 1080
115 Qlogic 1280 LVD Ultra2 Wide PCI cards.
116 .It Qlogic 1280
117 Qlogic 1280 Dual Bus LVD Ultra2 Wide PCI cards.
118 .It Qlogic 12160
119 Qlogic 12160 Dual Bus LVD Ultra3 Wide PCI cards.
120 .It Qlogic 210X
121 Qlogic 2100 and 2100A Copper and Optical Fibre Channel Arbitrated
122 Loop (single, dual).
123 .It Qlogic 220X
124 Qlogic 2200 Copper and Optical Fibre Channel Arbitrated Loop PCI
125 cards (single, dual, quad).
126 .It Qlogic 2300
127 Qlogic 2300 Optical Fibre Channel PCI cards.
128 .It Qlogic 2312
129 Qlogic 2312 Optical Fibre Channel PCI cards.
130 .It Qlogic 234X
131 Qlogic 234X Optical Fibre Channel PCI cards (2312 chipset, single and dual attach).
132 .It Qlogic 2322
133 Qlogic 2322 Optical Fibre Channel PCIe cards.
134 .It Qlogic 200
135 Dell Branded version of the QLogic 2312 Fibre Channel PCI cards.
136 .It Qlogic 2422
137 Qlogic 2422 Optical Fibre Channel PCI cards (4 Gigabit)
138 .It Qlogic 2432
139 Qlogic 2432 Optical Fibre Channel PCIe cards (4 Gigabit)
140 .El
141 .Sh CONFIGURATION OPTIONS
142 .Pp
143 Target mode support may be enabled with the
144 .Pp
145 .Cd options ISP_TARGET_MODE
146 .Pp
147 option.
148 .Sh BOOT OPTIONS
149 The following options are switchable by setting values in
150 .Pa /boot/device.hints .
151 .Pp
152 They are:
153 .Bl -tag -width indent
154 .It Va hint.isp.0.disable
155 A hint value to disable driver in kernel.
156 .It Va hint.isp.0.fwload_disable
157 A hint value to disable loading of firmware
158 .Xr ispfw 4 .
159 .It Va hint.isp.0.prefer_memmap
160 A hint value to use PCI memory space instead of I/O space
161 access for.
162 .It Va hint.isp.0.prefer_iomap
163 A hint value to use PCI I/O space instead of Memory space
164 access for.
165 .It Va hint.isp.0.ignore_nvram
166 A hint value to ignore board NVRAM settings for.
167 Otherwise use NVRAM settings.
168 .It Va hint.isp.0.fullduplex
169 A hint value to set full duplex mode.
170 .It Va hint.isp.0.topology
171 A hint value to select topology of connection.
172 Supported values are:
173 .Pp
174 .Bl -tag -width ".Li lport-only" -compact
175 .It Li lport
176 Prefer loopback and fallback to point to point.
177 .It Li nport
178 Prefer point to point and fallback to loopback.
179 .It Li lport-only
180 Loopback only.
181 .It Li nport-only
182 Point to point only.
183 .El
184 .It Va hint.isp.0.portwwn
185 This should be the full 64 bit World Wide Port Name you would like
186 to use, overriding the value in NVRAM for the card.
187 .It Va hint.isp.0.nodewwn
188 This should be the full 64 bit World Wide Node Name you would like
189 to use, overriding the value in NVRAM for the card.
190 .It Va hint.isp.0.iid
191 A hint to override or set the Initiator ID or Loop ID.
192 For Fibre Channel
193 cards in Local Loop topologies it is
194 .Ar strongly
195 recommended that you set this value to non-zero.
196 .It Va hint.isp.0.role
197 A hint to define default role for isp instance (target, initiator, both).
198 .It Va hint.isp.0.debug
199 A hint value for a driver debug level (see the file
200 .Pa /usr/src/sys/dev/isp/ispvar.h
201 for the values.
202 .El
203 .Sh SYSCTL OPTIONS
204 .Pp
205 .Bl -tag -width indent
206 .It Va dev.isp.N.loop_down_limit
207 This value says how long to wait in seconds after loop has gone down before
208 giving up and expiring all of the devices that were visible.
209 The default is 300 seconds (5 minutes).
210 A seperate (nonadjustable) timeout is used when
211 booting to not stop booting on lack of FC connectivity.
212 .It Va dev.isp.N.gone_device_time
213 This value says how long to wait for devices to reappear if they (temporarily)
214 disappear due to loop or fabric events.
215 While this timeout is running, I/O
216 to those devices will simply be held.
217 .It Va dev.isp.N.wwnn
218 This is the readonly World Wide Node Name value for this port.
219 .It Va dev.isp.N.wwpn
220 This is the readonly World Wide Port Name value for this port.
221 .El
222 .Sh SEE ALSO
223 .Xr da 4 ,
224 .Xr intro 4 ,
225 .Xr ispfw 4 ,
226 .Xr sa 4 ,
227 .Xr scsi 4 ,
228 .Xr gmultipath 8
229 .Sh AUTHORS
230 The
231 .Nm
232 driver was written by Matthew Jacob originally for NetBSD at
233 NASA/Ames Research Center.
234 .Sh BUGS
235 The driver currently ignores some NVRAM settings.
236 .Pp
237 Target mode support is not completely reliable yet.
238 It works reasonably
239 well for Fibre Channel, somewhat well for Qlogic 1040 cards, but
240 does not yet work for the other cards (due to last minute unannounced
241 changes in firmware interfaces).