1 .\" $NetBSD: isp.4,v 1.5 1999/12/18 18:33:05 mjacob Exp $
3 .\" Copyright (c) 1998, 1999, 2001
4 .\" Matthew Jacob, for NASA/Ames Research Center
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
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.
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.
28 .\" Additional Copyright (c) 2006 by Marcus Alves Grando
37 .Nd Qlogic based SCSI and FibreChannel SCSI Host Adapters
41 For one or more SCSI busses:
44 This driver provides access to
50 SCSI features include support for Ultra SCSI and wide mode transactions
53 Ultra2 LVD (for the ISP1080 and ISP1280), and Ultra3 LVD (for the
56 Fibre Channel support uses FCP SCSI profile for
58 and utilizes Class 3 and Class 2 connections (Qlogic 2100 is Class
59 3 only, minor patches to the Qlogic 2200 to force Class 2 mode).
60 Support is available for Public and Private loops, and for
61 point-to-point connections (Qlogic 2200 only).
62 The newer 2-Gigabit cards (2300, 2312) are also supported.
64 supported for all (in fact,
67 Fabric support is enabled by default (but may
68 be contingent upon the correct firmware being loaded).
70 Firmware is now available if the
72 module is loaded during bootstrap (q.v.).
74 It is very strongly recommended that you use the firmware available
77 as it is the most likely to have been tested with this driver.
79 Cards supported by the
83 .Bl -tag -width xxxxxx -offset indent
85 SBus Fast Wide, Ultra Fast Wide cards, Single Ended or Differential
88 Qlogic 1020 Fast Wide and Differential Fast Wide PCI cards.
90 Qlogic 1040 Ultra Wide and Differential Ultra Wide PCI cards.
91 Also known as the DEC KZPBA-CA (single ended) and KZPBA-CB (HVD differential).
93 Qlogic 1240 Dual Bus Ultra Wide and Differential Ultra Wide PCI
96 Qlogic 1020 SCSI cards.
98 Qlogic 1040 Ultra SCSI cards.
100 Qlogic 1280 LVD Ultra2 Wide PCI cards.
102 Qlogic 1280 Dual Bus LVD Ultra2 Wide PCI cards.
104 Qlogic 12160 Dual Bus LVD Ultra3 Wide PCI cards.
106 Qlogic 2100 and 2100A Copper and Optical Fibre Channel Arbitrated
109 Qlogic 2200 Copper and Optical Fibre Channel Arbitrated Loop PCI
110 cards (single, dual, quad).
112 Qlogic 2300 Optical Fibre Channel PCI cards.
114 Qlogic 2312 Optical Fibre Channel PCI cards.
116 Qlogic 234X Optical Fibre Channel PCI cards (2312 chipset, single and dual attach).
118 Qlogic 2322 Optical Fibre Channel PCI cards.
120 Dell Branded version of the QLogic 2312 Fibre Channel PCI cards.
122 .Sh CONFIGURATION OPTIONS
124 Target mode support may be enabled with the
126 .Cd options ISP_TARGET_MODE
130 The following options are switchable by setting values in
131 .Pa /boot/device.hints .
135 .Bl -tag -width indent
136 .It Va hint.isp.0.disable
137 A hint value to disable driver in kernel.
138 .It Va hint.iso.0.fwload_disable
139 A hint value to disable loading of firmware
141 .It Va hint.isp.0.prefer_memmap
142 A hint value to use PCI Memory space instead of I/O space
144 .It Va hint.isp.0.prefer_iomap
145 A hint value to use PCI I/O space instead of Memory space
147 .It Va hint.isp.0.ignore_nvram
148 A hint value to ignore board NVRAM settings for. Otherwise
150 .It Va hint.isp.0.fullduplex
151 A hint value to set full duplex mode.
152 .It Va hint.isp.0.topology
153 A hint value to select topology of connection. Supported
157 (Prefer loopback and fallback to point to point).
160 (Prefer point to point and fallback to loopback).
166 (Point to point only).
168 .It Va hint.isp.0.portwwn
169 This should be the full 64 bit World Wide Port Name you would like
170 to use, overriding the value in NVRAM for the card.
171 .It Va hint.isp.0.nodewwn
172 This should be the full 64 bit World Wide Node Name you would like
173 to use, overriding the value in NVRAM for the card.
174 .It Va hint.isp.0.iid
175 A hint to override or set the Initiator ID (principally for SPI SCSI).
176 .It Va hint.isp.0.role
177 A hint to define default role for isp instance (target, initiator, both).
178 .It Va hint.isp.0.debug
179 A hint value for a driver debug level (values from 0 through 7).
191 driver was written by Matthew Jacob for NASA/Ames Research Center.
193 The driver currently ignores some NVRAM settings.
195 The driver currently does not do error recovery for timed out commands
198 Target mode support is not completely debugged yet.
200 well for Fibre Channel, somewhat well for Qlogic 1040 cards, but
201 does not yet work for the other cards (due to last minute unannounced
202 changes in firmware interfaces).
204 Sometimes, when booting, the driver gets stuck waiting for the
205 Fibre Channel f/w to tell it that the loop port database is ready,
206 or waiting for a good loop to be seen (this does not yet support
207 booting without being connected to a fibre channel device).
209 unwedge the system, unplug and replug the fibre channel connection,
210 or otherwise cause a LIP (Loop Initialization Primitive sequence)-
211 this will kick the f/w into getting unstuck.
213 QLogic 2322 support is limited to platforms where the BIOS can
214 enable firmware as there is no code yet to do the 3 stage loading