PATCH [11/15] qla2xxx: Add login-retry-count override
Subsystems (2)
ChangeSet
1.1667 04/03/01 15:40:41 [email protected] +3 -0 Add a module parameter to override the NVRAM's login retry count value.
drivers/scsi/qla2xxx/qla_gbl.h | 1 + drivers/scsi/qla2xxx/qla_init.c | 2 ++ drivers/scsi/qla2xxx/qla_os.c | 5 +++++ 3 files changed, 8 insertions(+)
ftp://ftp.qlogic.com/outgoing/linux/patches/8.x/8.00.00b11k/20_add_nvr_login_retry_cnt.patch
drivers/scsi/qla2xxx/qla_gbl.h +1 -0
@@ -65,6 +65,7 @@extern int displayConfig;extern int ql2xplogiabsentdevice;extern int ql2xintrdelaytimer; +extern int ql2xloginretrycount;extern int ConfigRequired;
drivers/scsi/qla2xxx/qla_init.c +2 -0
@@ -1363,6 +1363,8 @@ ha->login_retry_count = ha->port_down_retry_count; else if (ha->port_down_retry_count > (int)ha->login_retry_count) ha->login_retry_count = ha->port_down_retry_count; +if (ql2xloginretrycount) + ha->login_retry_count = ql2xloginretrycount; ha->binding_type = Bind; if (ha->binding_type != BIND_BY_PORT_NAME &&
drivers/scsi/qla2xxx/qla_os.c +5 -0
@@ -110,6 +110,11 @@"Signal mid-layer to perform scan after driver load: 0 -- no " "signal sent to mid-layer."); +int ql2xloginretrycount =0 ; +module_param (ql2xloginretrycount, int,0 ); +MODULE_PARM_DESC (ql2xloginretrycount, +"Specify an alternate value for the NVRAM login retry count." ); +/* * Proc structures and functions */