[S390] cio: make disconnected handling consistent
commit9a332116948955bd25d122efd91feed103f0e3e4
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>
Tue, 6 Oct 2009 08:34:01 +0000 (6 10:34 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Tue, 6 Oct 2009 08:35:07 +0000 (6 10:35 +0200)
treed8da4f355c3a4ab22e734c833b370dc0a6285302
parent05d419b11fa2445f71ff495de6394ce8c2960343
[S390] cio: make disconnected handling consistent

When there is no path left to a ccw device, inform the associated
device driver and act according to the response: if the driver
wants to keep the device, put it into the disconnected state.
If not, or if there is no driver or if the device is not online,
unregister it.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/device_fsm.c