diff options
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_def.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index 9a8ff0553421..ce65d88e280c 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h | |||
@@ -222,8 +222,6 @@ struct zfcp_ls_adisc { | |||
222 | #define ZFCP_STATUS_ADAPTER_QDIOUP 0x00000002 | 222 | #define ZFCP_STATUS_ADAPTER_QDIOUP 0x00000002 |
223 | #define ZFCP_STATUS_ADAPTER_XCONFIG_OK 0x00000008 | 223 | #define ZFCP_STATUS_ADAPTER_XCONFIG_OK 0x00000008 |
224 | #define ZFCP_STATUS_ADAPTER_HOST_CON_INIT 0x00000010 | 224 | #define ZFCP_STATUS_ADAPTER_HOST_CON_INIT 0x00000010 |
225 | #define ZFCP_STATUS_ADAPTER_ERP_THREAD_UP 0x00000020 | ||
226 | #define ZFCP_STATUS_ADAPTER_ERP_THREAD_KILL 0x00000080 | ||
227 | #define ZFCP_STATUS_ADAPTER_ERP_PENDING 0x00000100 | 225 | #define ZFCP_STATUS_ADAPTER_ERP_PENDING 0x00000100 |
228 | #define ZFCP_STATUS_ADAPTER_LINK_UNPLUGGED 0x00000200 | 226 | #define ZFCP_STATUS_ADAPTER_LINK_UNPLUGGED 0x00000200 |
229 | 227 | ||
@@ -481,10 +479,9 @@ struct zfcp_adapter { | |||
481 | atomic_t status; /* status of this adapter */ | 479 | atomic_t status; /* status of this adapter */ |
482 | struct list_head erp_ready_head; /* error recovery for this | 480 | struct list_head erp_ready_head; /* error recovery for this |
483 | adapter/devices */ | 481 | adapter/devices */ |
482 | wait_queue_head_t erp_ready_wq; | ||
484 | struct list_head erp_running_head; | 483 | struct list_head erp_running_head; |
485 | rwlock_t erp_lock; | 484 | rwlock_t erp_lock; |
486 | struct semaphore erp_ready_sem; | ||
487 | wait_queue_head_t erp_thread_wqh; | ||
488 | wait_queue_head_t erp_done_wqh; | 485 | wait_queue_head_t erp_done_wqh; |
489 | struct zfcp_erp_action erp_action; /* pending error recovery */ | 486 | struct zfcp_erp_action erp_action; /* pending error recovery */ |
490 | atomic_t erp_counter; | 487 | atomic_t erp_counter; |
@@ -492,6 +489,7 @@ struct zfcp_adapter { | |||
492 | actions */ | 489 | actions */ |
493 | u32 erp_low_mem_count; /* nr of erp actions waiting | 490 | u32 erp_low_mem_count; /* nr of erp actions waiting |
494 | for memory */ | 491 | for memory */ |
492 | struct task_struct *erp_thread; | ||
495 | struct zfcp_wka_ports *gs; /* generic services */ | 493 | struct zfcp_wka_ports *gs; /* generic services */ |
496 | struct zfcp_dbf *dbf; /* debug traces */ | 494 | struct zfcp_dbf *dbf; /* debug traces */ |
497 | struct zfcp_adapter_mempool pool; /* Adapter memory pools */ | 495 | struct zfcp_adapter_mempool pool; /* Adapter memory pools */ |