diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-14 05:36:10 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-05-15 11:49:05 -0400 |
commit | f8365ec4e1b945f70a86e9514dd67ba5f9f2915b (patch) | |
tree | 4a2c60a5201b7dcba14dca32d47560919093cf0b /arch/mips/include | |
parent | a68ad4d892c6254310d2bfc3d6b0c0d989377636 (diff) |
MIPS: ath79: add support for the PCI host controller of the AR71XX SoCs
The Atheros AR71XX SoCs have a built-in PCI Host Controller.
This patch adds a driver for that, and modifies the relevant
files in order to allow to register the PCI controller from
board specific setup.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3498/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/mach-ath79/pci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-ath79/pci.h b/arch/mips/include/asm/mach-ath79/pci.h index 2eb01815d54e..b12b0870b7ed 100644 --- a/arch/mips/include/asm/mach-ath79/pci.h +++ b/arch/mips/include/asm/mach-ath79/pci.h | |||
@@ -11,6 +11,12 @@ | |||
11 | #ifndef __ASM_MACH_ATH79_PCI_H | 11 | #ifndef __ASM_MACH_ATH79_PCI_H |
12 | #define __ASM_MACH_ATH79_PCI_H | 12 | #define __ASM_MACH_ATH79_PCI_H |
13 | 13 | ||
14 | #if defined(CONFIG_PCI) && defined(CONFIG_SOC_AR71XX) | ||
15 | int ar71xx_pcibios_init(void); | ||
16 | #else | ||
17 | static inline int ar71xx_pcibios_init(void) { return 0; } | ||
18 | #endif | ||
19 | |||
14 | #if defined(CONFIG_PCI) && defined(CONFIG_SOC_AR724X) | 20 | #if defined(CONFIG_PCI) && defined(CONFIG_SOC_AR724X) |
15 | int ar724x_pcibios_init(int irq); | 21 | int ar724x_pcibios_init(int irq); |
16 | #else | 22 | #else |