]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[SCSI] qla2xxx: Remove setting Scsi_host->this_id during adapter probe.
authorChad Dupuis <chad.dupuis@qlogic.com>
Wed, 22 Aug 2012 18:21:17 +0000 (14:21 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 17 Sep 2012 12:33:54 +0000 (13:33 +0100)
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.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_mid.c
drivers/scsi/qla2xxx/qla_os.c

index 4c2da06aad231a6a5d530cd8c1a463b39f6354d3..bd4708a422cd78b09fd8594ded593af775343398 100644 (file)
@@ -476,7 +476,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 5439d48b4265c9ac061e8b1c666112dd550226c1..d3f71ccd88a7d8bc92e2e9287c855c68fd5c71c7 100644 (file)
@@ -2418,7 +2418,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)