From: Wayne Boyer Date: Fri, 4 Jun 2010 17:26:50 +0000 (-0700) Subject: [SCSI] ipr: add endian swap enablement for 64 bit adapters X-Git-Tag: v2.6.36-rc1~570^2~230 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8701f18504751a5b89be3203e28c5ec04c147167;p=pandora-kernel.git [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 Acked-by: Brian King Signed-off-by: James Bottomley --- Reading git-diff-tree failed