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
..
2017-11-14 16:23:44 -08:00
2017-12-11 21:30:46 -05:00
2017-11-14 16:23:44 -08:00
2017-09-07 12:12:43 -07:00
2017-11-14 16:23:44 -08:00
2017-12-04 20:32:53 -05:00
2017-12-04 20:32:53 -05:00
2017-08-25 17:21:11 -04:00
2017-08-24 22:29:06 -04:00
2017-08-25 17:21:10 -04:00
2017-08-08 11:49:51 -04:00
2017-11-14 16:23:44 -08:00
2017-11-14 16:23:44 -08:00
2017-12-07 21:32:03 -05:00
2017-11-14 16:23:44 -08:00
2017-04-13 13:58:20 -04:00
2017-11-14 16:23:44 -08:00
2017-11-14 16:23:44 -08:00
2017-09-07 12:12:43 -07:00
2017-12-04 20:32:53 -05:00
2017-04-26 18:32:29 -04:00