| .. | .. |
|---|
| 63 | 63 | return; |
|---|
| 64 | 64 | req->done = 1; |
|---|
| 65 | 65 | ccw_device_set_timeout(cdev, 0); |
|---|
| 66 | | - memset(&cdev->private->irb, 0, sizeof(struct irb)); |
|---|
| 66 | + memset(&cdev->private->dma_area->irb, 0, sizeof(struct irb)); |
|---|
| 67 | 67 | if (rc && rc != -ENODEV && req->drc) |
|---|
| 68 | 68 | rc = req->drc; |
|---|
| 69 | 69 | req->callback(cdev, req->data, rc); |
|---|
| .. | .. |
|---|
| 86 | 86 | continue; |
|---|
| 87 | 87 | } |
|---|
| 88 | 88 | /* Perform start function. */ |
|---|
| 89 | | - memset(&cdev->private->irb, 0, sizeof(struct irb)); |
|---|
| 89 | + memset(&cdev->private->dma_area->irb, 0, sizeof(struct irb)); |
|---|
| 90 | 90 | rc = cio_start(sch, cp, (u8) req->mask); |
|---|
| 91 | 91 | if (rc == 0) { |
|---|
| 92 | 92 | /* I/O started successfully. */ |
|---|
| .. | .. |
|---|
| 169 | 169 | */ |
|---|
| 170 | 170 | static enum io_status ccwreq_status(struct ccw_device *cdev, struct irb *lcirb) |
|---|
| 171 | 171 | { |
|---|
| 172 | | - struct irb *irb = &cdev->private->irb; |
|---|
| 172 | + struct irb *irb = &cdev->private->dma_area->irb; |
|---|
| 173 | 173 | struct cmd_scsw *scsw = &irb->scsw.cmd; |
|---|
| 174 | 174 | enum uc_todo todo; |
|---|
| 175 | 175 | |
|---|
| .. | .. |
|---|
| 187 | 187 | CIO_TRACE_EVENT(2, "sensedata"); |
|---|
| 188 | 188 | CIO_HEX_EVENT(2, &cdev->private->dev_id, |
|---|
| 189 | 189 | sizeof(struct ccw_dev_id)); |
|---|
| 190 | | - CIO_HEX_EVENT(2, &cdev->private->irb.ecw, SENSE_MAX_COUNT); |
|---|
| 190 | + CIO_HEX_EVENT(2, &cdev->private->dma_area->irb.ecw, |
|---|
| 191 | + SENSE_MAX_COUNT); |
|---|
| 191 | 192 | /* Check for command reject. */ |
|---|
| 192 | 193 | if (irb->ecw[0] & SNS0_CMD_REJECT) |
|---|
| 193 | 194 | return IO_REJECTED; |
|---|