Commit c18b8e9e authored by Armen Baloyan's avatar Armen Baloyan Committed by James Bottomley

[SCSI] qla2xxx: Send all AENs for ISPFx00 to above layers.

Signed-off-by: default avatarArmen Baloyan <armen.baloyan@qlogic.com>
Signed-off-by: default avatarSaurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent f9a2a543
...@@ -1734,6 +1734,10 @@ qlafx00_process_aen(struct scsi_qla_host *vha, struct qla_work_evt *evt) ...@@ -1734,6 +1734,10 @@ qlafx00_process_aen(struct scsi_qla_host *vha, struct qla_work_evt *evt)
aen_data = evt->u.aenfx.evtcode; aen_data = evt->u.aenfx.evtcode;
switch (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 */ case QLAFX00_MBA_PORT_UPDATE: /* Port database update */
if (evt->u.aenfx.mbx[1] == 0) { if (evt->u.aenfx.mbx[1] == 0) {
if (evt->u.aenfx.mbx[2] == 1) { if (evt->u.aenfx.mbx[2] == 1) {
...@@ -2920,8 +2924,6 @@ qlafx00_async_event(scsi_qla_host_t *vha) ...@@ -2920,8 +2924,6 @@ qlafx00_async_event(scsi_qla_host_t *vha)
"Asynchronous critical temperature event received " "Asynchronous critical temperature event received "
"aenmb[0]: %x\n", "aenmb[0]: %x\n",
ha->aenmb[0]); ha->aenmb[0]);
qlafx00_post_aenfx_work(vha, ha->aenmb[0],
(uint32_t *)ha->aenmb, 1);
break; break;
default: default:
......
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