Commit aa6db9b9 authored by Vikas Chaudhary's avatar Vikas Chaudhary Committed by Christoph Hellwig

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: default avatarVikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 9c4f8d92
...@@ -890,6 +890,8 @@ int qla4xxx_start_firmware(struct scsi_qla_host *ha) ...@@ -890,6 +890,8 @@ int qla4xxx_start_firmware(struct scsi_qla_host *ha)
if (status == QLA_SUCCESS) { if (status == QLA_SUCCESS) {
if (test_and_clear_bit(AF_GET_CRASH_RECORD, &ha->flags)) if (test_and_clear_bit(AF_GET_CRASH_RECORD, &ha->flags))
qla4xxx_get_crash_record(ha); qla4xxx_get_crash_record(ha);
qla4xxx_init_rings(ha);
} else { } else {
DEBUG(printk("scsi%ld: %s: Firmware has NOT started\n", DEBUG(printk("scsi%ld: %s: Firmware has NOT started\n",
ha->host_no, __func__)); ha->host_no, __func__));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment