[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>
This commit is contained in:
@@ -164,7 +164,7 @@ ccw_device_sense_pgid_irq(struct ccw_device *cdev, enum dev_event dev_event)
|
||||
/* 0, -ETIME, -EOPNOTSUPP, -EAGAIN, -EACCES or -EUSERS */
|
||||
case 0: /* Sense Path Group ID successful. */
|
||||
if (cdev->private->pgid.inf.ps.state1 == SNID_STATE1_RESET)
|
||||
memcpy(&cdev->private->pgid, &global_pgid,
|
||||
memcpy(&cdev->private->pgid, &css[0]->global_pgid,
|
||||
sizeof(struct pgid));
|
||||
ccw_device_sense_pgid_done(cdev, 0);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user