diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2014-02-24 22:07:03 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-19 13:12:16 -0400 |
commit | aa6db9b9cdf642b220f2a0861facf6bab1d3ab37 (patch) | |
tree | 047675bfef3d92c80bfd599649e88e6263917b39 /drivers/scsi/qla4xxx | |
parent | 9c4f8d92c23de47db080d1a33addea30751f6122 (diff) |
qla4xxx: Initialize hardware queue for ISP40XX
Issue:
System crash while target discovery for ISP40XX
Root cause:
Function qla4xxx_init_rings() is not called for ISP40XX
Fix:
Call function qla4xxx_init_rings() for ISP40XX from
qla4xxx_start_firmware().
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/qla4xxx')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_init.c b/drivers/scsi/qla4xxx/ql4_init.c index 7dda1a0d7161..6f12f859b11d 100644 --- a/drivers/scsi/qla4xxx/ql4_init.c +++ b/drivers/scsi/qla4xxx/ql4_init.c | |||
@@ -890,6 +890,8 @@ int qla4xxx_start_firmware(struct scsi_qla_host *ha) | |||
890 | if (status == QLA_SUCCESS) { | 890 | if (status == QLA_SUCCESS) { |
891 | if (test_and_clear_bit(AF_GET_CRASH_RECORD, &ha->flags)) | 891 | if (test_and_clear_bit(AF_GET_CRASH_RECORD, &ha->flags)) |
892 | qla4xxx_get_crash_record(ha); | 892 | qla4xxx_get_crash_record(ha); |
893 | |||
894 | qla4xxx_init_rings(ha); | ||
893 | } else { | 895 | } else { |
894 | DEBUG(printk("scsi%ld: %s: Firmware has NOT started\n", | 896 | DEBUG(printk("scsi%ld: %s: Firmware has NOT started\n", |
895 | ha->host_no, __func__)); | 897 | ha->host_no, __func__)); |