aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/device_ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/cio/device_ops.c')
-rw-r--r--drivers/s390/cio/device_ops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/s390/cio/device_ops.c b/drivers/s390/cio/device_ops.c
index 8994800dba4..84b9b18eabc 100644
--- a/drivers/s390/cio/device_ops.c
+++ b/drivers/s390/cio/device_ops.c
@@ -288,10 +288,10 @@ ccw_device_wake_up(struct ccw_device *cdev, unsigned long ip, struct irb *irb)
288 if (cdev->private->flags.doverify || 288 if (cdev->private->flags.doverify ||
289 cdev->private->state == DEV_STATE_VERIFY) 289 cdev->private->state == DEV_STATE_VERIFY)
290 cdev->private->intparm = -EAGAIN; 290 cdev->private->intparm = -EAGAIN;
291 if ((irb->scsw.dstat & DEV_STAT_UNIT_CHECK) && 291 else if ((irb->scsw.dstat & DEV_STAT_UNIT_CHECK) &&
292 !(irb->ecw[0] & 292 !(irb->ecw[0] &
293 (SNS0_CMD_REJECT | SNS0_INTERVENTION_REQ))) 293 (SNS0_CMD_REJECT | SNS0_INTERVENTION_REQ)))
294 cdev->private->intparm = -EAGAIN; 294 cdev->private->intparm = -EAGAIN;
295 else if ((irb->scsw.dstat & DEV_STAT_ATTENTION) && 295 else if ((irb->scsw.dstat & DEV_STAT_ATTENTION) &&
296 (irb->scsw.dstat & DEV_STAT_DEV_END) && 296 (irb->scsw.dstat & DEV_STAT_DEV_END) &&
297 (irb->scsw.dstat & DEV_STAT_UNIT_EXCEP)) 297 (irb->scsw.dstat & DEV_STAT_UNIT_EXCEP))