aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/css.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/cio/css.h')
-rw-r--r--drivers/s390/cio/css.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/s390/cio/css.h b/drivers/s390/cio/css.h
index 9763eeec7458..68d6b0bf151c 100644
--- a/drivers/s390/cio/css.h
+++ b/drivers/s390/cio/css.h
@@ -75,6 +75,7 @@ struct chp_link;
75 * @freeze: callback for freezing during hibernation snapshotting 75 * @freeze: callback for freezing during hibernation snapshotting
76 * @thaw: undo work done in @freeze 76 * @thaw: undo work done in @freeze
77 * @restore: callback for restoring after hibernation 77 * @restore: callback for restoring after hibernation
78 * @settle: wait for asynchronous work to finish
78 * @name: name of the device driver 79 * @name: name of the device driver
79 */ 80 */
80struct css_driver { 81struct css_driver {
@@ -92,6 +93,7 @@ struct css_driver {
92 int (*freeze)(struct subchannel *); 93 int (*freeze)(struct subchannel *);
93 int (*thaw) (struct subchannel *); 94 int (*thaw) (struct subchannel *);
94 int (*restore)(struct subchannel *); 95 int (*restore)(struct subchannel *);
96 void (*settle)(void);
95 const char *name; 97 const char *name;
96}; 98};
97 99
@@ -109,6 +111,7 @@ extern void css_sch_device_unregister(struct subchannel *);
109extern int css_probe_device(struct subchannel_id); 111extern int css_probe_device(struct subchannel_id);
110extern struct subchannel *get_subchannel_by_schid(struct subchannel_id); 112extern struct subchannel *get_subchannel_by_schid(struct subchannel_id);
111extern int css_init_done; 113extern int css_init_done;
114extern int max_ssid;
112int for_each_subchannel_staged(int (*fn_known)(struct subchannel *, void *), 115int for_each_subchannel_staged(int (*fn_known)(struct subchannel *, void *),
113 int (*fn_unknown)(struct subchannel_id, 116 int (*fn_unknown)(struct subchannel_id,
114 void *), void *data); 117 void *), void *data);