1*fcf3ce44SJohn Forte#
2*fcf3ce44SJohn Forte# CDDL HEADER START
3*fcf3ce44SJohn Forte#
4*fcf3ce44SJohn Forte# The contents of this file are subject to the terms of the
5*fcf3ce44SJohn Forte# Common Development and Distribution License (the "License").
6*fcf3ce44SJohn Forte# You may not use this file except in compliance with the License.
7*fcf3ce44SJohn Forte#
8*fcf3ce44SJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*fcf3ce44SJohn Forte# or http://www.opensolaris.org/os/licensing.
10*fcf3ce44SJohn Forte# See the License for the specific language governing permissions
11*fcf3ce44SJohn Forte# and limitations under the License.
12*fcf3ce44SJohn Forte#
13*fcf3ce44SJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
14*fcf3ce44SJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*fcf3ce44SJohn Forte# If applicable, add the following below this CDDL HEADER, with the
16*fcf3ce44SJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
17*fcf3ce44SJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
18*fcf3ce44SJohn Forte#
19*fcf3ce44SJohn Forte# CDDL HEADER END
20*fcf3ce44SJohn Forte#
21*fcf3ce44SJohn Forte
22*fcf3ce44SJohn Forte# Copyright 2008 QLogic Corporation
23*fcf3ce44SJohn Forte
24*fcf3ce44SJohn Forte#
25*fcf3ce44SJohn Forte# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
26*fcf3ce44SJohn Forte# Use is subject to license terms.
27*fcf3ce44SJohn Forte#
28*fcf3ce44SJohn Forte# Qlogic Fibre Channel Adapter driver configuration
29*fcf3ce44SJohn Forte#
30*fcf3ce44SJohn Forte#ident	"Copyright 2007 QLogic Corporation; ql.conf"
31*fcf3ce44SJohn Forte#
32*fcf3ce44SJohn Forte
33*fcf3ce44SJohn Forte#
34*fcf3ce44SJohn Forte# Copyright (C) QLogic Corporation 1998-2007. All rights reserved.
35*fcf3ce44SJohn Forte#
36*fcf3ce44SJohn Forte
37*fcf3ce44SJohn Forte#   File is setup as the default parameters for all adapters in the
38*fcf3ce44SJohn Forte#   system.
39*fcf3ce44SJohn Forte#   If a parameter needs to be changed for a particular adapter,
40*fcf3ce44SJohn Forte#   make a copy of the parameter. Then change the hba number
41*fcf3ce44SJohn Forte#   (decimal) in the parameter to match the adapter instance number
42*fcf3ce44SJohn Forte#   that is displayed during the boot process. Now alter the
43*fcf3ce44SJohn Forte#   parameter for the adapter.
44*fcf3ce44SJohn Forte#
45*fcf3ce44SJohn Forte#   example:
46*fcf3ce44SJohn Forte#       Setting hard address of 124 and 125 for adapter
47*fcf3ce44SJohn Forte#       instance 3 and 4 respectively.
48*fcf3ce44SJohn Forte#
49*fcf3ce44SJohn Forte#       Before:
50*fcf3ce44SJohn Forte#           enable-adapter-hard-loop-ID=0;
51*fcf3ce44SJohn Forte#
52*fcf3ce44SJohn Forte#           adapter-hard-loop-ID=0;
53*fcf3ce44SJohn Forte#
54*fcf3ce44SJohn Forte#       After:
55*fcf3ce44SJohn Forte#           enable-adapter-hard-loop-ID=0;
56*fcf3ce44SJohn Forte#           hba3-enable-adapter-hard-loop-ID=1;
57*fcf3ce44SJohn Forte#           hba4-enable-adapter-hard-loop-ID=1;
58*fcf3ce44SJohn Forte#
59*fcf3ce44SJohn Forte#           adapter-hard-loop-ID=0;
60*fcf3ce44SJohn Forte#           hba3-adapter-hard-loop-ID=124;
61*fcf3ce44SJohn Forte#           hba4-adapter-hard-loop-ID=125;
62*fcf3ce44SJohn Forte#
63*fcf3ce44SJohn Forte
64*fcf3ce44SJohn Forte#Name:  Maximum frame length
65*fcf3ce44SJohn Forte#Type:  Integer, bytes;  Range: 512, 1024, 2048
66*fcf3ce44SJohn Forte#       Default: 2048
67*fcf3ce44SJohn Forte#Usage: This field specifies the frame payload length (in bytes) used by
68*fcf3ce44SJohn Forte#       the ISP2xxx firmware.
69*fcf3ce44SJohn Forte#NOTE:  The minimum value is 512 bytes; if this variable is not equal to
70*fcf3ce44SJohn Forte#       512, 1024 or 2048, the ISP2xxx defaults to values specified
71*fcf3ce44SJohn Forte#       above.
72*fcf3ce44SJohn Fortemax-frame-length=2048;
73*fcf3ce44SJohn Forte
74*fcf3ce44SJohn Forte#Name:  Execution throttle
75*fcf3ce44SJohn Forte#Type:  Integer, commands; Range: 1 - 65535; Default: 32
76*fcf3ce44SJohn Forte#Usage: This field specifies the maximum number of commands sent per LUN
77*fcf3ce44SJohn Forte#       by the ISP2xxx firmware.
78*fcf3ce44SJohn Forte#NOTE:  Exceeding device capabilities causes unneeded command retries
79*fcf3ce44SJohn Forte#       that impact performance.
80*fcf3ce44SJohn Forteexecution-throttle=32;
81*fcf3ce44SJohn Forte
82*fcf3ce44SJohn Forte#Name:  Login timeout
83*fcf3ce44SJohn Forte#Type:  Integer, count; Range: 0 - 255; Default: 3
84*fcf3ce44SJohn Forte#Usage: This field specifies the maximum number seconds to
85*fcf3ce44SJohn Forte#       wait for the login of a device to complete.
86*fcf3ce44SJohn Forte#NOTE:  Large values may cause long delays during initialization
87*fcf3ce44SJohn Forte#       and device reconfiguration.
88*fcf3ce44SJohn Fortelogin-timeout=3;
89*fcf3ce44SJohn Forte
90*fcf3ce44SJohn Forte#Name:  Login retry count
91*fcf3ce44SJohn Forte#Type:  Integer, count; Range: 0 - 255; Default: 4
92*fcf3ce44SJohn Forte#Usage: This field specifies the maximum number of retry attempts
93*fcf3ce44SJohn Forte#       for the firmware when the login into a device fails.
94*fcf3ce44SJohn Forte#NOTE:  Large values may cause long delays during initialization
95*fcf3ce44SJohn Forte#       and device reconfiguration.
96*fcf3ce44SJohn Fortelogin-retry-count=4;
97*fcf3ce44SJohn Forte
98*fcf3ce44SJohn Forte#Name:  Enable adapter hard loop ID
99*fcf3ce44SJohn Forte#Type:  Integer, flag; Range: 0 (disable), 1 (enable); Default: 0
100*fcf3ce44SJohn Forte#Usage: This field allows the setting of adapters hard loop ID on the
101*fcf3ce44SJohn Forte#       fibre channel bus.
102*fcf3ce44SJohn Forte#NOTE:  May be necessary on some bus configurations where devices fail to
103*fcf3ce44SJohn Forte#       appear.
104*fcf3ce44SJohn Forteenable-adapter-hard-loop-ID=0;
105*fcf3ce44SJohn Forte
106*fcf3ce44SJohn Forte#Name:  Adapter hard loop ID
107*fcf3ce44SJohn Forte#Type:  Integer, ID; Range: 0-125; Default: 0
108*fcf3ce44SJohn Forte#Usage: This field specifies the adapters hard loop ID to be used on the
109*fcf3ce44SJohn Forte#       Fibre Channel bus.
110*fcf3ce44SJohn Forte#NOTE:  This field takes effect only when adapter hard loop ID is enabled.
111*fcf3ce44SJohn Forteadapter-hard-loop-ID=0;
112*fcf3ce44SJohn Forte
113*fcf3ce44SJohn Forte#Name:  Enable LIP reset on bus reset
114*fcf3ce44SJohn Forte#Type:  Integer, flag; Range: 0 (disable), 1 (enable); Default: 0
115*fcf3ce44SJohn Forte#Usage: This field enables the adapter to issue a LIP reset during Fibre
116*fcf3ce44SJohn Forte#       Channel reset.
117*fcf3ce44SJohn Forteenable-LIP-reset-on-bus-reset=0;
118*fcf3ce44SJohn Forte
119*fcf3ce44SJohn Forte#Name:  Enable LIP full login on bus reset
120*fcf3ce44SJohn Forte#Type:  Integer, flag; Range: 0 (disable), 1 (enable); Default: 1
121*fcf3ce44SJohn Forte#Usage: This field enables the adapter to issue a LIP full login reset
122*fcf3ce44SJohn Forte#       during Fibre Channel reset.
123*fcf3ce44SJohn Forteenable-LIP-full-login-on-bus-reset=1;
124*fcf3ce44SJohn Forte
125*fcf3ce44SJohn Forte#Name:  Enable target reset on bus reset
126*fcf3ce44SJohn Forte#Type:  Integer, flag; Range: 0 (disable), 1 (enable); Default: 0
127*fcf3ce44SJohn Forte#Usage: This field enables the adapter to issue a LIP target reset during
128*fcf3ce44SJohn Forte#       Fibre Channel reset.
129*fcf3ce44SJohn Forteenable-target-reset-on-bus-reset=0;
130*fcf3ce44SJohn Forte
131*fcf3ce44SJohn Forte#Name:  Reset delay
132*fcf3ce44SJohn Forte#Type:  Integer, seconds; Range: 1 - 255; Default: 5
133*fcf3ce44SJohn Forte#Usage: This field specifies the delay after a reset before sending
134*fcf3ce44SJohn Forte#       commands to the devices on the Fibre Channel bus.
135*fcf3ce44SJohn Fortereset-delay=5;
136*fcf3ce44SJohn Forte
137*fcf3ce44SJohn Forte#Name:  Port down retry count
138*fcf3ce44SJohn Forte#Type:  Integer, count; Range: 0 - 255; Default: 8
139*fcf3ce44SJohn Forte#Usage: This field specifies the amount of command retries to be done
140*fcf3ce44SJohn Forte#       when devices are not responding on the Fibre Channel bus.
141*fcf3ce44SJohn Forte#NOTE:  Large values may cause long delays for failover software to
142*fcf3ce44SJohn Forte#       detect a failing device.
143*fcf3ce44SJohn Forteport-down-retry-count=8;
144*fcf3ce44SJohn Forte
145*fcf3ce44SJohn Forte#Name:  Port down retry delay
146*fcf3ce44SJohn Forte#Type:  Integer, count; Range 0 - 255 seconds. Default: 2
147*fcf3ce44SJohn Forte#Usage: Amount of time to delay between port down retries.
148*fcf3ce44SJohn Forte#NOTE:  Large values may cause long delays for failover software to
149*fcf3ce44SJohn Forte#       detect a failing device. May also cause upper layer driver
150*fcf3ce44SJohn Forte#       or applications to timeout the IO's.
151*fcf3ce44SJohn Forteport-down-retry-delay=2;
152*fcf3ce44SJohn Forte
153*fcf3ce44SJohn Forte#Name:  Queue full retry count
154*fcf3ce44SJohn Forte#Type:  Integer, count. Range: 0 - 255. Default: 16
155*fcf3ce44SJohn Forte#Usage: This field specified the number of times to retry a SCSI
156*fcf3ce44SJohn Forte#       queue full error.
157*fcf3ce44SJohn Fortequeue-full-retry-count=16;
158*fcf3ce44SJohn Forte
159*fcf3ce44SJohn Forte#Name:  Queue full retry delay
160*fcf3ce44SJohn Forte#Type:  Integer, seconds. Range: 0 - 255 seconds. Default: 2
161*fcf3ce44SJohn Forte#Usage: This field specifies the amount of time to delay after a SCSI
162*fcf3ce44SJohn Forte#       queue full error before starting any new I/O commands.
163*fcf3ce44SJohn Fortequeue-full-retry-delay=2;
164*fcf3ce44SJohn Forte
165*fcf3ce44SJohn Forte#Name:  Connection options
166*fcf3ce44SJohn Forte#Type:  Integer, mode; Range: 0 - 2; Default: 2
167*fcf3ce44SJohn Forte#       0 = loop only
168*fcf3ce44SJohn Forte#       1 = point-to-point only
169*fcf3ce44SJohn Forte#       2 = loop preferred, else point-to-point
170*fcf3ce44SJohn Forte#Usage: This field specifies the connection mode the driver firmware
171*fcf3ce44SJohn Forte#       uses. When connecting the HBA to a switch port with auto-
172*fcf3ce44SJohn Forte#       mode sensing capability (a G port), it is recommended that this
173*fcf3ce44SJohn Forte#       parameter be set to either 0 or 1, not 2. Setting this
174*fcf3ce44SJohn Forte#       parameter to 2 when connected to a G port on a switch may
175*fcf3ce44SJohn Forte#       result in device lost or system hang.
176*fcf3ce44SJohn Forteconnection-options=2;
177*fcf3ce44SJohn Forte
178*fcf3ce44SJohn Forte#Name:  Enable FCP 2 Error Recovery
179*fcf3ce44SJohn Forte#Type:  Integer, flag; Range: 0 (disable), 1 (enable); Default: 1
180*fcf3ce44SJohn Forte#Usage: This field enables/disables the Fibre Channel FCP 2 error
181*fcf3ce44SJohn Forte#       recovery support.
182*fcf3ce44SJohn Forteenable-FCP-2-error-recovery=1;
183*fcf3ce44SJohn Forte
184*fcf3ce44SJohn Forte#Name:  Fibre Channel Data Rate Option
185*fcf3ce44SJohn Forte#Type:  Integer, mode; Range: 0-4; Default: 2
186*fcf3ce44SJohn Forte#       0 = 1 gigabit/second
187*fcf3ce44SJohn Forte#       1 = 2 gigabit/second
188*fcf3ce44SJohn Forte#       2 = Auto-negotiate
189*fcf3ce44SJohn Forte#       3 = 4 gigabit/second
190*fcf3ce44SJohn Forte#       4 = 8 gigabit/second
191*fcf3ce44SJohn Forte#Usage: This field specifies the data rate which the driver uses.
192*fcf3ce44SJohn Fortefc-data-rate=2;
193*fcf3ce44SJohn Forte
194*fcf3ce44SJohn Forte#Name:  Link down timeout
195*fcf3ce44SJohn Forte#Type:  Integer, seconds; Range: 0 - 240; Default: 0
196*fcf3ce44SJohn Forte#Usage: This field specifies the amount of time the driver waits for
197*fcf3ce44SJohn Forte#       a Fibre Channel loop to come up before reporting the failure.
198*fcf3ce44SJohn Forte#NOTE:  Small values may report transient errors that should be ignored.
199*fcf3ce44SJohn Fortelink-down-timeout=0;
200*fcf3ce44SJohn Forte
201*fcf3ce44SJohn Forte#Name:  Link down error
202*fcf3ce44SJohn Forte#Type:  Integer, flag; Range: 0 (disable), 1 (enable); Default: 1
203*fcf3ce44SJohn Forte#Usage: This field disables the driver error reporting during link down
204*fcf3ce44SJohn Forte#       conditions.
205*fcf3ce44SJohn Forteenable-link-down-error=1;
206*fcf3ce44SJohn Forte
207*fcf3ce44SJohn Forte#Name:  Enable extended logging
208*fcf3ce44SJohn Forte#Type:  Integer, flag; Range: 0 (disable), 1 (enable); Default: 0
209*fcf3ce44SJohn Forte#Usage: This field enables logging of driver detected events occurring
210*fcf3ce44SJohn Forte#       either in the driver or fibre channel bus. Events are logged
211*fcf3ce44SJohn Forte#       in Solaris /var/adm/messages file.
212*fcf3ce44SJohn Forteextended-logging=0;
213*fcf3ce44SJohn Forte
214*fcf3ce44SJohn Forte#Name:  Firmware Dump Flags
215*fcf3ce44SJohn Forte#Type:  Integer, flag bits; Range: 0 (disable), 1 (enable); Default: 0
216*fcf3ce44SJohn Forte#Usage: These flags are used to force a firmware dump when the flag
217*fcf3ce44SJohn Forte#       condition occurs. More than one flag bit can be combined to
218*fcf3ce44SJohn Forte#       obtain the desired result.
219*fcf3ce44SJohn Forte#       TAKE_FW_DUMP_ON_MAILBOX_TIMEOUT         1
220*fcf3ce44SJohn Forte#       TAKE_FW_DUMP_ON_ISP_SYSTEM_ERROR        2
221*fcf3ce44SJohn Forte#       TAKE_FW_DUMP_ON_DRIVER_COMMAND_TIMEOUT  4
222*fcf3ce44SJohn Forte#       TAKE_FW_DUMP_ON_LOOP_OFFLINE_TIMEOUT    8
223*fcf3ce44SJohn Fortefirmware-dump-flags=0;
224*fcf3ce44SJohn Forte
225*fcf3ce44SJohn Forte#Name:  PCI max read request override
226*fcf3ce44SJohn Forte#Type:  Integer, bytes; Range: 128, 256, 512, 1024, 2048, 4096
227*fcf3ce44SJohn Forte#Usage: This field specifies the value to be used for the PCI max read
228*fcf3ce44SJohn Forte#       request setting, overriding the default value or the value programmed
229*fcf3ce44SJohn Forte#       by the system.
230*fcf3ce44SJohn Forte#NOTE:  The minimum value is 128 bytes on PCI Express and 512 on PCI; if
231*fcf3ce44SJohn Forte#       this variable does not exist or is not equal to 128, 256, 512,
232*fcf3ce44SJohn Forte#       1024, 2048 or 4096, the ISP2xxx uses the default or the value
233*fcf3ce44SJohn Forte#       specified by the system.
234*fcf3ce44SJohn Fortepci-max-read-request=2048;
235*fcf3ce44SJohn Forte
236*fcf3ce44SJohn Forte#Name:	DDI Force Attach
237*fcf3ce44SJohn Forte#Type:	Interger, byte; Range: 0, 1
238*fcf3ce44SJohn Forte#Usage:	This field specifies to the Solaris kernel during boot to always
239*fcf3ce44SJohn Forte#	load all instances of the driver regardless of system events or
240*fcf3ce44SJohn Forte#	conditions.
241*fcf3ce44SJohn Forteddi-forceattach=1;
242*fcf3ce44SJohn Forte
243*fcf3ce44SJohn Forte#Name:	Init Loop Sync Time
244*fcf3ce44SJohn Forte#Type:  Integer, seconds; Range: 1 - 240; Default: 10
245*fcf3ce44SJohn Forte#Usage:	This field specific the time the driver will wait for the
246*fcf3ce44SJohn Forte#	switch and the HBA firmware to sync during boot or the
247*fcf3ce44SJohn Forte#	initial loading of the driver.
248*fcf3ce44SJohn Forteinit-loop-sync-wait=10;
249*fcf3ce44SJohn Forte
250*fcf3ce44SJohn Forte#Name:  DDI Force Load
251*fcf3ce44SJohn Forte#Type:  String List
252*fcf3ce44SJohn Forte#Usage: This field declares firmware module paths so that they get
253*fcf3ce44SJohn Forte#       loaded early enough to be available for qlc root instance to
254*fcf3ce44SJohn Forte#       use.  Correct operation depends on the value of 'ddi-forceload';
255*fcf3ce44SJohn Forte#       this value should not be changed by the user.
256*fcf3ce44SJohn Forteddi-forceload = "misc/qlc/qlc_fw_2200", "misc/qlc/qlc_fw_2300", "misc/qlc/qlc_fw_2400", "misc/qlc/qlc_fw_2500", "misc/qlc/qlc_fw_6322";
257*fcf3ce44SJohn Forte
258