Commit 5d2878b5 authored by Chad Dupuis's avatar Chad Dupuis Committed by James Bottomley

[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: default avatarAndrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: default avatarChad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent fafbda9f
...@@ -476,7 +476,6 @@ qla24xx_create_vhost(struct fc_vport *fc_vport) ...@@ -476,7 +476,6 @@ qla24xx_create_vhost(struct fc_vport *fc_vport)
vha->req = base_vha->req; vha->req = base_vha->req;
host->can_queue = base_vha->req->length + 128; host->can_queue = base_vha->req->length + 128;
host->this_id = 255;
host->cmd_per_lun = 3; host->cmd_per_lun = 3;
if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif) if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif)
host->max_cmd_len = 32; host->max_cmd_len = 32;
......
...@@ -2418,7 +2418,6 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) ...@@ -2418,7 +2418,6 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
host->can_queue, base_vha->req, host->can_queue, base_vha->req,
base_vha->mgmt_svr_loop_id, host->sg_tablesize); base_vha->mgmt_svr_loop_id, host->sg_tablesize);
host->max_id = ha->max_fibre_devices; host->max_id = ha->max_fibre_devices;
host->this_id = 255;
host->cmd_per_lun = 3; host->cmd_per_lun = 3;
host->unique_id = host->host_no; host->unique_id = host->host_no;
if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif) if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment