scsi: hisi_sas: fix some small bugs related to parameters of scsi_shot and scsi_host_template
For v1/v3 hw, need to fill shost->can_queue with max_command_entries-96. And
also in scsi layer, it will assign sht->can_queue to shost->can_queue, which
will be covered by shost->can_queue in hisi_sas_probe() or hisi_sas_v3_probe(),
so it is no need to assign sht->can_queue in scsi_host_template.
Fixes: 7cca9a0fa469 ("scsi: hisi_sas: Use block layer tag instead of IPTT
defined in LLDD")
Signed-off-by: NXiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: NJohn Garry <john.garry@huawei.com>
Showing
想要评论请 注册 或 登录