This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / s390 / cio / device_status.c
index c345e69..cf8e573 100644 (file)
@@ -35,7 +35,7 @@ ccw_device_msg_control_check(struct ccw_device *cdev, struct irb *irb)
                return;
                
        CIO_MSG_EVENT(0, "Channel-Check or Interface-Control-Check "
-                     "received\n"
+                     "received"
                      " ... device %04X on subchannel %04X, dev_stat "
                      ": %02X sch_stat : %02X\n",
                      cdev->private->devno, cdev->private->irq,
@@ -216,8 +216,9 @@ ccw_device_accumulate_irb(struct ccw_device *cdev, struct irb *irb)
        /*
         * Don't accumulate unsolicited interrupts.
         */
-       if (irb->scsw.stctl ==
-           (SCSW_STCTL_STATUS_PEND | SCSW_STCTL_ALERT_STATUS))
+       if ((irb->scsw.stctl ==
+            (SCSW_STCTL_STATUS_PEND | SCSW_STCTL_ALERT_STATUS)) &&
+           (!irb->scsw.cc))
                return;
 
        cdev_irb = &cdev->private->irb;