diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2009-09-22 16:58:35 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-09-22 16:58:41 -0400 |
commit | 8ea7f5590142c0b9ab319aa3cae85cf430a207d8 (patch) | |
tree | a23b12fbfe51077cc8df6694f4ab7225462b657d /drivers/s390/cio/css.h | |
parent | 255305536c1b56ad09590f1400fb2c788265e34e (diff) |
[S390] cio: introduce css_settle
Introduce the css_driver callback settle which can be implemented
by a subchannel driver to wait for the subchannel type specific
asynchronous work to finish.
In channel_subsystem_init_sync we call that for each subchannel
driver.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/css.h')
-rw-r--r-- | drivers/s390/cio/css.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/cio/css.h b/drivers/s390/cio/css.h index 9763eeec7458..54acdaade86e 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 | */ |
80 | struct css_driver { | 81 | struct 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 | ||