]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla2xxx: Remove setting Scsi_host->this_id during adapter probe.
authorChad Dupuis <chad.dupuis@qlogic.com>
Fri, 6 Jul 2012 19:44:58 +0000 (14:44 -0500)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 27 Aug 2012 09:44:27 +0000 (02:44 -0700)
Setting this to 255 will cause any target with id 255 to not show up so leave
it at the default in our host template.

JIRA Key: V2632FC-231

ER: ER93655

drivers/scsi/qla2xxx/qla_mid.c
drivers/scsi/qla2xxx/qla_os.c

index 39103730c0d9235c56e1d6bab9012fbe943be863..09543927fe1f0569aef547c958de988cd8b592f2 100644 (file)
@@ -468,7 +468,6 @@ qla24xx_create_vhost(struct fc_vport *fc_vport)
 
        vha->req = base_vha->req;
        host->can_queue = base_vha->req->length + 128;
-       host->this_id = 255;
        host->cmd_per_lun = 3;
        if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif)
                host->max_cmd_len = 32;
index 559f66a4ed819ed443e00f32e6aac5eeff370dd9..bb89782545cd29dab0ddadc0e3dc0f07b1d24cc0 100644 (file)
@@ -2404,7 +2404,6 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
            host->can_queue, base_vha->req,
            base_vha->mgmt_svr_loop_id, host->sg_tablesize);
        host->max_id = ha->max_fibre_devices;
-       host->this_id = 255;
        host->cmd_per_lun = 3;
        host->unique_id = host->host_no;
        if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif)