xref: /freebsd/share/man/man4/isp.4 (revision 251c176f415c9dc57b7c8c063aec4208bfc2efa6)
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.).
68a90b37e0SMatt Jacob.Sh HARDWARE
69a90b37e0SMatt JacobSupported cards include:
70a90b37e0SMatt Jacob.Pp
71a90b37e0SMatt Jacob.Bl -tag -width xxxxxx -offset indent
72a90b37e0SMatt Jacob.It ISP1000
735f4796c0SMatt JacobSBus Fast Wide, Ultra Fast Wide cards, Single Ended or Differential
745f4796c0SMatt Jacobcards.
75a90b37e0SMatt Jacob.It PTI SBS440
763f7da69fSMike PritchardPerformance Technology ISP1000 variants.
77a90b37e0SMatt Jacob.It ISP1020
78a90b37e0SMatt JacobQlogic 1020 Fast Wide and Differential Fast Wide PCI cards.
79a90b37e0SMatt Jacob.It ISP1040
80a90b37e0SMatt JacobQlogic 1040 Ultra Wide and Differential Ultra Wide PCI cards.
81a90b37e0SMatt Jacob.It PTI SBS450
823f7da69fSMike PritchardPerformance Technology ISP1040 variants.
83a90b37e0SMatt Jacob.It Qlogic 1240
845f4796c0SMatt JacobQlogic 1240 Dual Bus Ultra Wide and Differential Ultra Wide PCI
855f4796c0SMatt Jacobcards.
86a90b37e0SMatt Jacob.It Qlogic 1080
87a90b37e0SMatt JacobQlogic 1280 LVD Ultra2 Wide PCI cards.
88a90b37e0SMatt Jacob.It Qlogic 1280
89a90b37e0SMatt JacobQlogic 1280 Dual Bus LVD Ultra2 Wide PCI cards.
90a90b37e0SMatt Jacob.It Qlogic 12160
91a90b37e0SMatt JacobQlogic 12160 Dual Bus LVD Ultra3 Wide PCI cards.
92a90b37e0SMatt Jacob.It Qlogic 2100
935f4796c0SMatt JacobQlogic 2100 and 2100A Copper and Optical Fibre Channel Arbitrated
945f4796c0SMatt JacobLoop
95a90b37e0SMatt Jacob.It Qlogic 2102
965f4796c0SMatt JacobQlogic Dual Loop 2100A Optical Fibre Channel Arbitrated Loop PCI
975f4796c0SMatt Jacobcards.
98a90b37e0SMatt Jacob.It Qlogic 2200
995f4796c0SMatt JacobQlogic 2200 Copper and Optical Fibre Channel Arbitrated Loop PCI
1005f4796c0SMatt Jacobcards.
101a90b37e0SMatt Jacob.It Qlogic 2202
1025f4796c0SMatt JacobQlogic 2200 Dual Bus Optical Fibre Channel Arbitrated Loop PCI
1035f4796c0SMatt Jacobcards.
104a90b37e0SMatt Jacob.It PTI SBS470
1053f7da69fSMike PritchardPerformance Technology ISP2100 variants.
106a90b37e0SMatt Jacob.It Antares P-0033
107a90b37e0SMatt JacobAntares Microsystems ISP2100 variants.
108a90b37e0SMatt Jacob.El
109a90b37e0SMatt Jacob.Sh CONFIGURATION OPTIONS
110a90b37e0SMatt Jacob.Pp
111a90b37e0SMatt Jacob.Pp
1125f4796c0SMatt JacobTarget mode support may be enabled with the
113726b61abSRuslan Ermilov.Pp
114a90b37e0SMatt Jacob.Cd options ISP_TARGET_MODE
115726b61abSRuslan Ermilov.Pp
116a90b37e0SMatt Jacoboption.
117a90b37e0SMatt Jacob.Sh BOOT OPTIONS
118a90b37e0SMatt Jacob.Pp
1195f4796c0SMatt JacobThe following options are switchable by setting values in the loader
120a90b37e0SMatt Jacobconfiguration file (see the
121a90b37e0SMatt Jacob.Xr loader 8
122a90b37e0SMatt Jacobmanual page). They are:
123726b61abSRuslan Ermilov.Pp
124a90b37e0SMatt Jacob.Bl -tag -width "isp_no_fwload" -compact
125a90b37e0SMatt Jacob.It isp_disable
126a90b37e0SMatt JacobA bit mask of units to skip configuration for.
127a90b37e0SMatt Jacob.It isp_mem_map
1285f4796c0SMatt JacobA bit mask of units to use PCI Memory space instead of I/O space
1295f4796c0SMatt Jacobaccess for.
130a90b37e0SMatt Jacob.It isp_io_map
1315f4796c0SMatt JacobA bit mask of units to use PCI I/O space instead of Memory space
1325f4796c0SMatt Jacobaccess for.
133a90b37e0SMatt Jacob.It isp_no_nvram
1345f4796c0SMatt JacobA bit mask of units that you wish to ignore board NVRAM settings
1355f4796c0SMatt Jacobfor.
136a90b37e0SMatt Jacob.It isp_nvram
1375f4796c0SMatt JacobA bit mask of units that you wish to specifically use board NVRAM
1385f4796c0SMatt Jacobsettings for.
139a90b37e0SMatt Jacob.It isp_fcduplex
140a90b37e0SMatt JacobA bit mask of units that you wish to specifically to set into full
141a90b37e0SMatt Jacobduplex mode.
142a90b37e0SMatt Jacob.It isp_no_fcduplex
1435f4796c0SMatt JacobA bit mask of units that you wish to specifically to not set into
1445f4796c0SMatt Jacobfull duplex mode.
145a90b37e0SMatt Jacob.It isp_wwn
1465f4796c0SMatt JacobThis should be the full 64 bit World Wide Node Name you would like
1475f4796c0SMatt Jacobto use, overriding the value in NVRAM for the card.
148a90b37e0SMatt Jacob.It isp_debug
149a90b37e0SMatt JacobThis is a driver debug level- meaningful from 0 through 7.
150a90b37e0SMatt Jacob.It isp_tdebug
1515f4796c0SMatt JacobThis is a driver target mode debug level- meaningful from 0 through
1525f4796c0SMatt Jacob5.
153a90b37e0SMatt Jacob.El
154a90b37e0SMatt Jacob.Sh BUGS
155a90b37e0SMatt JacobThe driver currently ignores some NVRAM settings.
156a90b37e0SMatt Jacob.Pp
157a90b37e0SMatt JacobThe driver currently doesn't do error recovery for timed out commands
158a90b37e0SMatt Jacobvery gracefully.
159a90b37e0SMatt Jacob.Pp
1605f4796c0SMatt JacobTarget mode support isn't completely debugged yet. It works reasonably
1615f4796c0SMatt Jacobwell for Fibre Channel, somewhat well for Qlogic 1040 cards, but
1625f4796c0SMatt Jacobdoesn't yet work for the other cards (due to last minute unnanounced
1635f4796c0SMatt Jacobchanges in firmware interfaces).
164a90b37e0SMatt Jacob.Pp
1655f4796c0SMatt JacobSometimes, when booting, the driver gets stuck waiting for the
1665f4796c0SMatt JacobFibre Channel f/w to tell it that the loop port database is ready,
1675f4796c0SMatt Jacobor waiting for a good loop to be seen (this does not yet support
1685f4796c0SMatt Jacobbooting without being connected to a fibre channel device).  To
1695f4796c0SMatt Jacobunwedge the system, unplug and replug the fibre channel connection,
1705f4796c0SMatt Jacobor otherwise cause a LIP (Loop Initialization Primitive sequence)-
1715f4796c0SMatt Jacobthis will kick the f/w into getting unstuck.
172a90b37e0SMatt Jacob.Sh SEE ALSO
173a90b37e0SMatt Jacob.Xr intro 4 ,
174a90b37e0SMatt Jacob.Xr scsi 4 ,
175a90b37e0SMatt Jacob.Xr da 4 ,
176a90b37e0SMatt Jacob.Xr sa 4
177251c176fSRuslan Ermilov.Sh AUTHORS
178a90b37e0SMatt JacobThe
179a90b37e0SMatt Jacob.Nm
180a90b37e0SMatt Jacobdriver was written by Matthew Jacob for NASA/Ames Research Center.
181