diff options
author | Cornelia Huck <cohuck@de.ibm.com> | 2005-07-27 14:45:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:04 -0400 |
commit | 1d3ac7aadbccd8456fdca09394ddb570b95fe7dc (patch) | |
tree | 0279210d7d3c08224259790a257182ace82771e6 /drivers/s390/cio/device_status.c | |
parent | 99b2d8df1d06f1072a949fc1e01a08b94b084d5f (diff) |
[PATCH] s390: debug data for ifcc/ccc
Fix debug data in case of an interface-control or channel-control check: don't
log the not yet accumulated interrupt-response-block, but the one we just
received.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390/cio/device_status.c')
-rw-r--r-- | drivers/s390/cio/device_status.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/s390/cio/device_status.c b/drivers/s390/cio/device_status.c index 4ab2e0d95009..12a24d4331a2 100644 --- a/drivers/s390/cio/device_status.c +++ b/drivers/s390/cio/device_status.c | |||
@@ -39,15 +39,14 @@ ccw_device_msg_control_check(struct ccw_device *cdev, struct irb *irb) | |||
39 | " ... device %04X on subchannel %04X, dev_stat " | 39 | " ... device %04X on subchannel %04X, dev_stat " |
40 | ": %02X sch_stat : %02X\n", | 40 | ": %02X sch_stat : %02X\n", |
41 | cdev->private->devno, cdev->private->irq, | 41 | cdev->private->devno, cdev->private->irq, |
42 | cdev->private->irb.scsw.dstat, | 42 | irb->scsw.dstat, irb->scsw.cstat); |
43 | cdev->private->irb.scsw.cstat); | ||
44 | 43 | ||
45 | if (irb->scsw.cc != 3) { | 44 | if (irb->scsw.cc != 3) { |
46 | char dbf_text[15]; | 45 | char dbf_text[15]; |
47 | 46 | ||
48 | sprintf(dbf_text, "chk%x", cdev->private->irq); | 47 | sprintf(dbf_text, "chk%x", cdev->private->irq); |
49 | CIO_TRACE_EVENT(0, dbf_text); | 48 | CIO_TRACE_EVENT(0, dbf_text); |
50 | CIO_HEX_EVENT(0, &cdev->private->irb, sizeof (struct irb)); | 49 | CIO_HEX_EVENT(0, irb, sizeof (struct irb)); |
51 | } | 50 | } |
52 | } | 51 | } |
53 | 52 | ||