]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] cio: Use ccw_device_set_notoper().
authorCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 26 Mar 2009 14:24:07 +0000 (15:24 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 Mar 2009 14:24:13 +0000 (15:24 +0100)
commited07a65b23c5f2905602821018478d72d5664afa
treef736a186e9866365304afed40f4b723d89702867
parent13dcb1e368f6ac8705eb722fed5e3a4652a1d002
[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>
drivers/s390/cio/device_fsm.c