sh->io_port = ha->io_addr; @@ -6867,10 +6864,21 @@ ips_register_scsi(int index) sh->max_channel = ha->nbus - 1; sh->can_queue = ha->max_cmds - 1; - scsi_add_host(sh, NULL); + if (scsi_add_host(sh, &ha->pcidev->dev)) + goto err_out; + + ips_sh[index] ...
b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c index 086695a4099f..e8323d038d53 100644 --- a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c +++ b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c @@ -2678,6 +2678,7 @@ static struct scsi_host_template sht_v3_hw = { .ioctl = sas_ioctl, .s...
PROBLEM TO BE SOLVED: To prevent the generation of a failure such as data destruction or the like by automatically performing an appropriate transfer speed setting processing corresponding to the state of a device (target device) connected to a SCSI(small computer system interface) bus.SUZUKI ...
Add a new field 'nr_reserved_cmds' to the SCSI host template to instruct the block layer to set aside a tag space for reserved commands. Out of curiousity, is there a reason why this would not also be added toscsi_host_template? Signed-off-by: Hannes Reinecke <h...@suse.com> ---...