]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: hisi_sas: tidy host controller reset function a bit
authorXiaofei Tan <tanxiaofei@huawei.com>
Wed, 18 Jul 2018 14:14:28 +0000 (22:14 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 20 Jul 2018 01:57:39 +0000 (21:57 -0400)
commit4522204ab218a8c1f4d3901276deb0a61e7ac9c0
tree893cbf13ee1cefb86ad3e4451a10e3162c792ceb
parent25908cac84b2ea18d4609fc237d6135d0037041d
scsi: hisi_sas: tidy host controller reset function a bit

This patch tidies host controller reset function by putting some code to
two new functions, and exports these two functions out, so that they could
be used by FLR feature to be realised.

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