xref: /freebsd/share/man/man4/isp.4 (revision b128a303c7a88b74852b3880a546566861828c59)
1a90b37e0SMatt Jacob.\"     $FreeBSD$
2a90b37e0SMatt Jacob.\"     $NetBSD: isp.4,v 1.5 1999/12/18 18:33:05 mjacob Exp $
3a90b37e0SMatt Jacob.\"
4a90b37e0SMatt Jacob.\" Copyright (c) 1998, 1999
5a90b37e0SMatt Jacob.\"     Matthew Jacob, for NASA/Ames Research Center
6a90b37e0SMatt Jacob.\"
7a90b37e0SMatt Jacob.\" Redistribution and use in source and binary forms, with or without
8a90b37e0SMatt Jacob.\" modification, are permitted provided that the following conditions
9a90b37e0SMatt Jacob.\" are met:
10a90b37e0SMatt Jacob.\" 1. Redistributions of source code must retain the above copyright
11a90b37e0SMatt Jacob.\"    notice, this list of conditions and the following disclaimer.
12a90b37e0SMatt Jacob.\" 2. Redistributions in binary form must reproduce the above copyright
13a90b37e0SMatt Jacob.\"    notice, this list of conditions and the following disclaimer in the
14a90b37e0SMatt Jacob.\"    documentation and/or other materials provided with the distribution.
15a90b37e0SMatt Jacob.\" 3. The name of the author may not be used to endorse or promote products
163f7da69fSMike Pritchard.\"    derived from this software without specific prior written permission.
17a90b37e0SMatt Jacob.\"
18a90b37e0SMatt Jacob.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
19a90b37e0SMatt Jacob.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20a90b37e0SMatt Jacob.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21a90b37e0SMatt Jacob.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22a90b37e0SMatt Jacob.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23a90b37e0SMatt Jacob.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24a90b37e0SMatt Jacob.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25a90b37e0SMatt Jacob.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26a90b37e0SMatt Jacob.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27a90b37e0SMatt Jacob.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28a90b37e0SMatt Jacob.\"
29a90b37e0SMatt Jacob.\"
303f7da69fSMike Pritchard.Dd February 14, 2000
31a90b37e0SMatt Jacob.Dt ISP 4
32a90b37e0SMatt Jacob.Os
33a90b37e0SMatt Jacob.Sh NAME
34a90b37e0SMatt Jacob.Nm isp
35a90b37e0SMatt Jacob.Nd Qlogic based SCSI and FibreChannel SCSI Host Adapters
36a90b37e0SMatt Jacob.Sh SYNOPSIS
37a90b37e0SMatt Jacob.Cd "device isp"
38a90b37e0SMatt Jacob.Pp
39a90b37e0SMatt JacobFor one or more SCSI busses:
40a90b37e0SMatt Jacob.Cd device scbus0
41a90b37e0SMatt Jacob.Sh DESCRIPTION
42a90b37e0SMatt JacobThis driver provides access to
43a90b37e0SMatt Jacob.Tn SCSI
44a90b37e0SMatt Jacobor
45a90b37e0SMatt Jacob.Tn FibreChannel
46a90b37e0SMatt Jacobdevices.
47a90b37e0SMatt Jacob.Pp
485f4796c0SMatt JacobSCSI features include support for Ultra SCSI and wide mode transactions
495f4796c0SMatt Jacobfor
50a90b37e0SMatt Jacob.Tn SCSI ,
515f4796c0SMatt JacobUltra2 LVD (for the ISP1080 and ISP1280), and Ultra3 LVD (for the
525f4796c0SMatt JacobISP12160).
53a90b37e0SMatt Jacob.Pp
54a90b37e0SMatt JacobFibre Channel support uses FCP SCSI profile for
55a90b37e0SMatt Jacob.Tn FibreChannel .
565f4796c0SMatt Jacoband utilizes Class 3 and Class 2 connections (Qlogic 2100 is Class
575f4796c0SMatt Jacob3 only, minor patches to the Qlogic 2200 to force Class 2 mode).
585f4796c0SMatt JacobSupport is available for Public and Private loops, and for
595f4796c0SMatt Jacobpoint-to-point connections (Qlogic 2200 only).  Command tagging is
605f4796c0SMatt Jacobsupported for all (in fact,
61a90b37e0SMatt Jacob.Tn FibreChannel
625f4796c0SMatt Jacobrequires tagging). Fabric support is enabled by default (but may
635f4796c0SMatt Jacobbe contingent upon the correct firmware being loaded).
645f4796c0SMatt Jacob.Sh FIRMWARE
655f4796c0SMatt JacobFirmware is now available if the
665f4796c0SMatt Jacob.Xr ispfw 4
675f4796c0SMatt Jacobmodule is loaded during bootstrap (q.v.).
68b128a303SMatt Jacob.Pp
69b128a303SMatt JacobIt is very strongly recommended that you use the firmware available
70b128a303SMatt Jacobfrom
71b128a303SMatt Jacob.Xr ispfw 4
72b128a303SMatt Jacobas it is the most likely to have been tested with this driver.
73a90b37e0SMatt Jacob.Sh HARDWARE
74a90b37e0SMatt JacobSupported cards include:
75a90b37e0SMatt Jacob.Pp
76a90b37e0SMatt Jacob.Bl -tag -width xxxxxx -offset indent
77a90b37e0SMatt Jacob.It ISP1000
785f4796c0SMatt JacobSBus Fast Wide, Ultra Fast Wide cards, Single Ended or Differential
795f4796c0SMatt Jacobcards.
80a90b37e0SMatt Jacob.It PTI SBS440
813f7da69fSMike PritchardPerformance Technology ISP1000 variants.
82a90b37e0SMatt Jacob.It ISP1020
83a90b37e0SMatt JacobQlogic 1020 Fast Wide and Differential Fast Wide PCI cards.
84a90b37e0SMatt Jacob.It ISP1040
85a90b37e0SMatt JacobQlogic 1040 Ultra Wide and Differential Ultra Wide PCI cards.
86a90b37e0SMatt Jacob.It PTI SBS450
873f7da69fSMike PritchardPerformance Technology ISP1040 variants.
88a90b37e0SMatt Jacob.It Qlogic 1240
895f4796c0SMatt JacobQlogic 1240 Dual Bus Ultra Wide and Differential Ultra Wide PCI
905f4796c0SMatt Jacobcards.
91a90b37e0SMatt Jacob.It Qlogic 1080
92a90b37e0SMatt JacobQlogic 1280 LVD Ultra2 Wide PCI cards.
93a90b37e0SMatt Jacob.It Qlogic 1280
94a90b37e0SMatt JacobQlogic 1280 Dual Bus LVD Ultra2 Wide PCI cards.
95a90b37e0SMatt Jacob.It Qlogic 12160
96a90b37e0SMatt JacobQlogic 12160 Dual Bus LVD Ultra3 Wide PCI cards.
97a90b37e0SMatt Jacob.It Qlogic 2100
985f4796c0SMatt JacobQlogic 2100 and 2100A Copper and Optical Fibre Channel Arbitrated
995f4796c0SMatt JacobLoop
100a90b37e0SMatt Jacob.It Qlogic 2102
1015f4796c0SMatt JacobQlogic Dual Loop 2100A Optical Fibre Channel Arbitrated Loop PCI
1025f4796c0SMatt Jacobcards.
103a90b37e0SMatt Jacob.It Qlogic 2200
1045f4796c0SMatt JacobQlogic 2200 Copper and Optical Fibre Channel Arbitrated Loop PCI
1055f4796c0SMatt Jacobcards.
106a90b37e0SMatt Jacob.It Qlogic 2202
1075f4796c0SMatt JacobQlogic 2200 Dual Bus Optical Fibre Channel Arbitrated Loop PCI
1085f4796c0SMatt Jacobcards.
109a90b37e0SMatt Jacob.It PTI SBS470
1103f7da69fSMike PritchardPerformance Technology ISP2100 variants.
111a90b37e0SMatt Jacob.It Antares P-0033
112a90b37e0SMatt JacobAntares Microsystems ISP2100 variants.
113a90b37e0SMatt Jacob.El
114a90b37e0SMatt Jacob.Sh CONFIGURATION OPTIONS
115a90b37e0SMatt Jacob.Pp
1165f4796c0SMatt JacobTarget mode support may be enabled with the
117726b61abSRuslan Ermilov.Pp
118a90b37e0SMatt Jacob.Cd options ISP_TARGET_MODE
119726b61abSRuslan Ermilov.Pp
120a90b37e0SMatt Jacoboption.
121a90b37e0SMatt Jacob.Sh BOOT OPTIONS
1225f4796c0SMatt JacobThe following options are switchable by setting values in the loader
123a90b37e0SMatt Jacobconfiguration file (see the
124a90b37e0SMatt Jacob.Xr loader 8
125a90b37e0SMatt Jacobmanual page). They are:
126726b61abSRuslan Ermilov.Pp
127a90b37e0SMatt Jacob.Bl -tag -width "isp_no_fwload" -compact
128a90b37e0SMatt Jacob.It isp_disable
129a90b37e0SMatt JacobA bit mask of units to skip configuration for.
130a90b37e0SMatt Jacob.It isp_mem_map
1315f4796c0SMatt JacobA bit mask of units to use PCI Memory space instead of I/O space
1325f4796c0SMatt Jacobaccess for.
133a90b37e0SMatt Jacob.It isp_io_map
1345f4796c0SMatt JacobA bit mask of units to use PCI I/O space instead of Memory space
1355f4796c0SMatt Jacobaccess for.
136a90b37e0SMatt Jacob.It isp_no_nvram
1375f4796c0SMatt JacobA bit mask of units that you wish to ignore board NVRAM settings
1385f4796c0SMatt Jacobfor.
139a90b37e0SMatt Jacob.It isp_nvram
1405f4796c0SMatt JacobA bit mask of units that you wish to specifically use board NVRAM
1415f4796c0SMatt Jacobsettings for.
142a90b37e0SMatt Jacob.It isp_fcduplex
143a90b37e0SMatt JacobA bit mask of units that you wish to specifically to set into full
144a90b37e0SMatt Jacobduplex mode.
145a90b37e0SMatt Jacob.It isp_no_fcduplex
1465f4796c0SMatt JacobA bit mask of units that you wish to specifically to not set into
1475f4796c0SMatt Jacobfull duplex mode.
148a90b37e0SMatt Jacob.It isp_wwn
1495f4796c0SMatt JacobThis should be the full 64 bit World Wide Node Name you would like
1505f4796c0SMatt Jacobto use, overriding the value in NVRAM for the card.
151a90b37e0SMatt Jacob.It isp_debug
152a90b37e0SMatt JacobThis is a driver debug level- meaningful from 0 through 7.
153a90b37e0SMatt Jacob.It isp_tdebug
1545f4796c0SMatt JacobThis is a driver target mode debug level- meaningful from 0 through
1555f4796c0SMatt Jacob5.
156a90b37e0SMatt Jacob.El
157a90b37e0SMatt Jacob.Sh BUGS
158a90b37e0SMatt JacobThe driver currently ignores some NVRAM settings.
159a90b37e0SMatt Jacob.Pp
160a90b37e0SMatt JacobThe driver currently doesn't do error recovery for timed out commands
161a90b37e0SMatt Jacobvery gracefully.
162a90b37e0SMatt Jacob.Pp
1635f4796c0SMatt JacobTarget mode support isn't completely debugged yet. It works reasonably
1645f4796c0SMatt Jacobwell for Fibre Channel, somewhat well for Qlogic 1040 cards, but
1655f4796c0SMatt Jacobdoesn't yet work for the other cards (due to last minute unnanounced
1665f4796c0SMatt Jacobchanges in firmware interfaces).
167a90b37e0SMatt Jacob.Pp
1685f4796c0SMatt JacobSometimes, when booting, the driver gets stuck waiting for the
1695f4796c0SMatt JacobFibre Channel f/w to tell it that the loop port database is ready,
1705f4796c0SMatt Jacobor waiting for a good loop to be seen (this does not yet support
1715f4796c0SMatt Jacobbooting without being connected to a fibre channel device).  To
1725f4796c0SMatt Jacobunwedge the system, unplug and replug the fibre channel connection,
1735f4796c0SMatt Jacobor otherwise cause a LIP (Loop Initialization Primitive sequence)-
1745f4796c0SMatt Jacobthis will kick the f/w into getting unstuck.
175a90b37e0SMatt Jacob.Sh SEE ALSO
176a90b37e0SMatt Jacob.Xr da 4 ,
1775521ff5aSRuslan Ermilov.Xr intro 4 ,
1785521ff5aSRuslan Ermilov.Xr sa 4 ,
1795521ff5aSRuslan Ermilov.Xr scsi 4
180251c176fSRuslan Ermilov.Sh AUTHORS
181a90b37e0SMatt JacobThe
182a90b37e0SMatt Jacob.Nm
183a90b37e0SMatt Jacobdriver was written by Matthew Jacob for NASA/Ames Research Center.
184