summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_internal.h
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2022-02-17 16:42:34 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2022-02-19 21:59:34 +0100
commit4aef43b25df2bc81bebea1aa335a0696ab3a2275 (patch)
tree44e806ace41de675ba14823402ede83e2bfd8c64 /drivers/scsi/libsas/sas_internal.h
parentscsi: hisi_sas: Delete unused I_T_NEXUS_RESET_PHYUP_TIMEOUT (diff)
downloadlinux-4aef43b25df2bc81bebea1aa335a0696ab3a2275.tar.xz
linux-4aef43b25df2bc81bebea1aa335a0696ab3a2275.zip
scsi: libsas: Move SMP task handlers to core
Move the SMP task handlers to the core host code as they will be re-used for executing internal abort and TMF tasks. Link: https://lore.kernel.org/r/1645112566-115804-7-git-send-email-john.garry@huawei.com Tested-by: Yihang Li <liyihang6@hisilicon.com> Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libsas/sas_internal.h')
-rw-r--r--drivers/scsi/libsas/sas_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/libsas/sas_internal.h b/drivers/scsi/libsas/sas_internal.h
index acd515c01861..cd6aa723c3e1 100644
--- a/drivers/scsi/libsas/sas_internal.h
+++ b/drivers/scsi/libsas/sas_internal.h
@@ -95,6 +95,9 @@ void sas_destruct_devices(struct asd_sas_port *port);
extern const work_func_t sas_phy_event_fns[PHY_NUM_EVENTS];
extern const work_func_t sas_port_event_fns[PORT_NUM_EVENTS];
+void sas_task_internal_done(struct sas_task *task);
+void sas_task_internal_timedout(struct timer_list *t);
+
#ifdef CONFIG_SCSI_SAS_HOST_SMP
extern void sas_smp_host_handler(struct bsg_job *job, struct Scsi_Host *shost);
#else