diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2009-03-26 10:24:07 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-03-26 10:24:13 -0400 |
commit | c08f294a14cb4c2abbd1a9a619c2d8d07afd41e3 (patch) | |
tree | f736a186e9866365304afed40f4b723d89702867 /drivers/s390 | |
parent | ed04b892e28ae96662fbb3f4c961df5ff3385d28 (diff) |
[S390] cio: Use ccw_device_set_notoper().
Use ccw_device_set_notoper() (which also deletes the device
timer and disables the subchannel) instead of simply setting
the state to DEV_STATE_NOT_OPER in the generic not operational
handling code. This prevents unexpected interrupts popping up
for devices that are deemed not operational.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/cio/device_fsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/device_fsm.c b/drivers/s390/cio/device_fsm.c index 301d27bf944e..87b4bfca080f 100644 --- a/drivers/s390/cio/device_fsm.c +++ b/drivers/s390/cio/device_fsm.c | |||
@@ -728,7 +728,7 @@ static void ccw_device_generic_notoper(struct ccw_device *cdev, | |||
728 | { | 728 | { |
729 | struct subchannel *sch; | 729 | struct subchannel *sch; |
730 | 730 | ||
731 | cdev->private->state = DEV_STATE_NOT_OPER; | 731 | ccw_device_set_notoper(cdev); |
732 | sch = to_subchannel(cdev->dev.parent); | 732 | sch = to_subchannel(cdev->dev.parent); |
733 | css_schedule_eval(sch->schid); | 733 | css_schedule_eval(sch->schid); |
734 | } | 734 | } |