add new target 'oxnas'
[openwrt/svn-archive/archive.git] / target / linux / oxnas / patches-3.18 / 320-oxnas-irqchip.patch
1 Index: linux-3.18-rc4/drivers/irqchip/Kconfig
2 ===================================================================
3 --- linux-3.18-rc4.orig/drivers/irqchip/Kconfig
4 +++ linux-3.18-rc4/drivers/irqchip/Kconfig
5 @@ -15,6 +15,11 @@ config ARM_GIC_V3
6 select IRQ_DOMAIN
7 select MULTI_IRQ_HANDLER
8
9 +config PLXTECH_RPS
10 + def_bool y if ARHC_OXNAS
11 + depends on ARCH_OXNAS
12 + select IRQ_DOMAIN
13 +
14 config ARM_NVIC
15 bool
16 select IRQ_DOMAIN
17 Index: linux-3.18-rc4/drivers/irqchip/Makefile
18 ===================================================================
19 --- linux-3.18-rc4.orig/drivers/irqchip/Makefile
20 +++ linux-3.18-rc4/drivers/irqchip/Makefile
21 @@ -28,6 +28,7 @@ obj-$(CONFIG_IMGPDC_IRQ) += irq-imgpdc.
22 obj-$(CONFIG_SIRF_IRQ) += irq-sirfsoc.o
23 obj-$(CONFIG_RENESAS_INTC_IRQPIN) += irq-renesas-intc-irqpin.o
24 obj-$(CONFIG_RENESAS_IRQC) += irq-renesas-irqc.o
25 +obj-$(CONFIG_PLXTECH_RPS) += irq-rps.o
26 obj-$(CONFIG_VERSATILE_FPGA_IRQ) += irq-versatile-fpga.o
27 obj-$(CONFIG_ARCH_NSPIRE) += irq-zevio.o
28 obj-$(CONFIG_ARCH_VT8500) += irq-vt8500.o
29 Index: linux-3.18-rc4/drivers/irqchip/irq-gic.c
30 ===================================================================
31 --- linux-3.18-rc4.orig/drivers/irqchip/irq-gic.c
32 +++ linux-3.18-rc4/drivers/irqchip/irq-gic.c
33 @@ -1044,6 +1044,7 @@ IRQCHIP_DECLARE(gic_400, "arm,gic-400",
34 IRQCHIP_DECLARE(cortex_a15_gic, "arm,cortex-a15-gic", gic_of_init);
35 IRQCHIP_DECLARE(cortex_a9_gic, "arm,cortex-a9-gic", gic_of_init);
36 IRQCHIP_DECLARE(cortex_a7_gic, "arm,cortex-a7-gic", gic_of_init);
37 +IRQCHIP_DECLARE(arm11_mpcore_gic, "arm,arm11mp-gic", gic_of_init);
38 IRQCHIP_DECLARE(msm_8660_qgic, "qcom,msm-8660-qgic", gic_of_init);
39 IRQCHIP_DECLARE(msm_qgic2, "qcom,msm-qgic2", gic_of_init);
40