diff options
Diffstat (limited to 'drivers/s390/cio/device.h')
-rw-r--r-- | drivers/s390/cio/device.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/s390/cio/device.h b/drivers/s390/cio/device.h index 11587ebb7289..00be9a5b4acd 100644 --- a/drivers/s390/cio/device.h +++ b/drivers/s390/cio/device.h | |||
@@ -1,6 +1,10 @@ | |||
1 | #ifndef S390_DEVICE_H | 1 | #ifndef S390_DEVICE_H |
2 | #define S390_DEVICE_H | 2 | #define S390_DEVICE_H |
3 | 3 | ||
4 | #include <asm/ccwdev.h> | ||
5 | #include <asm/atomic.h> | ||
6 | #include <linux/wait.h> | ||
7 | |||
4 | /* | 8 | /* |
5 | * states of the device statemachine | 9 | * states of the device statemachine |
6 | */ | 10 | */ |
@@ -23,6 +27,7 @@ enum dev_state { | |||
23 | DEV_STATE_DISCONNECTED, | 27 | DEV_STATE_DISCONNECTED, |
24 | DEV_STATE_DISCONNECTED_SENSE_ID, | 28 | DEV_STATE_DISCONNECTED_SENSE_ID, |
25 | DEV_STATE_CMFCHANGE, | 29 | DEV_STATE_CMFCHANGE, |
30 | DEV_STATE_CMFUPDATE, | ||
26 | /* last element! */ | 31 | /* last element! */ |
27 | NR_DEV_STATES | 32 | NR_DEV_STATES |
28 | }; | 33 | }; |
@@ -67,6 +72,8 @@ dev_fsm_final_state(struct ccw_device *cdev) | |||
67 | 72 | ||
68 | extern struct workqueue_struct *ccw_device_work; | 73 | extern struct workqueue_struct *ccw_device_work; |
69 | extern struct workqueue_struct *ccw_device_notify_work; | 74 | extern struct workqueue_struct *ccw_device_notify_work; |
75 | extern wait_queue_head_t ccw_device_init_wq; | ||
76 | extern atomic_t ccw_device_init_count; | ||
70 | 77 | ||
71 | void io_subchannel_recog_done(struct ccw_device *cdev); | 78 | void io_subchannel_recog_done(struct ccw_device *cdev); |
72 | 79 | ||
@@ -112,5 +119,8 @@ int ccw_device_stlck(struct ccw_device *); | |||
112 | void ccw_device_set_timeout(struct ccw_device *, int); | 119 | void ccw_device_set_timeout(struct ccw_device *, int); |
113 | extern struct subchannel_id ccw_device_get_subchannel_id(struct ccw_device *); | 120 | extern struct subchannel_id ccw_device_get_subchannel_id(struct ccw_device *); |
114 | 121 | ||
122 | /* Channel measurement facility related */ | ||
115 | void retry_set_schib(struct ccw_device *cdev); | 123 | void retry_set_schib(struct ccw_device *cdev); |
124 | void cmf_retry_copy_block(struct ccw_device *); | ||
125 | int cmf_reenable(struct ccw_device *); | ||
116 | #endif | 126 | #endif |