aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2008-07-10 19:55:48 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-26 15:14:36 -0400
commit85821c906cf3563a00a3d98fa380a2581a7a5ff1 (patch)
tree52529a6a5f03c8d1aaacda0055cb480a63b50457 /drivers/scsi/qla2xxx/qla_os.c
parent5f3a9a207f1fccde476dd31b4c63ead2967d934f (diff)
[SCSI] qla2xxx: Set an rport's dev_loss_tmo value in a consistent manner.
As there's no point in adding a fixed-fudge value (originally 5 seconds), honor the user settings only. We also remove the driver's dead-callback get_rport_dev_loss_tmo function (qla2x00_get_rport_loss_tmo()). Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index c5ad858e17e6..047ee644aa91 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -1107,7 +1107,7 @@ qla2xxx_slave_configure(struct scsi_device *sdev)
1107 else 1107 else
1108 scsi_deactivate_tcq(sdev, ha->max_q_depth); 1108 scsi_deactivate_tcq(sdev, ha->max_q_depth);
1109 1109
1110 rport->dev_loss_tmo = ha->port_down_retry_count + 5; 1110 rport->dev_loss_tmo = ha->port_down_retry_count;
1111 1111
1112 return 0; 1112 return 0;
1113} 1113}