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_eckd.c | |
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_eckd.c')
-rw-r--r-- | drivers/s390/block/dasd_eckd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c index 61f16937c1e0..a0edae091b5e 100644 --- a/drivers/s390/block/dasd_eckd.c +++ b/drivers/s390/block/dasd_eckd.c | |||
@@ -1415,6 +1415,13 @@ static void dasd_eckd_handle_unsolicited_interrupt(struct dasd_device *device, | |||
1415 | return; | 1415 | return; |
1416 | } | 1416 | } |
1417 | 1417 | ||
1418 | |||
1419 | /* service information message SIM */ | ||
1420 | if ((irb->ecw[6] & DASD_SIM_SENSE) == DASD_SIM_SENSE) { | ||
1421 | dasd_3990_erp_handle_sim(device, irb->ecw); | ||
1422 | return; | ||
1423 | } | ||
1424 | |||
1418 | /* just report other unsolicited interrupts */ | 1425 | /* just report other unsolicited interrupts */ |
1419 | DEV_MESSAGE(KERN_DEBUG, device, "%s", | 1426 | DEV_MESSAGE(KERN_DEBUG, device, "%s", |
1420 | "unsolicited interrupt received"); | 1427 | "unsolicited interrupt received"); |