diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2012-08-22 07:55:00 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-24 12:11:05 +0400 |
commit | 7664a1fd76d2eb49b07443f5fc46c75f6a95c98b (patch) | |
tree | 5de92246dbf6a7f3c828c5441deb99a123254932 /drivers/scsi/qla4xxx/ql4_mbx.c | |
parent | f8086f4fd462195a5a824c851997bd12ffceae00 (diff) | |
download | blackbird-op-linux-7664a1fd76d2eb49b07443f5fc46c75f6a95c98b.tar.gz blackbird-op-linux-7664a1fd76d2eb49b07443f5fc46c75f6a95c98b.zip |
[SCSI] qla4xxx: Update structure and variable names
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_mbx.c')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_mbx.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_mbx.c b/drivers/scsi/qla4xxx/ql4_mbx.c index 8f05a8866ade..e99b67167339 100644 --- a/drivers/scsi/qla4xxx/ql4_mbx.c +++ b/drivers/scsi/qla4xxx/ql4_mbx.c @@ -111,10 +111,10 @@ int qla4xxx_mailbox_command(struct scsi_qla_host *ha, uint8_t inCount, printk("\n")); for (i = 1; i < inCount; i++) - writel(mbx_cmd[i], &ha->qla4_8xxx_reg->mailbox_in[i]); - writel(mbx_cmd[0], &ha->qla4_8xxx_reg->mailbox_in[0]); - readl(&ha->qla4_8xxx_reg->mailbox_in[0]); - writel(HINT_MBX_INT_PENDING, &ha->qla4_8xxx_reg->hint); + writel(mbx_cmd[i], &ha->qla4_82xx_reg->mailbox_in[i]); + writel(mbx_cmd[0], &ha->qla4_82xx_reg->mailbox_in[0]); + readl(&ha->qla4_82xx_reg->mailbox_in[0]); + writel(HINT_MBX_INT_PENDING, &ha->qla4_82xx_reg->hint); } else { /* Load all mailbox registers, except mailbox 0. */ for (i = 1; i < inCount; i++) @@ -169,11 +169,11 @@ int qla4xxx_mailbox_command(struct scsi_qla_host *ha, uint8_t inCount, spin_lock_irqsave(&ha->hardware_lock, flags); if (is_qla8022(ha)) { intr_status = - readl(&ha->qla4_8xxx_reg->host_int); + readl(&ha->qla4_82xx_reg->host_int); if (intr_status & ISRX_82XX_RISC_INT) { ha->mbox_status_count = outCount; intr_status = - readl(&ha->qla4_8xxx_reg->host_status); + readl(&ha->qla4_82xx_reg->host_status); ha->isp_ops->interrupt_service_routine( ha, intr_status); if (test_bit(AF_INTERRUPTS_ON, |