[S390] cio: introduce notifier for boxed state
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 31 Mar 2009 17:16:05 +0000 (19:16 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 31 Mar 2009 17:17:06 +0000 (19:17 +0200)
commit47593bfa1056d306fde067b28dd8617009be4121
tree3bbad2e48bb773ac4b6f8e0efb4214c75cede7f5
parentc4621a62649a56f155a96dfc5de479be226f0768
[S390] cio: introduce notifier for boxed state

If a ccw device did not respond in time during internal io, we set it
into boxed state. With this patch we have the following behaviour:
 * the ccw driver will get a notification if the device was online and
   goes into the boxed state
 * if the device was disconnected and got boxed nothing special is to be
   done (it will be handled in reprobing later)
 * if the device got boxed while initial sensing it will be unregistered

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cio.h
drivers/s390/block/dasd.c
drivers/s390/cio/device.c
drivers/s390/cio/device_fsm.c
drivers/s390/scsi/zfcp_ccw.c