ar71xx: show the SoC type earlier
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / pci.c
index 19199f1..c44a409 100644 (file)
  *  by the Free Software Foundation.
  */
 
+#include <linux/kernel.h>
+
+#include <asm/traps.h>
+
 #include <asm/mach-ar71xx/ar71xx.h>
 #include <asm/mach-ar71xx/pci.h>
 
@@ -48,6 +52,10 @@ int __init pcibios_map_irq(const struct pci_dev *dev, uint8_t slot, uint8_t pin)
                break;
 
        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;
 
@@ -71,6 +79,10 @@ int __init ar71xx_pci_init(unsigned nr_irqs, struct ar71xx_pci_irq *map)
                break;
 
        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;