[SCSI] qla4xxx: Added AER support for ISP82xx
Added support for PCI error handling Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com> Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Signed-off-by: Poornima Vonti <poornima.vonti@qlogic.com> Signed-off-by: Ravi Anand <ravi.anand@qlogic.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
这个提交包含在:
@@ -308,7 +308,6 @@ static int qla4xxx_fw_ready(struct scsi_qla_host *ha)
|
||||
DEBUG2(printk("scsi%ld: %s: unable to get firmware "
|
||||
"state\n", ha->host_no, __func__));
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
if (ha->firmware_state & FW_STATE_ERROR) {
|
||||
@@ -445,6 +444,10 @@ static int qla4xxx_init_firmware(struct scsi_qla_host *ha)
|
||||
{
|
||||
int status = QLA_ERROR;
|
||||
|
||||
if (is_aer_supported(ha) &&
|
||||
test_bit(AF_PCI_CHANNEL_IO_PERM_FAILURE, &ha->flags))
|
||||
return status;
|
||||
|
||||
/* For 82xx, stop firmware before initializing because if BIOS
|
||||
* has previously initialized firmware, then driver's initialize
|
||||
* firmware will fail. */
|
||||
|
在新工单中引用
屏蔽一个用户