diff options
author | Joe Carnuccio <joe.carnuccio@qlogic.com> | 2011-03-30 11:46:27 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-05-01 10:10:47 -0500 |
commit | 03bcfb57c098016e318e2672028f93ec072a2333 (patch) | |
tree | c309dfe3c954d7ef50a02b27a9c8edf61b720801 /drivers/scsi/qla2xxx/qla_gbl.h | |
parent | 8f7daead3c7861f9d0caa55269773136ab443b41 (diff) | |
download | kernel_goldelico_gta04-03bcfb57c098016e318e2672028f93ec072a2333.zip kernel_goldelico_gta04-03bcfb57c098016e318e2672028f93ec072a2333.tar.gz kernel_goldelico_gta04-03bcfb57c098016e318e2672028f93ec072a2333.tar.bz2 |
[SCSI] qla2xxx: Add test for valid loop id to qla2x00_relogin().
If fabric device has invalid loop id (FC_NO_LOOP_ID) then call
qla2x00_find_new_loop_id() to attempt to obtain valid loop id.
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index d009c6f..cd646ca 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h @@ -39,6 +39,8 @@ extern int qla81xx_load_risc(scsi_qla_host_t *, uint32_t *); extern int qla2x00_perform_loop_resync(scsi_qla_host_t *); extern int qla2x00_loop_resync(scsi_qla_host_t *); +extern int qla2x00_find_new_loop_id(scsi_qla_host_t *, fc_port_t *); + extern int qla2x00_fabric_login(scsi_qla_host_t *, fc_port_t *, uint16_t *); extern int qla2x00_local_device_login(scsi_qla_host_t *, fc_port_t *); |