OpenCloudOS-Kernel/arch/mips/pci
John Crispin e47d488935 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 <blogic@openwrt.org>
Signed-off-by: Ralph Hempel <ralph.hempel@lantiq.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2250/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2011-05-19 09:55:42 +01:00
..
Makefile MIPS: Lantiq: Add PCI controller support. 2011-05-19 09:55:42 +01:00
fixup-au1000.c [MIPS] Alchemy PCI code style cleanup 2008-05-12 16:46:52 +01:00
fixup-bcm63xx.c MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
fixup-capcella.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
fixup-cobalt.c MIPS: Cobalt: convert legacy port addresses to GT-64111 bus addresses 2010-02-27 12:53:44 +01:00
fixup-emma2rh.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
fixup-fuloong2e.c Fix typo configue => configure in comments 2010-09-23 11:46:50 +02:00
fixup-ip32.c
fixup-jmr3927.c [MIPS] TXx9: Make single kernel can support multiple boards 2008-07-15 18:44:35 +01:00
fixup-lemote2f.c MIPS: Loongson: Lemote-2F: USB: Not Emulate Non-Posted Writes 2010-02-27 12:53:09 +01:00
fixup-malta.c
fixup-mpc30x.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
fixup-pmcmsp.c Author: Ralf Baechle <ralf@linux-mips.org> 2007-10-29 19:35:37 +00:00
fixup-pnx8550.c
fixup-rbtx4927.c [MIPS] TXx9: Make single kernel can support multiple boards 2008-07-15 18:44:35 +01:00
fixup-rbtx4938.c [MIPS] TXx9: Make single kernel can support multiple boards 2008-07-15 18:44:35 +01:00
fixup-rc32434.c MIPS: RB532: Fix build error 2008-10-27 16:18:26 +00:00
fixup-sb1250.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
fixup-sni.c [MIPS] SNI PCIT CPLUS: workaround for b0rked irq wiring of onboard PCI bus 1 2007-11-15 23:21:50 +00:00
fixup-tb0219.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
fixup-tb0226.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
fixup-tb0287.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
fixup-wrppmc.c
fixup-yosemite.c
msi-octeon.c MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
ops-au1000.c [MIPS] Alchemy PCI code style cleanup 2008-05-12 16:46:52 +01:00
ops-bcm63xx.c MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
ops-bonito64.c MIPS: Bonito64: Make Loongson independent from Bonito64 code. 2009-12-17 01:57:06 +00:00
ops-bridge.c [MIPS] IP27: misc fixes 2008-06-05 18:13:15 +01:00
ops-emma2rh.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
ops-gt64xxx_pci0.c
ops-lantiq.c MIPS: Lantiq: Add PCI controller support. 2011-05-19 09:55:42 +01:00
ops-loongson2.c MIPS: Lemote 2F: Ensure atomic execution of _rdmsr and _wrmsr 2010-04-12 17:26:12 +01:00
ops-mace.c [MIPS] Enable FAST-20 for onboard scsi 2008-07-15 18:44:31 +01:00
ops-msc.c
ops-nile4.c [MIPS] Add back support for LASAT platforms 2007-10-11 23:46:00 +01:00
ops-pmcmsp.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ops-pnx8550.c MIPS: Kill unused <asm/debug.h> inclusions 2008-10-15 12:46:52 +01:00
ops-rc32434.c [MIPS] Routerboard 532: Support for base system 2008-07-20 14:38:18 +01:00
ops-sni.c [MIPS] Fix "no space between function name and open parenthesis" warnings. 2007-10-11 23:46:15 +01:00
ops-titan-ht.c MIPS: PCI: RM9000 checkpatch cleanup 2010-08-05 13:25:44 +01:00
ops-titan.c
ops-tx3927.c MIPS: Add missing #inclusions of <linux/irq.h> 2010-10-07 14:08:54 +01:00
ops-tx4927.c MIPS: Add missing #inclusions of <linux/irq.h> 2010-10-07 14:08:54 +01:00
ops-vr41xx.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
pci-bcm47xx.c MIPS: Nuke trailing blank lines 2010-02-27 12:53:14 +01:00
pci-bcm63xx.c MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
pci-bcm63xx.h MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
pci-bcm1480.c Fix common misspellings 2011-03-31 11:26:23 -03:00
pci-bcm1480ht.c MIPS: Remove useless zero initializations. 2009-09-17 20:07:51 +02:00
pci-emma2rh.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
pci-ip27.c MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
pci-ip32.c [MIPS] Fix IP32 breakage 2008-01-07 15:32:03 +00:00
pci-lantiq.c MIPS: Lantiq: Add PCI controller support. 2011-05-19 09:55:42 +01:00
pci-lantiq.h MIPS: Lantiq: Add PCI controller support. 2011-05-19 09:55:42 +01:00
pci-lasat.c [MIPS] Remove mips_machtype for LASAT machines 2008-07-15 18:44:39 +01:00
pci-octeon.c Fix common misspellings 2011-03-31 11:26:23 -03:00
pci-rc32434.c MIPS: Remove pr_<level> uses of KERN_<level> 2010-10-04 18:33:57 +01:00
pci-sb1250.c MIPS: SB1250: Include correct header and fix a warning 2010-04-30 20:52:43 +01:00
pci-tx4927.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
pci-tx4938.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
pci-tx4939.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
pci-vr41xx.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
pci-vr41xx.h Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
pci-xlr.c MIPS: XLR, XLS: Add PCI support. 2011-05-19 09:55:41 +01:00
pci-yosemite.c MIPS: Set io_map_base for several PCI bridges lacking it 2010-07-26 19:08:19 +01:00
pci.c Fix common misspellings 2011-03-31 11:26:23 -03:00
pcie-octeon.c tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00