diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_iocb.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_iocb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 5e079b5d9392..846dbfe26be3 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c | |||
@@ -315,13 +315,13 @@ qla2x00_start_scsi(srb_t *sp) | |||
315 | uint16_t cnt; | 315 | uint16_t cnt; |
316 | uint16_t req_cnt; | 316 | uint16_t req_cnt; |
317 | uint16_t tot_dsds; | 317 | uint16_t tot_dsds; |
318 | device_reg_t __iomem *reg; | 318 | struct device_reg_2xxx __iomem *reg; |
319 | char tag[2]; | 319 | char tag[2]; |
320 | 320 | ||
321 | /* Setup device pointers. */ | 321 | /* Setup device pointers. */ |
322 | ret = 0; | 322 | ret = 0; |
323 | ha = sp->ha; | 323 | ha = sp->ha; |
324 | reg = ha->iobase; | 324 | reg = &ha->iobase->isp; |
325 | cmd = sp->cmd; | 325 | cmd = sp->cmd; |
326 | /* So we know we haven't pci_map'ed anything yet */ | 326 | /* So we know we haven't pci_map'ed anything yet */ |
327 | tot_dsds = 0; | 327 | tot_dsds = 0; |
@@ -521,7 +521,7 @@ qla2x00_marker(scsi_qla_host_t *ha, uint16_t loop_id, uint16_t lun, | |||
521 | static request_t * | 521 | static request_t * |
522 | qla2x00_req_pkt(scsi_qla_host_t *ha) | 522 | qla2x00_req_pkt(scsi_qla_host_t *ha) |
523 | { | 523 | { |
524 | device_reg_t __iomem *reg = ha->iobase; | 524 | struct device_reg_2xxx __iomem *reg = &ha->iobase->isp; |
525 | request_t *pkt = NULL; | 525 | request_t *pkt = NULL; |
526 | uint16_t cnt; | 526 | uint16_t cnt; |
527 | uint32_t *dword_ptr; | 527 | uint32_t *dword_ptr; |
@@ -586,7 +586,7 @@ qla2x00_req_pkt(scsi_qla_host_t *ha) | |||
586 | void | 586 | void |
587 | qla2x00_isp_cmd(scsi_qla_host_t *ha) | 587 | qla2x00_isp_cmd(scsi_qla_host_t *ha) |
588 | { | 588 | { |
589 | device_reg_t __iomem *reg = ha->iobase; | 589 | struct device_reg_2xxx __iomem *reg = &ha->iobase->isp; |
590 | 590 | ||
591 | DEBUG5(printk("%s(): IOCB data:\n", __func__)); | 591 | DEBUG5(printk("%s(): IOCB data:\n", __func__)); |
592 | DEBUG5(qla2x00_dump_buffer( | 592 | DEBUG5(qla2x00_dump_buffer( |