]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - drivers/scsi/hisi_sas/hisi_sas_main.c
scsi: hisi_sas: Include TMF elements in struct hisi_sas_slot
authorXiaofei Tan <tanxiaofei@huawei.com>
Mon, 21 May 2018 10:09:21 +0000 (18:09 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 May 2018 02:40:32 +0000 (22:40 -0400)
commit78bd2b4f6e7c0522cc8bc8ad651f20813ae06f6c
treec8918e2aae3253e46c8dc1426c4f4d94ed0fe180
parenta865ae14ff62797f14b760b2063b90c81d27d178
scsi: hisi_sas: Include TMF elements in struct hisi_sas_slot

In future scenarios we will want to use the TMF struct for more task types
than SSP.

As such, we can add struct hisi_sas_tmf_task directly into struct
hisi_sas_slot, and this will mean we can remove the TMF parameters from the
task prep functions.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c