diff options
author | Peter Oberparleiter <peter.oberparleiter@de.ibm.com> | 2009-12-07 06:51:27 -0500 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2009-12-07 06:51:31 -0500 |
commit | 9679baaf85b6e4dc662160bbbca344287ea6580d (patch) | |
tree | 20cf246830da783a122064b3525d954df4bd4e1c /drivers/s390/cio/io_sch.h | |
parent | 39f5360b3d68a8e96d280481d9c442e7c005c317 (diff) |
[S390] cio: use ccw request infrastructure for pgid
Use the newly introduced ccw request infrastructure to implement
pgid related operations: sense pgid, set pgid and disband pg.
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/io_sch.h')
-rw-r--r-- | drivers/s390/cio/io_sch.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/s390/cio/io_sch.h b/drivers/s390/cio/io_sch.h index f9ff7683e242..78b5ad980cf3 100644 --- a/drivers/s390/cio/io_sch.h +++ b/drivers/s390/cio/io_sch.h | |||
@@ -149,8 +149,8 @@ struct ccw_device_private { | |||
149 | struct ccw_dev_id dev_id; /* device id */ | 149 | struct ccw_dev_id dev_id; /* device id */ |
150 | struct subchannel_id schid; /* subchannel number */ | 150 | struct subchannel_id schid; /* subchannel number */ |
151 | struct ccw_request req; /* internal I/O request */ | 151 | struct ccw_request req; /* internal I/O request */ |
152 | u8 imask; /* lpm mask for SNID/SID/SPGID */ | 152 | int iretry; |
153 | int iretry; /* retry counter SNID/SID/SPGID */ | 153 | u8 pgid_valid_mask; /* mask of valid PGIDs */ |
154 | struct { | 154 | struct { |
155 | unsigned int fast:1; /* post with "channel end" */ | 155 | unsigned int fast:1; /* post with "channel end" */ |
156 | unsigned int repall:1; /* report every interrupt status */ | 156 | unsigned int repall:1; /* report every interrupt status */ |
@@ -167,6 +167,7 @@ struct ccw_device_private { | |||
167 | unsigned int fake_irb:1; /* deliver faked irb */ | 167 | unsigned int fake_irb:1; /* deliver faked irb */ |
168 | unsigned int intretry:1; /* retry internal operation */ | 168 | unsigned int intretry:1; /* retry internal operation */ |
169 | unsigned int resuming:1; /* recognition while resume */ | 169 | unsigned int resuming:1; /* recognition while resume */ |
170 | unsigned int pgid_rdy:1; /* pgids are ready */ | ||
170 | } __attribute__((packed)) flags; | 171 | } __attribute__((packed)) flags; |
171 | unsigned long intparm; /* user interruption parameter */ | 172 | unsigned long intparm; /* user interruption parameter */ |
172 | struct qdio_irq *qdio_data; | 173 | struct qdio_irq *qdio_data; |