diff options
Diffstat (limited to 'drivers/s390/char/con3215.c')
-rw-r--r-- | drivers/s390/char/con3215.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/char/con3215.c b/drivers/s390/char/con3215.c index 3e5653c92f4b..310eda82cde2 100644 --- a/drivers/s390/char/con3215.c +++ b/drivers/s390/char/con3215.c | |||
@@ -385,8 +385,8 @@ raw3215_irq(struct ccw_device *cdev, unsigned long intparm, struct irb *irb) | |||
385 | 385 | ||
386 | raw = cdev->dev.driver_data; | 386 | raw = cdev->dev.driver_data; |
387 | req = (struct raw3215_req *) intparm; | 387 | req = (struct raw3215_req *) intparm; |
388 | cstat = irb->scsw.cstat; | 388 | cstat = irb->scsw.cmd.cstat; |
389 | dstat = irb->scsw.dstat; | 389 | dstat = irb->scsw.cmd.dstat; |
390 | if (cstat != 0) { | 390 | if (cstat != 0) { |
391 | raw->message = KERN_WARNING | 391 | raw->message = KERN_WARNING |
392 | "Got nonzero channel status in raw3215_irq " | 392 | "Got nonzero channel status in raw3215_irq " |
@@ -415,7 +415,7 @@ raw3215_irq(struct ccw_device *cdev, unsigned long intparm, struct irb *irb) | |||
415 | return; /* That shouldn't happen ... */ | 415 | return; /* That shouldn't happen ... */ |
416 | if (req->type == RAW3215_READ) { | 416 | if (req->type == RAW3215_READ) { |
417 | /* store residual count, then wait for device end */ | 417 | /* store residual count, then wait for device end */ |
418 | req->residual = irb->scsw.count; | 418 | req->residual = irb->scsw.cmd.count; |
419 | } | 419 | } |
420 | if (dstat == 0x08) | 420 | if (dstat == 0x08) |
421 | break; | 421 | break; |