diff options
author | Nilesh Javali <nilesh.javali@qlogic.com> | 2012-09-20 13:35:10 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-24 10:41:53 +0200 |
commit | 320a61de9dc9ca1ed2b69c9a95968e0207c348df (patch) | |
tree | 3d6af8e69bda7cafeefda42166ec116b357d0a23 /drivers/scsi/qla4xxx/ql4_os.c | |
parent | [SCSI] qla4xxx: update copyrights in LICENSE.qla4xxx (diff) | |
download | linux-320a61de9dc9ca1ed2b69c9a95968e0207c348df.tar.xz linux-320a61de9dc9ca1ed2b69c9a95968e0207c348df.zip |
[SCSI] qla4xxx: IDC implementation for Loopback
Handle IDC Request Notify AEN and post IDC Acknowledgement
while participating in Loopback IDC.
Signed-off-by: Nilesh Javali <nilesh.javali@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_os.c')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_os.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 97ce44bb1ce9..35546807c9f7 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c @@ -3398,6 +3398,10 @@ static void qla4xxx_do_dpc(struct work_struct *work) ql4_printk(KERN_INFO, ha, "HW State: FAILED\n"); qla4_8xxx_device_state_handler(ha); } + + if (test_and_clear_bit(DPC_POST_IDC_ACK, &ha->dpc_flags)) + qla4_83xx_post_idc_ack(ha); + if (test_and_clear_bit(DPC_HA_NEED_QUIESCENT, &ha->dpc_flags)) { qla4_8xxx_need_qsnt_handler(ha); } |