diff options
author | andrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com> | 2006-03-09 17:27:44 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-12 10:40:37 -0500 |
commit | 9a52a57cb9d247fc1cea018fd3f4421f8fd6642a (patch) | |
tree | 1ceafa260a18a02485973cd0bed9b971f558910d /drivers/scsi/qla2xxx/qla_gbl.h | |
parent | 4a59f71d7f0d6dd433fd509584352cdd7c62e877 (diff) |
[SCSI] qla2xxx: Correct FCAL login retry logic for ISP24xx.
ISP24XX FW does not support Mbx 0x74 ie Login Local Port.
Added the equivalent code for ISP24XX ie to relogin in non
fabric case for ISP24XX use login iocb.
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_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index e897eadf0362..91e83e2c1eb8 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
@@ -42,7 +42,7 @@ extern int qla2x00_loop_resync(scsi_qla_host_t *); | |||
42 | 42 | ||
43 | extern int qla2x00_find_new_loop_id(scsi_qla_host_t *, fc_port_t *); | 43 | extern int qla2x00_find_new_loop_id(scsi_qla_host_t *, fc_port_t *); |
44 | extern int qla2x00_fabric_login(scsi_qla_host_t *, fc_port_t *, uint16_t *); | 44 | extern int qla2x00_fabric_login(scsi_qla_host_t *, fc_port_t *, uint16_t *); |
45 | extern int qla2x00_local_device_login(scsi_qla_host_t *, uint16_t); | 45 | extern int qla2x00_local_device_login(scsi_qla_host_t *, fc_port_t *); |
46 | 46 | ||
47 | extern void qla2x00_restart_queues(scsi_qla_host_t *, uint8_t); | 47 | extern void qla2x00_restart_queues(scsi_qla_host_t *, uint8_t); |
48 | 48 | ||
@@ -166,7 +166,8 @@ qla24xx_login_fabric(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t, | |||
166 | uint16_t *, uint8_t); | 166 | uint16_t *, uint8_t); |
167 | 167 | ||
168 | extern int | 168 | extern int |
169 | qla2x00_login_local_device(scsi_qla_host_t *, uint16_t, uint16_t *, uint8_t); | 169 | qla2x00_login_local_device(scsi_qla_host_t *, fc_port_t *, uint16_t *, |
170 | uint8_t); | ||
170 | 171 | ||
171 | extern int | 172 | extern int |
172 | qla2x00_fabric_logout(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t); | 173 | qla2x00_fabric_logout(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t); |