diff options
author | Michael Hernandez <michael.hernandez@qlogic.com> | 2009-12-15 21:29:44 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-30 11:09:45 -0600 |
commit | 3064ff39b8121acbd731f64d046218ebf3c2f9c0 (patch) | |
tree | 8858b9af58db67c662ad3db6b6f3a8c0abd1a256 /drivers/scsi/qla2xxx/qla_init.c | |
parent | 44214ab474671e1ab5a860954db413bce52f7e04 (diff) | |
download | op-kernel-dev-3064ff39b8121acbd731f64d046218ebf3c2f9c0.zip op-kernel-dev-3064ff39b8121acbd731f64d046218ebf3c2f9c0.tar.gz |
[SCSI] qla2xxx: Get the link data rate explicitly during device resync.
When the hba port gets logged out of the fabric, or other
such transitional state when the physical link is still present,
the driver doesn't receive a loop up asyn event (where the link
data rate currently gets set). Hence send a explicit mailbox command
to get the link rate in such conditions.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 73a7935..0f7ea6c 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -2266,6 +2266,8 @@ qla2x00_configure_loop(scsi_qla_host_t *vha) clear_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); clear_bit(RSCN_UPDATE, &vha->dpc_flags); + qla2x00_get_data_rate(vha); + /* Determine what we need to do */ if (ha->current_topology == ISP_CFG_FL && (test_bit(LOCAL_LOOP_UPDATE, &flags))) { |