aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/libsas.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h
index 9582e8401669..7bf2e8b9903c 100644
--- a/include/scsi/libsas.h
+++ b/include/scsi/libsas.h
@@ -338,6 +338,8 @@ struct sas_ha_struct {
338 void (*notify_phy_event)(struct asd_sas_phy *, enum phy_event); 338 void (*notify_phy_event)(struct asd_sas_phy *, enum phy_event);
339 339
340 void *lldd_ha; /* not touched by sas class code */ 340 void *lldd_ha; /* not touched by sas class code */
341
342 struct list_head eh_done_q;
341}; 343};
342 344
343#define SHOST_TO_SAS_HA(_shost) (*(struct sas_ha_struct **)(_shost)->hostdata) 345#define SHOST_TO_SAS_HA(_shost) (*(struct sas_ha_struct **)(_shost)->hostdata)
@@ -530,9 +532,10 @@ struct sas_task {
530 532
531 533
532 534
533#define SAS_TASK_STATE_PENDING 1 535#define SAS_TASK_STATE_PENDING 1
534#define SAS_TASK_STATE_DONE 2 536#define SAS_TASK_STATE_DONE 2
535#define SAS_TASK_STATE_ABORTED 4 537#define SAS_TASK_STATE_ABORTED 4
538#define SAS_TASK_INITIATOR_ABORTED 8
536 539
537static inline struct sas_task *sas_alloc_task(gfp_t flags) 540static inline struct sas_task *sas_alloc_task(gfp_t flags)
538{ 541{