diff options
| author | Xiaofei Tan <[email protected]> | 2017-12-09 01:16:34 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-12-14 21:25:02 -0500 |
| commit | 0258141aaab3007949ba0e67c3d28436354429bb (patch) | |
| tree | 818ba4266bd6085fd9407085538e1c82483dc520 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | dc1e4730e2b636065628f8427b675788bca83d34 (diff) | |
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 <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions