linux/drivers/scsi/hisi_sas
Xiang Chen 6db831f4ef scsi: hisi_sas: Make sg_tablesize consistent value
Sht->sg_tablesize is set in the driver, and it will be assigned to
shost->sg_tablesize in SCSI mid-layer. So it is not necessary to assign
shost->sg_table one more time in the driver.

In addition to the change, change each scsi_host_template.sg_tablesize
to HISI_SAS_SGE_PAGE_CNT instead of SG_ALL.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-12-12 21:23:17 -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: hisi_sas: Make sg_tablesize consistent value 2018-12-12 21:23:17 -05:00
hisi_sas_v2_hw.c scsi: hisi_sas: Make sg_tablesize consistent value 2018-12-12 21:23:17 -05:00
hisi_sas_v3_hw.c scsi: hisi_sas: Make sg_tablesize consistent value 2018-12-12 21:23:17 -05:00
hisi_sas.h scsi: hisi_sas: Fix warnings detected by sparse 2018-12-12 21:23:16 -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