diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2013-12-16 06:49:41 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-15 13:19:14 -0400 |
commit | 831805a150e936defc9b54fa069a3cdd9529eedb (patch) | |
tree | cb2639761f7abc933ee7c433294257fb09a46198 /drivers/scsi/qla4xxx/ql4_mbx.c | |
parent | de2efea62bc50d1277cd8ad91e00aac4bb793146 (diff) |
[SCSI] qla4xxx: Fix failure of IDC Time Extend mailbox command
Issue:
Mailbox command 0x102 (IDC Time Extend) failure seen while applying
changes to iface using iscsiadm
Fix:
Added fix to extend IDC timeout only for ISP84xx when IDC ACK
needs to be posted and disable ACB mailbox command completion
is in intermediate state.
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_mbx.c')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_mbx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_mbx.c b/drivers/scsi/qla4xxx/ql4_mbx.c index f0dc6b321c8d..6905bad3e15c 100644 --- a/drivers/scsi/qla4xxx/ql4_mbx.c +++ b/drivers/scsi/qla4xxx/ql4_mbx.c | |||
@@ -1922,6 +1922,7 @@ int qla4xxx_disable_acb(struct scsi_qla_host *ha) | |||
1922 | mbox_sts[0], mbox_sts[1], mbox_sts[2])); | 1922 | mbox_sts[0], mbox_sts[1], mbox_sts[2])); |
1923 | } else { | 1923 | } else { |
1924 | if (is_qla8042(ha) && | 1924 | if (is_qla8042(ha) && |
1925 | test_bit(DPC_POST_IDC_ACK, &ha->dpc_flags) && | ||
1925 | (mbox_sts[0] != MBOX_STS_COMMAND_COMPLETE)) { | 1926 | (mbox_sts[0] != MBOX_STS_COMMAND_COMPLETE)) { |
1926 | /* | 1927 | /* |
1927 | * Disable ACB mailbox command takes time to complete | 1928 | * Disable ACB mailbox command takes time to complete |