projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12e0c95
)
[S390] dasd: fix unsolicited SIM handling.
author
Stefan Haberland
<
[email protected]
>
Thu, 17 Jul 2008 15:16:41 +0000
(17:16 +0200)
committer
Heiko Carstens
<
[email protected]
>
Thu, 17 Jul 2008 15:22:08 +0000
(17:22 +0200)
Add missing schedule_bh and check that there is 32 bit sense data.
Signed-off-by: Stefan Haberland <
[email protected]
>
Signed-off-by: Heiko Carstens <
[email protected]
>
Cc: Martin Schwidefsky <
[email protected]
>
drivers/s390/block/dasd_eckd.c
patch
|
blob
|
history
diff --git
a/drivers/s390/block/dasd_eckd.c
b/drivers/s390/block/dasd_eckd.c
index e0b77210d37a5b95f15b707c39baf42397396ba2..3590fdb5b2fda56ce9e5df1a22f1b59966be7af8 100644
(file)
--- a/
drivers/s390/block/dasd_eckd.c
+++ b/
drivers/s390/block/dasd_eckd.c
@@
-1418,8
+1418,10
@@
static void dasd_eckd_handle_unsolicited_interrupt(struct dasd_device *device,
/* service information message SIM */
- if ((irb->ecw[6] & DASD_SIM_SENSE) == DASD_SIM_SENSE) {
+ if (irb->esw.esw0.erw.cons && (irb->ecw[27] & DASD_SENSE_BIT_0) &&
+ ((irb->ecw[6] & DASD_SIM_SENSE) == DASD_SIM_SENSE)) {
dasd_3990_erp_handle_sim(device, irb->ecw);
+ dasd_schedule_device_bh(device);
return;
}