summaryrefslogtreecommitdiff
path: root/drivers/scsi/lpfc/lpfc_crtn.h
diff options
context:
space:
mode:
authorWayne Boyer <wayneb@linux.vnet.ibm.com>2010-06-04 17:26:50 (GMT)
committerJames Bottomley <James.Bottomley@suse.de>2010-07-27 17:01:30 (GMT)
commit8701f18504751a5b89be3203e28c5ec04c147167 (patch)
tree58f15f58a76ce73e1d92c72a21c19b350b8ded30 /drivers/scsi/lpfc/lpfc_crtn.h
parentda2907ffd08a2d708c829ec171f05fe3ceab1315 (diff)
downloadlinux-fsl-qoriq-8701f18504751a5b89be3203e28c5ec04c147167.tar.xz
[SCSI] ipr: add endian swap enablement for 64 bit adapters
A change in the hardware design of the chip for the new adapters changes the default endianness of MMIO operations. This patch adds a register definition which when written to with a predefined value will change the endianness back to what the driver expects. This patch also fixes two problems found during testing. First, the first reserved field in the ipr_hostrcb64_fabirc_desc structure only reserved one byte. The correct amount to reserve is 2 bytes. Second, the reserved field of the ipr_hostrcb64_error structure only reserved 2 bytes. The correct amount to reserve is 16 bytes. Signed-off-by: Wayne Boyer <wayneb@linux.vnet.ibm.com> Acked-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_crtn.h')
0 files changed, 0 insertions, 0 deletions