diff options
author | Armen Baloyan <armen.baloyan@qlogic.com> | 2013-08-27 01:37:43 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-09-03 07:28:04 -0700 |
commit | c18b8e9e9de178cc18428b7e52fb39c90ecfc4d3 (patch) | |
tree | 2d74c7726b40acaab613718895f2bff17f2db984 /drivers/scsi | |
parent | f9a2a543566a5a61ff5b7d63d8cc16c0dbca151c (diff) | |
download | op-kernel-dev-c18b8e9e9de178cc18428b7e52fb39c90ecfc4d3.zip op-kernel-dev-c18b8e9e9de178cc18428b7e52fb39c90ecfc4d3.tar.gz |
[SCSI] qla2xxx: Send all AENs for ISPFx00 to above layers.
Signed-off-by: Armen Baloyan <armen.baloyan@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_mr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/drivers/scsi/qla2xxx/qla_mr.c index 85587de..ae1d00c6 100644 --- a/drivers/scsi/qla2xxx/qla_mr.c +++ b/drivers/scsi/qla2xxx/qla_mr.c @@ -1734,6 +1734,10 @@ qlafx00_process_aen(struct scsi_qla_host *vha, struct qla_work_evt *evt) aen_data = evt->u.aenfx.evtcode; switch (evt->u.aenfx.evtcode) { + case QLAFX00_MBA_SHUTDOWN_RQSTD: /* FW shutdown pending */ + set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); + rval = qlafx00_driver_shutdown(vha, 10); + break; case QLAFX00_MBA_PORT_UPDATE: /* Port database update */ if (evt->u.aenfx.mbx[1] == 0) { if (evt->u.aenfx.mbx[2] == 1) { @@ -2920,8 +2924,6 @@ qlafx00_async_event(scsi_qla_host_t *vha) "Asynchronous critical temperature event received " "aenmb[0]: %x\n", ha->aenmb[0]); - qlafx00_post_aenfx_work(vha, ha->aenmb[0], - (uint32_t *)ha->aenmb, 1); break; default: |