qla2xxx: Fix duplicate message id.
authorSawan Chandak <sawan.chandak@qlogic.com>
Wed, 6 Jul 2016 15:14:33 +0000 (11:14 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Jul 2016 19:35:51 +0000 (15:35 -0400)
Signed-off-by: Sawan Chandak <sawan.chandak@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_mbx.c

index 97b0a9da091322c6ee5945edd0289a6b6789d633..45af34ddc43297d06c8c7cf44425a1a7cee4cc7f 100644 (file)
@@ -14,9 +14,8 @@
  * | Module Init and Probe        |       0x0191       | 0x0146         |
  * |                              |                    | 0x015b-0x0160 |
  * |                              |                    | 0x016e                |
- * | Mailbox commands             |       0x1196       | 0x1193                |
- * |                              |                    |               |
- * | Device Discovery             |       0x2003       | 0x2016                |
+ * | Mailbox commands             |       0x1199       | 0x1193                |
+ * | Device Discovery             |       0x2004       | 0x2016                |
  * |                              |                    | 0x2011-0x2012, |
  * |                              |                    | 0x2099-0x20a4  |
  * | Queue Command and IO tracing |       0x3074       | 0x300b         |
@@ -26,7 +25,7 @@
  * |                              |                    | 0x3036,0x3038  |
  * |                              |                    | 0x303a                |
  * | DPC Thread                   |       0x4023       | 0x4002,0x4013  |
- * | Async Events                 |       0x5089       | 0x502b-0x502f  |
+ * | Async Events                 |       0x5090       | 0x502b-0x502f  |
  * |                             |                    | 0x5047         |
  * |                              |                    | 0x5084,0x5075 |
  * |                              |                    | 0x503d,0x5044  |
index 4c800d6ad51417b0436f337059cc4b853ae8f81c..987f1c729e9cd588c13219269b11d84d2ca6f183 100644 (file)
@@ -721,7 +721,7 @@ skip_rio:
                break;
 
        case MBA_LOOP_INIT_ERR:
-               ql_log(ql_log_warn, vha, 0x507b,
+               ql_log(ql_log_warn, vha, 0x5090,
                    "LOOP INIT ERROR (%x).\n", mb[1]);
                ha->isp_ops->fw_dump(vha, 1);
                set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
index bf16e6f5dbf549ee7712f7190459c752753596fe..23698c9986998a0a7279e6e256d4c377f6fceab9 100644 (file)
@@ -404,7 +404,7 @@ mbx_done:
                    "**** Failed mbx[0]=%x, mb[1]=%x, mb[2]=%x, mb[3]=%x, cmd=%x ****.\n",
                    mcp->mb[0], mcp->mb[1], mcp->mb[2], mcp->mb[3], command);
 
-               ql_dbg(ql_dbg_disc, vha, 0x1115,
+               ql_dbg(ql_dbg_mbx, vha, 0x1198,
                    "host status: 0x%x, flags:0x%lx, intr ctrl reg:0x%x, intr status:0x%x\n",
                    RD_REG_DWORD(&reg->isp24.host_status),
                    ha->fw_dump_cap_flags,
@@ -413,7 +413,7 @@ mbx_done:
 
                mbx_reg = &reg->isp24.mailbox0;
                for (i = 0; i < 6; i++)
-                       ql_dbg(ql_dbg_disc + ql_dbg_verbose, vha, 0x1116,
+                       ql_dbg(ql_dbg_mbx + ql_dbg_verbose, vha, 0x1199,
                            "mbox[%d] 0x%04x\n", i, RD_REG_WORD(mbx_reg++));
        } else {
                ql_dbg(ql_dbg_mbx, base_vha, 0x1021, "Done %s.\n", __func__);