diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2005-07-06 13:30:26 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-07-14 10:54:46 -0400 |
commit | 3d71644cf952fd1157a13173237258422ba3c569 (patch) | |
tree | 1bae220781b973a9dca754a08aa7630e05ffc50e /drivers/scsi/qla2xxx/qla_iocb.c | |
parent | ac96202ba096f8fc1ccaf45a2f159a52639ece29 (diff) |
[SCSI] qla2xxx: Add ISP24xx definitions.
Add ISP24xx definitions.
Add requisite structure definitions and #define's for ISP24xx
support. Also drop volatile modifiers from device_reg_* register
layouts as the members are never really accessed, only their
offsets within the layout are used during reads and writes.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
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( |