From: Alessandro Zummo Date: Sun, 6 Nov 2005 14:34:12 +0000 (+0000) Subject: [ARM] 3089/1: ixp4xx AHB/PCI endianness fix X-Git-Tag: v2.6.15-rc1~716^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84613387cb60bc760a4588822cd61fb88e1d7fad;p=pandora-kernel.git [ARM] 3089/1: ixp4xx AHB/PCI endianness fix Patch from Alessandro Zummo This patch fixes AHB/PCI endianness problems when the processor is in little-endian mode. The patch configures the CSR register closely following the directives in [1], paragraph 4.1, page 19. According to the considerations in [1], page 11, while the AHB bus supports both endian modes, on the IXP4XX it always uses big-endian. The PCI bus is connected to the South AHB. A wrong setting in the CSR register will thus cause a malfunctional PCI bus. A schematic diagram of the bus interconnections on the IXP4XX can be found in [1], page 18. The patch has been verified to work on the NSLU2 in both LE and BE modes. The author is Peter Korsgaard. [1] IntelĀ® IXP4XX Product Line of Network Processors and IXC1100 Control Plane Processor: Understanding Big Endian and Little Endian Modes http://www.intel.com/design/network/applnots/25423701.pdf Signed-off-by: Alessandro Zummo Signed-off-by: Deepak Saxena Signed-off-by: Russell King --- Reading git-diff-tree failed