]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] cio: Try harder to disable subchannel.
authorCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 26 Mar 2009 14:24:06 +0000 (15:24 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 Mar 2009 14:24:12 +0000 (15:24 +0100)
commit13dcb1e368f6ac8705eb722fed5e3a4652a1d002
tree0cdfe7d22f306157eaa91162dd04b722ffe1bbeb
parentaf1e9f8ffbd23a2b70b14552ca29a07534ccff4b
[S390] cio: Try harder to disable subchannel.

Acting upon the assumption that cio_disable_subchannel()
is only called when we really want to disable the subchannel
(a) remove the check for activity (it is already done in
    ccw_device_offline(), which is the place where it matters)
(b) collect pending status via tsch() and ignore it (it
    can't matter anymore since the subchannel will be disabled).

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/cio.c
drivers/s390/cio/device_fsm.c