aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2010-12-01 10:08:02 +0100
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2010-12-01 10:08:17 +0100
commit8d7bfb4a891d606d52e1a99cf7231b4417b935dc (patch)
tree8b44806c3c37b2772880e4356fccd52785bf6b17
parent398812159e328478ae49b4bd01f0d71efea96c39 (diff)
downloadmrst-s0i3-test-8d7bfb4a891d606d52e1a99cf7231b4417b935dc.tar.gz
mrst-s0i3-test-8d7bfb4a891d606d52e1a99cf7231b4417b935dc.tar.xz
mrst-s0i3-test-8d7bfb4a891d606d52e1a99cf7231b4417b935dc.zip
[S390] css: fix rsid evaluation for 2nd crw
Use correct bit positions of rsid field. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--drivers/s390/cio/css.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c
index a5050e21715..825951b6b83 100644
--- a/drivers/s390/cio/css.c
+++ b/drivers/s390/cio/css.c
@@ -635,7 +635,7 @@ static void css_process_crw(struct crw *crw0, struct crw *crw1, int overflow)
init_subchannel_id(&mchk_schid);
mchk_schid.sch_no = crw0->rsid;
if (crw1)
- mchk_schid.ssid = (crw1->rsid >> 8) & 3;
+ mchk_schid.ssid = (crw1->rsid >> 4) & 3;
/*
* Since we are always presented with IPI in the CRW, we have to