diff options
author | Joe Carnuccio <joe.carnuccio@qlogic.com> | 2013-02-08 01:57:48 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-02-22 07:31:36 -0500 |
commit | 61e1b269be20f2bd81d0e6a2ccdc42eca3a6f059 (patch) | |
tree | 2a66ac61225f309d0c96849860e40914c41cea70 /drivers/scsi/qla2xxx/qla_gbl.h | |
parent | e9454a883b3a26a63c3810f8e4f33c71e218728c (diff) |
[SCSI] qla2xxx: Do link initialization on get loop id failure.
To avoid continually doing ISP resets when get loop id fails to
obtain the adapter loop id, first try to do a link initialization.
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index 1732713e80cc..ee8ea952ed24 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
@@ -282,6 +282,9 @@ extern int | |||
282 | qla2x00_get_port_name(scsi_qla_host_t *, uint16_t, uint8_t *, uint8_t); | 282 | qla2x00_get_port_name(scsi_qla_host_t *, uint16_t, uint8_t *, uint8_t); |
283 | 283 | ||
284 | extern int | 284 | extern int |
285 | qla24xx_link_initialize(scsi_qla_host_t *); | ||
286 | |||
287 | extern int | ||
285 | qla2x00_lip_reset(scsi_qla_host_t *); | 288 | qla2x00_lip_reset(scsi_qla_host_t *); |
286 | 289 | ||
287 | extern int | 290 | extern int |