2000-07-20 16:11:23 +00:00
|
|
|
.\" $FreeBSD$
|
|
|
|
.\" $NetBSD: isp.4,v 1.5 1999/12/18 18:33:05 mjacob Exp $
|
2000-02-14 23:47:55 +00:00
|
|
|
.\"
|
2001-08-31 21:43:35 +00:00
|
|
|
.\" Copyright (c) 1998, 1999, 2001
|
2000-07-20 16:11:23 +00:00
|
|
|
.\" Matthew Jacob, for NASA/Ames Research Center
|
2000-02-14 23:47:55 +00:00
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. The name of the author may not be used to endorse or promote products
|
2000-03-24 02:17:04 +00:00
|
|
|
.\" derived from this software without specific prior written permission.
|
2000-02-14 23:47:55 +00:00
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
|
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
|
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\"
|
2000-03-24 02:17:04 +00:00
|
|
|
.Dd February 14, 2000
|
2000-02-14 23:47:55 +00:00
|
|
|
.Dt ISP 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm isp
|
|
|
|
.Nd Qlogic based SCSI and FibreChannel SCSI Host Adapters
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Cd "device isp"
|
|
|
|
.Pp
|
|
|
|
For one or more SCSI busses:
|
|
|
|
.Cd device scbus0
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
This driver provides access to
|
|
|
|
.Tn SCSI
|
|
|
|
or
|
|
|
|
.Tn FibreChannel
|
|
|
|
devices.
|
|
|
|
.Pp
|
2000-07-20 16:11:23 +00:00
|
|
|
SCSI features include support for Ultra SCSI and wide mode transactions
|
|
|
|
for
|
2000-02-14 23:47:55 +00:00
|
|
|
.Tn SCSI ,
|
2000-07-20 16:11:23 +00:00
|
|
|
Ultra2 LVD (for the ISP1080 and ISP1280), and Ultra3 LVD (for the
|
|
|
|
ISP12160).
|
2000-02-14 23:47:55 +00:00
|
|
|
.Pp
|
|
|
|
Fibre Channel support uses FCP SCSI profile for
|
|
|
|
.Tn FibreChannel .
|
2000-07-20 16:11:23 +00:00
|
|
|
and utilizes Class 3 and Class 2 connections (Qlogic 2100 is Class
|
|
|
|
3 only, minor patches to the Qlogic 2200 to force Class 2 mode).
|
|
|
|
Support is available for Public and Private loops, and for
|
2001-09-04 09:47:40 +00:00
|
|
|
point-to-point connections (Qlogic 2200 only).
|
|
|
|
The newer 2-Gigabit cards (2300, 2312) are also supported.
|
2001-08-31 21:43:35 +00:00
|
|
|
Command tagging is
|
2000-07-20 16:11:23 +00:00
|
|
|
supported for all (in fact,
|
2000-02-14 23:47:55 +00:00
|
|
|
.Tn FibreChannel
|
2001-09-04 09:47:40 +00:00
|
|
|
requires tagging).
|
|
|
|
Fabric support is enabled by default (but may
|
2000-07-20 16:11:23 +00:00
|
|
|
be contingent upon the correct firmware being loaded).
|
|
|
|
.Sh FIRMWARE
|
|
|
|
Firmware is now available if the
|
|
|
|
.Xr ispfw 4
|
|
|
|
module is loaded during bootstrap (q.v.).
|
2001-07-26 22:43:40 +00:00
|
|
|
.Pp
|
|
|
|
It is very strongly recommended that you use the firmware available
|
|
|
|
from
|
|
|
|
.Xr ispfw 4
|
|
|
|
as it is the most likely to have been tested with this driver.
|
2000-02-14 23:47:55 +00:00
|
|
|
.Sh HARDWARE
|
|
|
|
Supported cards include:
|
|
|
|
.Pp
|
|
|
|
.Bl -tag -width xxxxxx -offset indent
|
|
|
|
.It ISP1000
|
2000-07-20 16:11:23 +00:00
|
|
|
SBus Fast Wide, Ultra Fast Wide cards, Single Ended or Differential
|
|
|
|
cards.
|
2000-02-14 23:47:55 +00:00
|
|
|
.It PTI SBS440
|
2000-03-24 02:17:04 +00:00
|
|
|
Performance Technology ISP1000 variants.
|
2000-02-14 23:47:55 +00:00
|
|
|
.It ISP1020
|
|
|
|
Qlogic 1020 Fast Wide and Differential Fast Wide PCI cards.
|
|
|
|
.It ISP1040
|
|
|
|
Qlogic 1040 Ultra Wide and Differential Ultra Wide PCI cards.
|
2003-04-20 22:10:13 +00:00
|
|
|
Also known as the DEC KZPBA-CA (single ended) and KZPBA-CB (HVD differential).
|
2000-02-14 23:47:55 +00:00
|
|
|
.It PTI SBS450
|
2000-03-24 02:17:04 +00:00
|
|
|
Performance Technology ISP1040 variants.
|
2000-02-14 23:47:55 +00:00
|
|
|
.It Qlogic 1240
|
2000-07-20 16:11:23 +00:00
|
|
|
Qlogic 1240 Dual Bus Ultra Wide and Differential Ultra Wide PCI
|
|
|
|
cards.
|
2000-02-14 23:47:55 +00:00
|
|
|
.It Qlogic 1080
|
|
|
|
Qlogic 1280 LVD Ultra2 Wide PCI cards.
|
|
|
|
.It Qlogic 1280
|
|
|
|
Qlogic 1280 Dual Bus LVD Ultra2 Wide PCI cards.
|
|
|
|
.It Qlogic 12160
|
|
|
|
Qlogic 12160 Dual Bus LVD Ultra3 Wide PCI cards.
|
|
|
|
.It Qlogic 2100
|
2000-07-20 16:11:23 +00:00
|
|
|
Qlogic 2100 and 2100A Copper and Optical Fibre Channel Arbitrated
|
|
|
|
Loop
|
2000-02-14 23:47:55 +00:00
|
|
|
.It Qlogic 2102
|
2000-07-20 16:11:23 +00:00
|
|
|
Qlogic Dual Loop 2100A Optical Fibre Channel Arbitrated Loop PCI
|
|
|
|
cards.
|
2000-02-14 23:47:55 +00:00
|
|
|
.It Qlogic 2200
|
2000-07-20 16:11:23 +00:00
|
|
|
Qlogic 2200 Copper and Optical Fibre Channel Arbitrated Loop PCI
|
|
|
|
cards.
|
2000-02-14 23:47:55 +00:00
|
|
|
.It Qlogic 2202
|
2000-07-20 16:11:23 +00:00
|
|
|
Qlogic 2200 Dual Bus Optical Fibre Channel Arbitrated Loop PCI
|
|
|
|
cards.
|
2001-08-31 21:43:35 +00:00
|
|
|
.It Qlogic 2204
|
|
|
|
Qlogic 2200 Dual Bus Optical Fibre Channel Arbitrated Loop PCI
|
|
|
|
cards.
|
|
|
|
.It Qlogic 2300
|
|
|
|
Qlogic 2300 Optical Fibre Channel PCI cards.
|
|
|
|
.It Qlogic 2312
|
|
|
|
Qlogic 2312 Optical Fibre Channel PCI cards.
|
2000-02-14 23:47:55 +00:00
|
|
|
.It PTI SBS470
|
2000-03-24 02:17:04 +00:00
|
|
|
Performance Technology ISP2100 variants.
|
2000-02-14 23:47:55 +00:00
|
|
|
.It Antares P-0033
|
|
|
|
Antares Microsystems ISP2100 variants.
|
|
|
|
.El
|
|
|
|
.Sh CONFIGURATION OPTIONS
|
|
|
|
.Pp
|
2000-07-20 16:11:23 +00:00
|
|
|
Target mode support may be enabled with the
|
2000-11-10 17:46:15 +00:00
|
|
|
.Pp
|
2000-02-14 23:47:55 +00:00
|
|
|
.Cd options ISP_TARGET_MODE
|
2000-11-10 17:46:15 +00:00
|
|
|
.Pp
|
2000-02-14 23:47:55 +00:00
|
|
|
option.
|
|
|
|
.Sh BOOT OPTIONS
|
2000-07-20 16:11:23 +00:00
|
|
|
The following options are switchable by setting values in the loader
|
2000-02-14 23:47:55 +00:00
|
|
|
configuration file (see the
|
|
|
|
.Xr loader 8
|
2001-09-04 09:47:40 +00:00
|
|
|
manual page).
|
|
|
|
They are:
|
2000-11-10 17:46:15 +00:00
|
|
|
.Pp
|
2000-02-14 23:47:55 +00:00
|
|
|
.Bl -tag -width "isp_no_fwload" -compact
|
|
|
|
.It isp_disable
|
|
|
|
A bit mask of units to skip configuration for.
|
|
|
|
.It isp_mem_map
|
2000-07-20 16:11:23 +00:00
|
|
|
A bit mask of units to use PCI Memory space instead of I/O space
|
|
|
|
access for.
|
2000-02-14 23:47:55 +00:00
|
|
|
.It isp_io_map
|
2000-07-20 16:11:23 +00:00
|
|
|
A bit mask of units to use PCI I/O space instead of Memory space
|
|
|
|
access for.
|
2000-02-14 23:47:55 +00:00
|
|
|
.It isp_no_nvram
|
2000-07-20 16:11:23 +00:00
|
|
|
A bit mask of units that you wish to ignore board NVRAM settings
|
|
|
|
for.
|
2000-02-14 23:47:55 +00:00
|
|
|
.It isp_nvram
|
2000-07-20 16:11:23 +00:00
|
|
|
A bit mask of units that you wish to specifically use board NVRAM
|
|
|
|
settings for.
|
2000-02-14 23:47:55 +00:00
|
|
|
.It isp_fcduplex
|
|
|
|
A bit mask of units that you wish to specifically to set into full
|
|
|
|
duplex mode.
|
|
|
|
.It isp_no_fcduplex
|
2000-07-20 16:11:23 +00:00
|
|
|
A bit mask of units that you wish to specifically to not set into
|
|
|
|
full duplex mode.
|
2000-02-14 23:47:55 +00:00
|
|
|
.It isp_wwn
|
2000-07-20 16:11:23 +00:00
|
|
|
This should be the full 64 bit World Wide Node Name you would like
|
|
|
|
to use, overriding the value in NVRAM for the card.
|
2000-02-14 23:47:55 +00:00
|
|
|
.It isp_debug
|
|
|
|
This is a driver debug level- meaningful from 0 through 7.
|
|
|
|
.It isp_tdebug
|
2000-07-20 16:11:23 +00:00
|
|
|
This is a driver target mode debug level- meaningful from 0 through
|
|
|
|
5.
|
2000-02-14 23:47:55 +00:00
|
|
|
.El
|
|
|
|
.Sh BUGS
|
|
|
|
The driver currently ignores some NVRAM settings.
|
|
|
|
.Pp
|
|
|
|
The driver currently doesn't do error recovery for timed out commands
|
|
|
|
very gracefully.
|
|
|
|
.Pp
|
2001-09-04 09:47:40 +00:00
|
|
|
Target mode support isn't completely debugged yet.
|
|
|
|
It works reasonably
|
2000-07-20 16:11:23 +00:00
|
|
|
well for Fibre Channel, somewhat well for Qlogic 1040 cards, but
|
2002-01-21 12:09:13 +00:00
|
|
|
doesn't yet work for the other cards (due to last minute unannounced
|
2000-07-20 16:11:23 +00:00
|
|
|
changes in firmware interfaces).
|
2000-02-14 23:47:55 +00:00
|
|
|
.Pp
|
2000-07-20 16:11:23 +00:00
|
|
|
Sometimes, when booting, the driver gets stuck waiting for the
|
|
|
|
Fibre Channel f/w to tell it that the loop port database is ready,
|
|
|
|
or waiting for a good loop to be seen (this does not yet support
|
2001-09-04 09:47:40 +00:00
|
|
|
booting without being connected to a fibre channel device).
|
|
|
|
To
|
2000-07-20 16:11:23 +00:00
|
|
|
unwedge the system, unplug and replug the fibre channel connection,
|
|
|
|
or otherwise cause a LIP (Loop Initialization Primitive sequence)-
|
|
|
|
this will kick the f/w into getting unstuck.
|
2000-02-14 23:47:55 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr da 4 ,
|
2001-07-06 16:46:48 +00:00
|
|
|
.Xr intro 4 ,
|
2001-08-29 21:13:26 +00:00
|
|
|
.Xr ispfw 4 ,
|
2001-07-06 16:46:48 +00:00
|
|
|
.Xr sa 4 ,
|
|
|
|
.Xr scsi 4
|
2000-11-17 11:44:16 +00:00
|
|
|
.Sh AUTHORS
|
2000-02-14 23:47:55 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver was written by Matthew Jacob for NASA/Ames Research Center.
|