.end = AR91XX_WMAC_BASE + AR91XX_WMAC_SIZE - 1,
.flags = IORESOURCE_MEM,
}, {
- .start = AR71XX_CPU_IRQ_WMAC,
- .end = AR71XX_CPU_IRQ_WMAC,
+ .start = AR71XX_CPU_IRQ_IP2,
+ .end = AR71XX_CPU_IRQ_IP2,
.flags = IORESOURCE_IRQ,
},
};
handle_level_irq);
}
- setup_irq(AR71XX_CPU_IRQ_PCI, &ar71xx_pci_irqaction);
+ setup_irq(AR71XX_CPU_IRQ_IP2, &ar71xx_pci_irqaction);
}
static void ar724x_pci_irq_dispatch(void)
handle_level_irq);
}
- setup_irq(AR71XX_CPU_IRQ_PCI, &ar724x_pci_irqaction);
+ setup_irq(AR71XX_CPU_IRQ_IP2, &ar724x_pci_irqaction);
}
#else
static inline void ar71xx_pci_irq_init(void) {};
static void ar913x_wmac_irq_dispatch(void)
{
- do_IRQ(AR71XX_CPU_IRQ_WMAC);
+ do_IRQ(AR71XX_CPU_IRQ_IP2);
}
asmlinkage void plat_irq_dispatch(void)
#define AR71XX_PCI_IRQ_BASE 48
#define AR71XX_PCI_IRQ_COUNT 8
-#define AR71XX_CPU_IRQ_PCI (AR71XX_CPU_IRQ_BASE + 2)
-#define AR71XX_CPU_IRQ_WMAC (AR71XX_CPU_IRQ_BASE + 2)
+#define AR71XX_CPU_IRQ_IP2 (AR71XX_CPU_IRQ_BASE + 2)
#define AR71XX_CPU_IRQ_USB (AR71XX_CPU_IRQ_BASE + 3)
#define AR71XX_CPU_IRQ_GE0 (AR71XX_CPU_IRQ_BASE + 4)
#define AR71XX_CPU_IRQ_GE1 (AR71XX_CPU_IRQ_BASE + 5)