aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hisi_sas/hisi_sas.h
diff options
context:
space:
mode:
authorXiaofei Tan <tanxiaofei@huawei.com>2017-10-24 23:51:45 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2017-10-31 12:28:00 -0400
commitb4241f0fa3e445ad4e2d06b7370d45195fd7a627 (patch)
treeca9a83a4e471301a7e6499db1f68b9147402c7a5 /drivers/scsi/hisi_sas/hisi_sas.h
parentscsi: hisi_sas: add v3 hw DFX feature (diff)
downloadlinux-dev-b4241f0fa3e445ad4e2d06b7370d45195fd7a627.tar.xz
linux-dev-b4241f0fa3e445ad4e2d06b7370d45195fd7a627.zip
scsi: hisi_sas: add hisi_hba.rst_work init for v3 hw
Add init code of hisi_hba->rst_work for v3 hw. Because v3 hw also need it to recover controller when some hw errors occurs. 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 'drivers/scsi/hisi_sas/hisi_sas.h')
-rw-r--r--drivers/scsi/hisi_sas/hisi_sas.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/hisi_sas/hisi_sas.h b/drivers/scsi/hisi_sas/hisi_sas.h
index d2d384b5efb7..c65d151411e0 100644
--- a/drivers/scsi/hisi_sas/hisi_sas.h
+++ b/drivers/scsi/hisi_sas/hisi_sas.h
@@ -425,4 +425,5 @@ extern void hisi_sas_slot_task_free(struct hisi_hba *hisi_hba,
struct sas_task *task,
struct hisi_sas_slot *slot);
extern void hisi_sas_init_mem(struct hisi_hba *hisi_hba);
+extern void hisi_sas_rst_work_handler(struct work_struct *work);
#endif