]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.31/patches.arch/s390-06-03-dasd_sim_sense_condition.patch
Merge branch 'master' into next
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.arch / s390-06-03-dasd_sim_sense_condition.patch
CommitLineData
2cb7cef9
BS
1From: Gerald Schaefer <geraldsc@de.ibm.com>
2Subject: Fix unsolicited SIM sense condition.
3References: bnc#458339
4
5Symptom: SIM reported via unsolicited interrupt are not shown.
6Problem: SIMs are alway 32 bit sense data so byte 27 bit 0 has not to
7 be set. This was mixed up.
8Solution: Negate condition for byte 27 bit 0.
9
10Acked-by: John Jolly <jjolly@suse.de>
11
12---
13 drivers/s390/block/dasd_eckd.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16--- a/drivers/s390/block/dasd_eckd.c
17+++ b/drivers/s390/block/dasd_eckd.c
18@@ -1494,7 +1494,7 @@ static void dasd_eckd_handle_unsolicited
19
20
21 /* service information message SIM */
22- if (irb->esw.esw0.erw.cons && (irb->ecw[27] & DASD_SENSE_BIT_0) &&
23+ if (irb->esw.esw0.erw.cons && !(irb->ecw[27] & DASD_SENSE_BIT_0) &&
24 ((irb->ecw[6] & DASD_SIM_SENSE) == DASD_SIM_SENSE)) {
25 dasd_3990_erp_handle_sim(device, irb->ecw);
26 dasd_schedule_device_bh(device);