Deleted Added
full compact
isp.4 (57676) isp.4 (57695)
1.\" $FreeBSD: head/share/man/man4/isp.4 57676 2000-03-01 14:50:24Z sheldonh $
1.\" $FreeBSD: head/share/man/man4/isp.4 57695 2000-03-02 14:54:02Z sheldonh $
2.\" $NetBSD: isp.4,v 1.5 1999/12/18 18:33:05 mjacob Exp $
3.\"
4.\" Copyright (c) 1998, 1999
5.\" Matthew Jacob, for NASA/Ames Research Center
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright
11.\" notice, this list of conditions and the following disclaimer.
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\" notice, this list of conditions and the following disclaimer in the
14.\" documentation and/or other materials provided with the distribution.
15.\" 3. The name of the author may not be used to endorse or promote products
16.\" derived from this software withough specific prior written permission.
17.\"
18.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
19.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28.\"
29.\"
30.Dd Feburary 14, 2000
31.Dt ISP 4
32.Os
33.Sh NAME
34.Nm isp
35.Nd Qlogic based SCSI and FibreChannel SCSI Host Adapters
36.Sh SYNOPSIS
37.Cd "device isp"
38.Pp
39For one or more SCSI busses:
40.Cd device scbus0
41.Sh DESCRIPTION
42This driver provides access to
43.Tn SCSI
44or
45.Tn FibreChannel
46devices.
47.Pp
48SCSI features include support for Ultra SCSI and wide mode transactions for
49.Tn SCSI ,
50Ultra2 LVD (for the ISP1080 and ISP1280), and Ultra3 LVD (for the ISP12160).
51.Pp
52Fibre Channel support uses FCP SCSI profile for
53.Tn FibreChannel .
54and utilizes Class 3 and Class 2 connections (Qlogic 2100 is Class 3
55only, minor patches to the Qlogic 2200 to force Class 2 mode).
56Support is available for Public
57and Private loops, and for point-to-point connections (Qlogic 2200
58only).
59Command tagging is supported for all (in fact,
60.Tn FibreChannel
61requires tagging).
62.Sh HARDWARE
63Supported cards include:
64.Pp
65.Bl -tag -width xxxxxx -offset indent
66.It ISP1000
67SBus Fast Wide, Ultra Fast Wide cards, Single Ended or Differential cards.
68.It PTI SBS440
69Perfomance Technology ISP1000 variants.
70.It ISP1020
71Qlogic 1020 Fast Wide and Differential Fast Wide PCI cards.
72.It ISP1040
73Qlogic 1040 Ultra Wide and Differential Ultra Wide PCI cards.
74.It PTI SBS450
75Perfomance Technology ISP1040 variants.
76.It Qlogic 1240
77Qlogic 1240 Dual Bus Ultra Wide and Differential Ultra Wide PCI cards.
78.It Qlogic 1080
79Qlogic 1280 LVD Ultra2 Wide PCI cards.
80.It Qlogic 1280
81Qlogic 1280 Dual Bus LVD Ultra2 Wide PCI cards.
82.It Qlogic 12160
83Qlogic 12160 Dual Bus LVD Ultra3 Wide PCI cards.
84.It Qlogic 2100
85Qlogic 2100 and 2100A Copper and Optical Fibre Channel Arbitrated Loop
86.It Qlogic 2102
87Qlogic Dual Loop 2100A Optical Fibre Channel Arbitrated Loop PCI cards.
88.It Qlogic 2200
89Qlogic 2200 Copper and Optical Fibre Channel Arbitrated Loop PCI cards.
90.It Qlogic 2202
91Qlogic 2200 Dual Bus Optical Fibre Channel Arbitrated Loop PCI cards.
92.It PTI SBS470
93Perfomance Technology ISP2100 variants.
94.It Antares P-0033
95Antares Microsystems ISP2100 variants.
96.El
97.Sh CONFIGURATION OPTIONS
98.Pp
99General configuration options for all adapters include:
100.sp
101.Cd options SCSI_ISP_NO_FWLOAD_MASK
102.Cd options SCSI_ISP_NO_NVRAM_MASK
103.Cd options SCSI_ISP_PREFER_MEM_MAP
104.sp
105for which the option value is a bit mask of units for which you want this
106option to apply.
107The options are, respectively, for not loading new firmware
108at startup, ignoring card NVRAM settings, and preferring memory mapped
109versus I/O port PCI access methods.
110.Pp
111Poorly debugged and prototype target mode support may be enabled with the
112.sp
113.Cd options ISP_TARGET_MODE
114.sp
115option.
116.Pp
117Configuration options that define whether downloadable firmware should be
118compiled into the driver are:
119.sp
120.Cd options ISP_COMPILE_1020_FW
121.Cd options ISP_COMPILE_1080_FW
122.Cd options ISP_COMPILE_12160_FW
123.Cd options ISP_COMPILE_2100_FW
124.Cd options ISP_COMPILE_FW
125.sp
126The above options either select which board's f/w you wish to compile in,
127or for the last, to select all.
128.Pp
129Configuration options specific to Fibre Channel Cards are:
130.sp
131.Cd options SCSI_ISP_FCDUPLEX
132.Cd options SCSI_ISP_FABRIC
133.Cd options SCSI_ISP_SCCLUN
134.Cd options SCSI_ISP_WWN
135.sp
136The first option is a bit mask of units for which you want to enable full
137duplex mode.
138This typically would only make sense if fabric support is
139enabled and you are directly connected to a switch.
140The second defines whether Fibre Channel Fabric support should be enabled.
141The third defines whether whether the first level SCC lun support should
142be enabled- this converts the normal 16 Logical Unit support to support for
14365536 Logical Units.
144The last option should be a string that defines an
145overriding World Wide Node Name (WWNN) should you wish to override NVRAM
146settings.
147It is recommended that you compile in firmware if you select
148any of these options.
149.Sh BOOT OPTIONS
150.Pp
151Many of the above options are switchable by setting values in the loader
152configuration file (see the
153.Xr loader 8
154manual page). They are:
155.sp
156.Bl -tag -width "isp_no_fwload" -compact
157.It isp_disable
158A bit mask of units to skip configuration for.
159.It isp_mem_map
160A bit mask of units to use PCI Memory space instead of I/O
161space access for.
162.It isp_io_map
163A bit mask of units to use PCI I/O space instead of Memory
164space access for.
165.It isp_no_fwload
166A bit mask of units that you wish to skip firmware download for.
167.It isp_fwload
168A bit mask of units that you wish to *do* firmware download for.
169.It isp_no_nvram
170A bit mask of units that you wish to ignore board NVRAM settings for.
171.It isp_nvram
172A bit mask of units that you wish to specifically use board NVRAM settings for.
173.It isp_fcduplex
174A bit mask of units that you wish to specifically to set into full
175duplex mode.
176.It isp_no_fcduplex
177A bit mask of units that you wish to specifically to not set into full
178duplex mode.
179.It isp_wwn
180This should be the full 64 bit World Wide Node Name you would like to
181use, overriding the value in NVRAM for the card.
182.It isp_debug
183This is a driver debug level- meaningful from 0 through 7.
184.It isp_tdebug
185This is a driver target mode debug level- meaningful from 0 through 5.
186.El
187.Sh BUGS
188The driver currently ignores some NVRAM settings.
189.Pp
190The driver currently doesn't do error recovery for timed out commands
191very gracefully.
192.Pp
193Fabric support isn't very well debugged yet, and with some switches,
194fails to work as well as it should because the driver uses the GET ALL NEXT
195Simple Name Server subcommand which some switches don't handle as well
196as they should.
197.Pp
198Sometimes, when booting, the driver gets stuck waiting for the Fibre Channel
199f/w to tell it that the loop port database is ready.
200In this case you'll
2.\" $NetBSD: isp.4,v 1.5 1999/12/18 18:33:05 mjacob Exp $
3.\"
4.\" Copyright (c) 1998, 1999
5.\" Matthew Jacob, for NASA/Ames Research Center
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright
11.\" notice, this list of conditions and the following disclaimer.
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\" notice, this list of conditions and the following disclaimer in the
14.\" documentation and/or other materials provided with the distribution.
15.\" 3. The name of the author may not be used to endorse or promote products
16.\" derived from this software withough specific prior written permission.
17.\"
18.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
19.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28.\"
29.\"
30.Dd Feburary 14, 2000
31.Dt ISP 4
32.Os
33.Sh NAME
34.Nm isp
35.Nd Qlogic based SCSI and FibreChannel SCSI Host Adapters
36.Sh SYNOPSIS
37.Cd "device isp"
38.Pp
39For one or more SCSI busses:
40.Cd device scbus0
41.Sh DESCRIPTION
42This driver provides access to
43.Tn SCSI
44or
45.Tn FibreChannel
46devices.
47.Pp
48SCSI features include support for Ultra SCSI and wide mode transactions for
49.Tn SCSI ,
50Ultra2 LVD (for the ISP1080 and ISP1280), and Ultra3 LVD (for the ISP12160).
51.Pp
52Fibre Channel support uses FCP SCSI profile for
53.Tn FibreChannel .
54and utilizes Class 3 and Class 2 connections (Qlogic 2100 is Class 3
55only, minor patches to the Qlogic 2200 to force Class 2 mode).
56Support is available for Public
57and Private loops, and for point-to-point connections (Qlogic 2200
58only).
59Command tagging is supported for all (in fact,
60.Tn FibreChannel
61requires tagging).
62.Sh HARDWARE
63Supported cards include:
64.Pp
65.Bl -tag -width xxxxxx -offset indent
66.It ISP1000
67SBus Fast Wide, Ultra Fast Wide cards, Single Ended or Differential cards.
68.It PTI SBS440
69Perfomance Technology ISP1000 variants.
70.It ISP1020
71Qlogic 1020 Fast Wide and Differential Fast Wide PCI cards.
72.It ISP1040
73Qlogic 1040 Ultra Wide and Differential Ultra Wide PCI cards.
74.It PTI SBS450
75Perfomance Technology ISP1040 variants.
76.It Qlogic 1240
77Qlogic 1240 Dual Bus Ultra Wide and Differential Ultra Wide PCI cards.
78.It Qlogic 1080
79Qlogic 1280 LVD Ultra2 Wide PCI cards.
80.It Qlogic 1280
81Qlogic 1280 Dual Bus LVD Ultra2 Wide PCI cards.
82.It Qlogic 12160
83Qlogic 12160 Dual Bus LVD Ultra3 Wide PCI cards.
84.It Qlogic 2100
85Qlogic 2100 and 2100A Copper and Optical Fibre Channel Arbitrated Loop
86.It Qlogic 2102
87Qlogic Dual Loop 2100A Optical Fibre Channel Arbitrated Loop PCI cards.
88.It Qlogic 2200
89Qlogic 2200 Copper and Optical Fibre Channel Arbitrated Loop PCI cards.
90.It Qlogic 2202
91Qlogic 2200 Dual Bus Optical Fibre Channel Arbitrated Loop PCI cards.
92.It PTI SBS470
93Perfomance Technology ISP2100 variants.
94.It Antares P-0033
95Antares Microsystems ISP2100 variants.
96.El
97.Sh CONFIGURATION OPTIONS
98.Pp
99General configuration options for all adapters include:
100.sp
101.Cd options SCSI_ISP_NO_FWLOAD_MASK
102.Cd options SCSI_ISP_NO_NVRAM_MASK
103.Cd options SCSI_ISP_PREFER_MEM_MAP
104.sp
105for which the option value is a bit mask of units for which you want this
106option to apply.
107The options are, respectively, for not loading new firmware
108at startup, ignoring card NVRAM settings, and preferring memory mapped
109versus I/O port PCI access methods.
110.Pp
111Poorly debugged and prototype target mode support may be enabled with the
112.sp
113.Cd options ISP_TARGET_MODE
114.sp
115option.
116.Pp
117Configuration options that define whether downloadable firmware should be
118compiled into the driver are:
119.sp
120.Cd options ISP_COMPILE_1020_FW
121.Cd options ISP_COMPILE_1080_FW
122.Cd options ISP_COMPILE_12160_FW
123.Cd options ISP_COMPILE_2100_FW
124.Cd options ISP_COMPILE_FW
125.sp
126The above options either select which board's f/w you wish to compile in,
127or for the last, to select all.
128.Pp
129Configuration options specific to Fibre Channel Cards are:
130.sp
131.Cd options SCSI_ISP_FCDUPLEX
132.Cd options SCSI_ISP_FABRIC
133.Cd options SCSI_ISP_SCCLUN
134.Cd options SCSI_ISP_WWN
135.sp
136The first option is a bit mask of units for which you want to enable full
137duplex mode.
138This typically would only make sense if fabric support is
139enabled and you are directly connected to a switch.
140The second defines whether Fibre Channel Fabric support should be enabled.
141The third defines whether whether the first level SCC lun support should
142be enabled- this converts the normal 16 Logical Unit support to support for
14365536 Logical Units.
144The last option should be a string that defines an
145overriding World Wide Node Name (WWNN) should you wish to override NVRAM
146settings.
147It is recommended that you compile in firmware if you select
148any of these options.
149.Sh BOOT OPTIONS
150.Pp
151Many of the above options are switchable by setting values in the loader
152configuration file (see the
153.Xr loader 8
154manual page). They are:
155.sp
156.Bl -tag -width "isp_no_fwload" -compact
157.It isp_disable
158A bit mask of units to skip configuration for.
159.It isp_mem_map
160A bit mask of units to use PCI Memory space instead of I/O
161space access for.
162.It isp_io_map
163A bit mask of units to use PCI I/O space instead of Memory
164space access for.
165.It isp_no_fwload
166A bit mask of units that you wish to skip firmware download for.
167.It isp_fwload
168A bit mask of units that you wish to *do* firmware download for.
169.It isp_no_nvram
170A bit mask of units that you wish to ignore board NVRAM settings for.
171.It isp_nvram
172A bit mask of units that you wish to specifically use board NVRAM settings for.
173.It isp_fcduplex
174A bit mask of units that you wish to specifically to set into full
175duplex mode.
176.It isp_no_fcduplex
177A bit mask of units that you wish to specifically to not set into full
178duplex mode.
179.It isp_wwn
180This should be the full 64 bit World Wide Node Name you would like to
181use, overriding the value in NVRAM for the card.
182.It isp_debug
183This is a driver debug level- meaningful from 0 through 7.
184.It isp_tdebug
185This is a driver target mode debug level- meaningful from 0 through 5.
186.El
187.Sh BUGS
188The driver currently ignores some NVRAM settings.
189.Pp
190The driver currently doesn't do error recovery for timed out commands
191very gracefully.
192.Pp
193Fabric support isn't very well debugged yet, and with some switches,
194fails to work as well as it should because the driver uses the GET ALL NEXT
195Simple Name Server subcommand which some switches don't handle as well
196as they should.
197.Pp
198Sometimes, when booting, the driver gets stuck waiting for the Fibre Channel
199f/w to tell it that the loop port database is ready.
200In this case you'll
201see an announcement that the loop state has a value of 0x1. To unwedge
201see an announcement that the loop state has a value of 0x1.
202To unwedge
202the system, unplug and replug the fibre channel connection, or otherwise
203cause a LIP (Loop Initialization Primitive sequence)- this will kick the f/w
204into getting unstuck.
205.Sh SEE ALSO
206.Xr intro 4 ,
207.Xr scsi 4 ,
208.Xr da 4 ,
209.Xr sa 4
210.Sh AUTHOR
211The
212.Nm
213driver was written by Matthew Jacob for NASA/Ames Research Center.
203the system, unplug and replug the fibre channel connection, or otherwise
204cause a LIP (Loop Initialization Primitive sequence)- this will kick the f/w
205into getting unstuck.
206.Sh SEE ALSO
207.Xr intro 4 ,
208.Xr scsi 4 ,
209.Xr da 4 ,
210.Xr sa 4
211.Sh AUTHOR
212The
213.Nm
214driver was written by Matthew Jacob for NASA/Ames Research Center.