diff options
author | Chad Dupuis <chad.dupuis@qlogic.com> | 2012-08-22 14:21:17 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-24 04:10:50 -0400 |
commit | 5d2878b5ebba724fa93b71f3d1577f4c872cde2d (patch) | |
tree | 9a13032f08a15a6f4170c6a04afe9274219c8217 | |
parent | fafbda9f9cdeb3d29d8cb50ac029f704f52fac49 (diff) |
[SCSI] qla2xxx: Remove setting Scsi_host->this_id during adapter probe.
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>
-rw-r--r-- | drivers/scsi/qla2xxx/qla_mid.c | 1 | ||||
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mid.c b/drivers/scsi/qla2xxx/qla_mid.c index 4c2da06aad23..bd4708a422cd 100644 --- a/drivers/scsi/qla2xxx/qla_mid.c +++ b/drivers/scsi/qla2xxx/qla_mid.c | |||
@@ -476,7 +476,6 @@ qla24xx_create_vhost(struct fc_vport *fc_vport) | |||
476 | 476 | ||
477 | vha->req = base_vha->req; | 477 | vha->req = base_vha->req; |
478 | host->can_queue = base_vha->req->length + 128; | 478 | host->can_queue = base_vha->req->length + 128; |
479 | host->this_id = 255; | ||
480 | host->cmd_per_lun = 3; | 479 | host->cmd_per_lun = 3; |
481 | if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif) | 480 | if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif) |
482 | host->max_cmd_len = 32; | 481 | host->max_cmd_len = 32; |
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index c7eabcd56915..53ea9043c7ef 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -2418,7 +2418,6 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
2418 | host->can_queue, base_vha->req, | 2418 | host->can_queue, base_vha->req, |
2419 | base_vha->mgmt_svr_loop_id, host->sg_tablesize); | 2419 | base_vha->mgmt_svr_loop_id, host->sg_tablesize); |
2420 | host->max_id = ha->max_fibre_devices; | 2420 | host->max_id = ha->max_fibre_devices; |
2421 | host->this_id = 255; | ||
2422 | host->cmd_per_lun = 3; | 2421 | host->cmd_per_lun = 3; |
2423 | host->unique_id = host->host_no; | 2422 | host->unique_id = host->host_no; |
2424 | if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif) | 2423 | if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif) |