diff options
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libsas.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h index 29a8cc7831af..ae33706afeb0 100644 --- a/include/scsi/libsas.h +++ b/include/scsi/libsas.h | |||
@@ -613,10 +613,6 @@ struct sas_task { | |||
613 | 613 | ||
614 | enum sas_protocol task_proto; | 614 | enum sas_protocol task_proto; |
615 | 615 | ||
616 | /* Used by the discovery code. */ | ||
617 | struct timer_list timer; | ||
618 | struct completion completion; | ||
619 | |||
620 | union { | 616 | union { |
621 | struct sas_ata_task ata_task; | 617 | struct sas_ata_task ata_task; |
622 | struct sas_smp_task smp_task; | 618 | struct sas_smp_task smp_task; |
@@ -633,8 +629,15 @@ struct sas_task { | |||
633 | 629 | ||
634 | void *lldd_task; /* for use by LLDDs */ | 630 | void *lldd_task; /* for use by LLDDs */ |
635 | void *uldd_task; | 631 | void *uldd_task; |
632 | struct sas_task_slow *slow_task; | ||
633 | }; | ||
636 | 634 | ||
637 | struct work_struct abort_work; | 635 | struct sas_task_slow { |
636 | /* standard/extra infrastructure for slow path commands (SMP and | ||
637 | * internal lldd commands | ||
638 | */ | ||
639 | struct timer_list timer; | ||
640 | struct completion completion; | ||
638 | }; | 641 | }; |
639 | 642 | ||
640 | #define SAS_TASK_STATE_PENDING 1 | 643 | #define SAS_TASK_STATE_PENDING 1 |
@@ -644,6 +647,7 @@ struct sas_task { | |||
644 | #define SAS_TASK_AT_INITIATOR 16 | 647 | #define SAS_TASK_AT_INITIATOR 16 |
645 | 648 | ||
646 | extern struct sas_task *sas_alloc_task(gfp_t flags); | 649 | extern struct sas_task *sas_alloc_task(gfp_t flags); |
650 | extern struct sas_task *sas_alloc_slow_task(gfp_t flags); | ||
647 | extern void sas_free_task(struct sas_task *task); | 651 | extern void sas_free_task(struct sas_task *task); |
648 | 652 | ||
649 | struct sas_domain_function_template { | 653 | struct sas_domain_function_template { |