diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2007-05-07 10:42:59 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-08 12:20:52 -0400 |
commit | a7b6184225d747e5ae0bee30a388e6ebb70d5b8e (patch) | |
tree | 226950de677c48a7d984a6de6f6efb2b3a13df36 /drivers/scsi/qla2xxx/qla_os.c | |
parent | 765140bf22adfaecd7077ce10cd6198ef872094c (diff) |
[SCSI] qla2xxx: Honor NVRAM port-down-retry-count settings.
Hardcoding the qlport_down_retry module-parameter
effectively disallowed any user-defined NVRAM setting to go
into effect.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 0a36912abcd2..dd076da86a46 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -36,7 +36,7 @@ module_param(ql2xlogintimeout, int, S_IRUGO|S_IRUSR); | |||
36 | MODULE_PARM_DESC(ql2xlogintimeout, | 36 | MODULE_PARM_DESC(ql2xlogintimeout, |
37 | "Login timeout value in seconds."); | 37 | "Login timeout value in seconds."); |
38 | 38 | ||
39 | int qlport_down_retry = 30; | 39 | int qlport_down_retry; |
40 | module_param(qlport_down_retry, int, S_IRUGO|S_IRUSR); | 40 | module_param(qlport_down_retry, int, S_IRUGO|S_IRUSR); |
41 | MODULE_PARM_DESC(qlport_down_retry, | 41 | MODULE_PARM_DESC(qlport_down_retry, |
42 | "Maximum number of command retries to a port that returns " | 42 | "Maximum number of command retries to a port that returns " |