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