diff options
Diffstat (limited to 'drivers/block/mtip32xx/mtip32xx.h')
-rw-r--r-- | drivers/block/mtip32xx/mtip32xx.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.h b/drivers/block/mtip32xx/mtip32xx.h index e0554a8f2233..f4e46cc81d55 100644 --- a/drivers/block/mtip32xx/mtip32xx.h +++ b/drivers/block/mtip32xx/mtip32xx.h | |||
@@ -121,6 +121,12 @@ | |||
121 | #define MTIP_FLAG_REBUILD_BIT 5 | 121 | #define MTIP_FLAG_REBUILD_BIT 5 |
122 | #define MTIP_FLAG_SVC_THD_SHOULD_STOP_BIT 8 | 122 | #define MTIP_FLAG_SVC_THD_SHOULD_STOP_BIT 8 |
123 | 123 | ||
124 | /* below are bit numbers in 'dd_flag' defined in driver_data */ | ||
125 | #define MTIP_DD_FLAG_REMOVE_PENDING_BIT 1 | ||
126 | #define MTIP_DD_FLAG_RESUME_BIT 2 | ||
127 | #define MTIP_DD_FLAG_CLEANUP_BIT 3 | ||
128 | #define MTIP_DD_FLAG_INIT_DONE_BIT 4 | ||
129 | |||
124 | /* Register Frame Information Structure (FIS), host to device. */ | 130 | /* Register Frame Information Structure (FIS), host to device. */ |
125 | struct host_to_dev_fis { | 131 | struct host_to_dev_fis { |
126 | /* | 132 | /* |
@@ -404,13 +410,9 @@ struct driver_data { | |||
404 | 410 | ||
405 | unsigned slot_groups; /* number of slot groups the product supports */ | 411 | unsigned slot_groups; /* number of slot groups the product supports */ |
406 | 412 | ||
407 | atomic_t drv_cleanup_done; /* Atomic variable for SRSI */ | ||
408 | |||
409 | unsigned long index; /* Index to determine the disk name */ | 413 | unsigned long index; /* Index to determine the disk name */ |
410 | 414 | ||
411 | unsigned int ftlrebuildflag; /* FTL rebuild flag */ | 415 | unsigned long dd_flag; /* NOTE: use atomic bit operations on this */ |
412 | |||
413 | atomic_t resumeflag; /* Atomic variable to track suspend/resume */ | ||
414 | 416 | ||
415 | struct task_struct *mtip_svc_handler; /* task_struct of svc thd */ | 417 | struct task_struct *mtip_svc_handler; /* task_struct of svc thd */ |
416 | }; | 418 | }; |