1.\" $NetBSD: isp.4,v 1.14 2018/01/13 23:43:46 wiz Exp $ 2.\" 3.\" Copyright (c) 1998, 1999 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.\" 29.Dd June 24, 2009 30.Dt ISP 4 31.Os 32.Sh NAME 33.Nm isp 34.Nd Qlogic based SCSI and FibreChannel SCSI Host Adapters 35.Sh SYNOPSIS 36.Cd "isp* at pci? dev? function?" Pq PCI 37.Cd "isp* at sbus? slot ? offset ?" Pq SBus 38.Cd scsibus* at isp? 39.Sh DESCRIPTION 40This driver provides access to SCSI or FibreChannel devices. 41.Pp 42SCSI features include support for Ultra SCSI and wide mode transactions for 43SCSI, and LVD (for the ISP1080 and ISP1280), 44.Pp 45Fibre Channel support uses FCP SCSI profile for 46FibreChannel and uses Class 3 connections only. 47Support is available for Public and Private loops. 48Command tagging is supported for all (in fact, 49FibreChannel requires tagging). 50.Sh CONFIGURATION 51An optional 52.Cd flags 0x80 53appended to the above 54.Nm 55declarations will disable the download of driver firmware, which means you 56use whatever firmware is running on the card. 57If no firmware is running on the card, 58the driver cannot operate the card. 59.Pp 60An optional 61.Cd flags 0x40 62appended to the above 63.Nm 64declarations (can be OR'd in with the other config flags option) 65will keep the driver from looking at device or bus NVRAM settings (this 66is in case NVRAM is just wrong and you have the card in a platform where 67it is inconvenient to change NVRAM settings on the card). 68.Sh HARDWARE 69Supported cards include: 70.Bl -tag -width xxxxxx -offset indent 71.It ISP1000 72SBus Fast Wide, Ultra Fast Wide cards, Single Ended or Differential cards. 73.It PTI SBS440 74Performance Technology ISP1000 variants. 75.It ISP1020 76Qlogic 1020 Fast Wide and Differential Fast Wide PCI cards. 77.It ISP1040 78Qlogic 1040 Ultra Wide and Differential Ultra Wide PCI cards. 79.It PTI SBS450 80Performance Technology ISP1040 variants. 81.It Qlogic 1240 82Qlogic 1240 Dual Bus Ultra Wide and Differential Ultra Wide PCI cards. 83.It Qlogic 1080 84Qlogic 1280 LVD Ultra2 Wide PCI cards. 85.It Qlogic 1280 86Qlogic 1280 Dual Bus LVD Ultra2 Wide PCI cards. 87.It Qlogic 2100 88Qlogic 2100 and 2100A Copper and Optical Fibre Channel Arbitrated Loop 89.It Qlogic 2102 90Qlogic Dual Loop 2100A Optical Fibre Channel Arbitrated Loop PCI cards. 91.It Qlogic 2200 92Qlogic 2200 Copper and Optical Fibre Channel Arbitrated Loop PCI cards. 93.It Qlogic 2202 94Qlogic 2200 Dual Bus Optical Fibre Channel Arbitrated Loop PCI cards. 95.It Qlogic 2204 96Qlogic 2200 Quad Bus Optical Fibre Channel Arbitrated Loop PCI cards. 97.It Qlogic 2300 98Qlogic 2300 2-Gigabit Optical Fibre Channel PCI cards. 99.It Qlogic 2312 100Qlogic 2300 2-Gigabit Dual Channel Optical Fibre Channel PCI cards. 101.It PTI SBS470 102Performance Technology ISP2100 variants. 103.It Antares P-0033 104Antares Microsystems ISP2100 variants. 105.It Qlogic 2400 106Qlogic 2400 4-Gigabit Optical Fibre Channel PCI cards. 107.It Qlogic 2500 108Qlogic 2500 8-Gigabit Optical Fibre Channel PCI cards. 109.El 110.Sh SEE ALSO 111.Xr cd 4 , 112.Xr intro 4 , 113.Xr scsi 4 , 114.Xr sd 4 , 115.Xr st 4 116.Sh AUTHORS 117The 118.Nm 119driver was written by 120.An Matthew Jacob 121for NASA/Ames Research Center. 122.Sh BUGS 123The driver currently ignores some NVRAM settings. 124.Pp 125The driver currently doesn't do error recovery for timed out commands 126very gracefully. 127.Pp 128Sometimes, when booting, the driver gets stuck waiting for the Fibre Channel 129firmware to tell it that the loop port database is ready. 130In this case you'll see an announcement that the loop state has a 131value of 0x1. 132To unwedge the system, unplug and replug the fibre channel connection, 133or otherwise cause a LIP (Loop Initialization Primitive sequence) - 134this will kick the firmware into getting unstuck. 135