aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/device.h
diff options
context:
space:
mode:
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>2006-06-29 08:57:03 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-06-29 08:57:03 -0400
commit40154b824331cd9c81c06545761338f3d80a36e2 (patch)
treeda4d06f7b09150e1c34b543d5300c3948e284a70 /drivers/s390/cio/device.h
parent887ab5992925736ab23985c35f8149739e9de354 (diff)
[S390] cio async subchannel reprobe.
Changes in the DASD driver require an asynchronous implementation of the subchannel reprobe loop. This loop was so far only used by the blacklisting mechanism but is now available to all CCW device drivers. Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/device.h')
-rw-r--r--drivers/s390/cio/device.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/s390/cio/device.h b/drivers/s390/cio/device.h
index 11587ebb7289..8e0d1db3dd4e 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 */
@@ -67,6 +71,8 @@ dev_fsm_final_state(struct ccw_device *cdev)
67 71
68extern struct workqueue_struct *ccw_device_work; 72extern struct workqueue_struct *ccw_device_work;
69extern struct workqueue_struct *ccw_device_notify_work; 73extern struct workqueue_struct *ccw_device_notify_work;
74extern wait_queue_head_t ccw_device_init_wq;
75extern atomic_t ccw_device_init_count;
70 76
71void io_subchannel_recog_done(struct ccw_device *cdev); 77void io_subchannel_recog_done(struct ccw_device *cdev);
72 78