linux_dsm_epyc7002/drivers/scsi/hisi_sas
Xiaofei Tan 0258141aaa scsi: hisi_sas: relocate clearing ITCT and freeing device
In certain scenarios we may just want to clear the ITCT for a device, and not
free other resources like the SATA bitmap using in v2 hw.

To facilitate this, this patch relocates the code of clearing ITCT from
free_device() to a new hw interface clear_itct().  Then for some hw, we should
not realise free_device() if there's nothing left to do for it.

[mkp: typo]

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>
2017-12-14 21:25:02 -05:00
..
hisi_sas_main.c scsi: hisi_sas: relocate clearing ITCT and freeing device 2017-12-14 21:25:02 -05:00
hisi_sas_v1_hw.c scsi: hisi_sas: relocate clearing ITCT and freeing device 2017-12-14 21:25:02 -05:00
hisi_sas_v2_hw.c scsi: hisi_sas: relocate clearing ITCT and freeing device 2017-12-14 21:25:02 -05:00
hisi_sas_v3_hw.c scsi: hisi_sas: relocate clearing ITCT and freeing device 2017-12-14 21:25:02 -05:00
hisi_sas.h scsi: hisi_sas: relocate clearing ITCT and freeing device 2017-12-14 21:25:02 -05:00
Kconfig scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00