From: John Crispin Date: Wed, 30 Mar 2011 07:27:49 +0000 (+0200) Subject: MIPS: Lantiq: Add PCI controller support. X-Git-Tag: v3.0-rc1~411^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e47d488935ed0b2dd3d59d3ba4e13956ff6849c0;p=pandora-kernel.git MIPS: Lantiq: Add PCI controller support. The Lantiq family of SoCs have a EBU (External Bus Unit). This patch adds the driver that allows us to use the EBU as a PCI controller. In order for PCI to work the EBU is set to endianess swap all the data. In addition we need to make use of SWAP_IO_SPACE for device->host DMA to work. The clock of the PCI works in several modes (internal/external). If this is not configured correctly the SoC will hang. Signed-off-by: John Crispin Signed-off-by: Ralph Hempel Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2250/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed