ar71xx: enable PCI for the AR934[24] SoCs
authorGabor Juhos <juhosg@openwrt.org>
Thu, 7 Apr 2011 20:53:05 +0000 (20:53 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 7 Apr 2011 20:53:05 +0000 (20:53 +0000)
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26515

target/linux/ar71xx/files/arch/mips/ar71xx/pci.c

index 3e1e8dbdef2b450535727c91a052ace997ed48f3..c44a40924b7f73de0f2493311e7fd0c8603a91d5 100644 (file)
@@ -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;