diff options
author | Cornelia Huck <cohuck@de.ibm.com> | 2006-01-06 03:19:23 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:51 -0500 |
commit | a28c69448154a0901e8815922030c5dcd2f8e388 (patch) | |
tree | 532ac1d4abc9cb9317bdfabc09b225ef616dd07b /drivers/s390/cio/device_pgid.c | |
parent | f97a56fb768e5fe9cd07c56ca47870136bb5530c (diff) |
[PATCH] s390: introduce struct channel_subsystem
struct channel_subsystem encapsulates several per channel subsystem
properties, like status of chpids or the global path group id.
Signed-off-by: Cornelia Huck <cohuck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390/cio/device_pgid.c')
-rw-r--r-- | drivers/s390/cio/device_pgid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/device_pgid.c b/drivers/s390/cio/device_pgid.c index f08e84cc3563..3c89d70b9c09 100644 --- a/drivers/s390/cio/device_pgid.c +++ b/drivers/s390/cio/device_pgid.c | |||
@@ -164,7 +164,7 @@ ccw_device_sense_pgid_irq(struct ccw_device *cdev, enum dev_event dev_event) | |||
164 | /* 0, -ETIME, -EOPNOTSUPP, -EAGAIN, -EACCES or -EUSERS */ | 164 | /* 0, -ETIME, -EOPNOTSUPP, -EAGAIN, -EACCES or -EUSERS */ |
165 | case 0: /* Sense Path Group ID successful. */ | 165 | case 0: /* Sense Path Group ID successful. */ |
166 | if (cdev->private->pgid.inf.ps.state1 == SNID_STATE1_RESET) | 166 | if (cdev->private->pgid.inf.ps.state1 == SNID_STATE1_RESET) |
167 | memcpy(&cdev->private->pgid, &global_pgid, | 167 | memcpy(&cdev->private->pgid, &css[0]->global_pgid, |
168 | sizeof(struct pgid)); | 168 | sizeof(struct pgid)); |
169 | ccw_device_sense_pgid_done(cdev, 0); | 169 | ccw_device_sense_pgid_done(cdev, 0); |
170 | break; | 170 | break; |