diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2009-03-31 13:16:05 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-03-31 13:17:06 -0400 |
commit | 47593bfa1056d306fde067b28dd8617009be4121 (patch) | |
tree | 3bbad2e48bb773ac4b6f8e0efb4214c75cede7f5 /arch/s390/include/asm | |
parent | c4621a62649a56f155a96dfc5de479be226f0768 (diff) |
[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>
Diffstat (limited to 'arch/s390/include/asm')
-rw-r--r-- | arch/s390/include/asm/cio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/cio.h b/arch/s390/include/asm/cio.h index 6dccb071aec3..619bf94b11f1 100644 --- a/arch/s390/include/asm/cio.h +++ b/arch/s390/include/asm/cio.h | |||
@@ -456,6 +456,8 @@ struct ciw { | |||
456 | #define CIO_OPER 0x0004 | 456 | #define CIO_OPER 0x0004 |
457 | /* Sick revalidation of device. */ | 457 | /* Sick revalidation of device. */ |
458 | #define CIO_REVALIDATE 0x0008 | 458 | #define CIO_REVALIDATE 0x0008 |
459 | /* Device did not respond in time. */ | ||
460 | #define CIO_BOXED 0x0010 | ||
459 | 461 | ||
460 | /** | 462 | /** |
461 | * struct ccw_dev_id - unique identifier for ccw devices | 463 | * struct ccw_dev_id - unique identifier for ccw devices |