[SCSI] qla2xxx: Get fcal position map should not be called for p2p topology.
authorSaurav Kashyap <saurav.kashyap@qlogic.com>
Wed, 22 Aug 2012 18:21:27 +0000 (14:21 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:10:53 +0000 (12:10 +0400)
Signed-off-by: Saurav Kashyap <saurav.kashyap@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 6d3cf6edd7c74f19bdfff11b09377456d466bc1f..3e081bd8d34e4f5b48c7a1fe50d9b66feb17ffa3 100644 (file)
@@ -15,7 +15,8 @@
  * | Mailbox commands             |       0x114f       | 0x111a-0x111b  |
  * |                              |                    | 0x112c-0x112e  |
  * |                              |                    | 0x113a         |
- * | Device Discovery             |       0x2087       | 0x2020-0x2022  |
+ * | Device Discovery             |       0x2087       | 0x2020-0x2022, |
+ * |                              |                    | 0x2016         |
  * | Queue Command and IO tracing |       0x3030       | 0x3006,0x3008  |
  * |                              |                    | 0x302d-0x302e  |
  * | DPC Thread                   |       0x401d       | 0x4002,0x4013  |
index 327e0fc686ad1b57adf217111a841c0bacf47c0b..ef4aeb792135f3cd12f2924b81711c53035161e2 100644 (file)
@@ -2764,11 +2764,6 @@ qla2x00_configure_local_loop(scsi_qla_host_t *vha)
        new_fcport = NULL;
        entries = MAX_FIBRE_DEVICES_LOOP;
 
-       ql_dbg(ql_dbg_disc, vha, 0x2016,
-           "Getting FCAL position map.\n");
-       if (ql2xextended_error_logging & ql_dbg_disc)
-               qla2x00_get_fcal_position_map(vha, NULL);
-
        /* Get list of logged in devices. */
        memset(ha->gid_list, 0, qla2x00_gid_list_size(ha));
        rval = qla2x00_get_id_list(vha, ha->gid_list, ha->gid_list_dma,