summaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorXiaofei Tan <tanxiaofei@huawei.com>2017-12-08 18:16:34 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2017-12-15 03:25:02 +0100
commit0258141aaab3007949ba0e67c3d28436354429bb (patch)
tree818ba4266bd6085fd9407085538e1c82483dc520 /tools/Makefile
parentscsi: hisi_sas: fix dma_unmap_sg() parameter (diff)
downloadlinux-0258141aaab3007949ba0e67c3d28436354429bb.tar.xz
linux-0258141aaab3007949ba0e67c3d28436354429bb.zip
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>
Diffstat (limited to 'tools/Makefile')
0 files changed, 0 insertions, 0 deletions