aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-04-07 20:53:05 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-04-07 20:53:05 +0000
commitec67f51a41f410db0cedec5000cc41ce3751216d (patch)
treefd2522274c4b1f5efd86abf37f7d988be68f0807
parentf5341a4236731b36e7e2300639c421155200d5f9 (diff)
downloadupstream-ec67f51a41f410db0cedec5000cc41ce3751216d.tar.gz
upstream-ec67f51a41f410db0cedec5000cc41ce3751216d.tar.bz2
upstream-ec67f51a41f410db0cedec5000cc41ce3751216d.zip
ar71xx: enable PCI for the AR934[24] SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26515 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/pci.c b/target/linux/ar71xx/files/arch/mips/ar71xx/pci.c
index 3e1e8dbdef..c44a40924b 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/pci.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/pci.c
@@ -54,6 +54,8 @@ int __init pcibios_map_irq(const struct pci_dev *dev, uint8_t slot, uint8_t pin)
case AR71XX_SOC_AR7240:
case AR71XX_SOC_AR7241:
case AR71XX_SOC_AR7242:
+ case AR71XX_SOC_AR9342:
+ case AR71XX_SOC_AR9344:
ret = ar724x_pcibios_map_irq(dev, slot, pin);
break;
@@ -79,6 +81,8 @@ int __init ar71xx_pci_init(unsigned nr_irqs, struct ar71xx_pci_irq *map)
case AR71XX_SOC_AR7240:
case AR71XX_SOC_AR7241:
case AR71XX_SOC_AR7242:
+ case AR71XX_SOC_AR9342:
+ case AR71XX_SOC_AR9344:
ret = ar724x_pcibios_init();
break;