OpenCloudOS-Kernel/drivers/scsi/hisi_sas
John Garry 7bb25a89aa scsi: hisi_sas: Set protection parameters prior to adding SCSI host
Currently we set the protection parameters after calling scsi_add_host()
for v3 hw.

They should be set beforehand, so make this change.

Appearantly this fixes our DIX issue (not mainline yet) also, but more
testing required.

Fixes: d6a9000b81 ("scsi: hisi_sas: Add support for DIF feature for v2 hw")
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-01-11 21:38:43 -05:00
..
Kconfig scsi: hisi_sas: Remove depends on HAS_DMA in case of platform dependency 2018-03-21 18:34:21 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00
hisi_sas.h scsi: hisi_sas: Add support for DIF feature for v2 hw 2018-12-18 23:35:02 -05:00
hisi_sas_main.c scsi: hisi_sas: Make sg_tablesize consistent value 2018-12-12 21:23:17 -05:00
hisi_sas_v1_hw.c SCSI misc on 20181224 2018-12-28 14:48:06 -08:00
hisi_sas_v2_hw.c SCSI misc on 20181224 2018-12-28 14:48:06 -08:00
hisi_sas_v3_hw.c scsi: hisi_sas: Set protection parameters prior to adding SCSI host 2019-01-11 21:38:43 -05:00