]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
[SCSI] qla2xxx: QLAFX00 make over temperature AEN handling informational, add log...
authorArmen Baloyan <armen.baloyan@qlogic.com>
Tue, 27 Aug 2013 05:37:46 +0000 (01:37 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 3 Sep 2013 14:28:05 +0000 (07:28 -0700)
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>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_mr.c

index b1b6bc150c8178abd7d67d91fdfef8af95b2739f..ca6bcf6e721dd3088b6a219c476e552de8f22bcd 100644 (file)
@@ -26,7 +26,7 @@
  * |                              |                    | 0x3036,0x3038  |
  * |                              |                    | 0x303a                |
  * | DPC Thread                   |       0x4022       | 0x4002,0x4013  |
- * | Async Events                 |       0x5083       | 0x502b-0x502f  |
+ * | Async Events                 |       0x5086       | 0x502b-0x502f  |
  * |                              |                    | 0x5047,0x5052  |
  * |                              |                    | 0x5040,0x5075  |
  * |                              |                    | 0x503d,0x5044  |
index 470f0704f1f75747a8e74eae1b7a8c74372e9101..e48a71e7933f634dc5691a16c2d6a6ad03857bff 100644 (file)
@@ -1765,7 +1765,6 @@ qlafx00_process_aen(struct scsi_qla_host *vha, struct qla_work_evt *evt)
                aen_code = FCH_EVT_LINKDOWN;
                aen_data = 0;
                break;
-       case QLAFX00_MBA_TEMP_OVER:
        case QLAFX00_MBA_TEMP_CRIT:     /* Critical temperature event */
                ql_log(ql_log_info, vha, 0x5082,
                    "Process critical temperature event "
@@ -2915,6 +2914,19 @@ qlafx00_async_event(scsi_qla_host_t *vha)
                break;
 
        case QLAFX00_MBA_TEMP_OVER:     /* Over temperature event */
+               ql_log(ql_log_info, vha, 0x5085,
+                   "Asynchronous over temperature event received "
+                   "aenmb[0]: %x\n",
+                   ha->aenmb[0]);
+               break;
+
+       case QLAFX00_MBA_TEMP_NORM:     /* Normal temperature event */
+               ql_log(ql_log_info, vha, 0x5086,
+                   "Asynchronous normal temperature event received "
+                   "aenmb[0]: %x\n",
+                   ha->aenmb[0]);
+               break;
+
        case QLAFX00_MBA_TEMP_CRIT:     /* Critical temperature event */
                ql_log(ql_log_info, vha, 0x5083,
                    "Asynchronous critical temperature event received "