diff options
author | Stefan Haberland <stefan.haberland@de.ibm.com> | 2008-04-17 01:46:08 -0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-17 01:47:00 -0400 |
commit | f60c768c387026499bbdefdd807d9124ae2b3a8c (patch) | |
tree | 22b699f18196b6fbd799ddcf7e8d8d5a749782f0 /drivers/s390/block/dasd_int.h | |
parent | c2e8b8531b162fb314434f1f2608ba1ddf46b98f (diff) |
[S390] dasd: add sim handling.
Now the system reports system information messages (SIM) to the user.
The System Reference Code (SRC) which is reported to the user gives
the abbility to lookup the reason of the SIM online in the
documentation of the storage server.
Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/block/dasd_int.h')
-rw-r--r-- | drivers/s390/block/dasd_int.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd_int.h b/drivers/s390/block/dasd_int.h index 44b2984dfbee..6c624bf44617 100644 --- a/drivers/s390/block/dasd_int.h +++ b/drivers/s390/block/dasd_int.h | |||
@@ -72,6 +72,11 @@ struct dasd_block; | |||
72 | #define DASD_SENSE_BIT_2 0x20 | 72 | #define DASD_SENSE_BIT_2 0x20 |
73 | #define DASD_SENSE_BIT_3 0x10 | 73 | #define DASD_SENSE_BIT_3 0x10 |
74 | 74 | ||
75 | /* BIT DEFINITIONS FOR SIM SENSE */ | ||
76 | #define DASD_SIM_SENSE 0x0F | ||
77 | #define DASD_SIM_MSG_TO_OP 0x03 | ||
78 | #define DASD_SIM_LOG 0x0C | ||
79 | |||
75 | /* | 80 | /* |
76 | * SECTION: MACROs for klogd and s390 debug feature (dbf) | 81 | * SECTION: MACROs for klogd and s390 debug feature (dbf) |
77 | */ | 82 | */ |
@@ -621,6 +626,7 @@ void dasd_log_sense(struct dasd_ccw_req *, struct irb *); | |||
621 | 626 | ||
622 | /* externals in dasd_3990_erp.c */ | 627 | /* externals in dasd_3990_erp.c */ |
623 | struct dasd_ccw_req *dasd_3990_erp_action(struct dasd_ccw_req *); | 628 | struct dasd_ccw_req *dasd_3990_erp_action(struct dasd_ccw_req *); |
629 | void dasd_3990_erp_handle_sim(struct dasd_device *, char *); | ||
624 | 630 | ||
625 | /* externals in dasd_eer.c */ | 631 | /* externals in dasd_eer.c */ |
626 | #ifdef CONFIG_DASD_EER | 632 | #ifdef CONFIG_DASD_EER |