[SCSI] qla2xxx: Add new message when a new loopid is assigned.
authorArun Easi <arun.easi@qlogic.com>
Thu, 9 Feb 2012 19:15:50 +0000 (11:15 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 14:23:14 +0000 (08:23 -0600)
Signed-off-by: Arun Easi <arun.easi@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_init.c

index e9153104afe1cb87403f2db01db5259bc362bed2..c28309bc3daa1ceaec48b85b38ca59aea08c5bd6 100644 (file)
@@ -14,7 +14,7 @@
  * | Module Init and Probe        |       0x0120       | 0x4b,0xba,0xfa |
  * | Mailbox commands             |       0x113e       | 0x112c-0x112e  |
  * |                              |                    | 0x113a         |
- * | Device Discovery             |       0x2085       | 0x2020-0x2022  |
+ * | Device Discovery             |       0x2086       | 0x2020-0x2022  |
  * | Queue Command and IO tracing |       0x302f       | 0x3006,0x3008  |
  * |                              |                    | 0x302d-0x302e  |
  * | DPC Thread                   |       0x401c       |               |
index abd095c400d82d76c7d30a311e21611f646e86eb..b28eb40d8adf149cbfd32883fb9bf037f769a12c 100644 (file)
@@ -3421,6 +3421,9 @@ qla2x00_find_new_loop_id(scsi_qla_host_t *vha, fc_port_t *dev)
 
                /* If not in use then it is free to use. */
                if (!found) {
+                       ql_dbg(ql_dbg_disc, dev->vha, 0x2086,
+                           "Assigning new loopid=%x, portid=%x.\n",
+                           dev->loop_id, dev->d_id.b24);
                        break;
                }