aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/patches-3.19/120-mpc8548_cds_i8259_noirq_init.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-02-24 11:59:35 +0000
committerJohn Crispin <john@openwrt.org>2015-02-24 11:59:35 +0000
commit1175e83f5050aae6c421b4c8b272deef1a61e7f6 (patch)
tree9d34ce034e38327fadde837c3241f64222a21664 /target/linux/mpc85xx/patches-3.19/120-mpc8548_cds_i8259_noirq_init.patch
parentae9999a76683e3d1670932f494e33c902c6f27d1 (diff)
downloadupstream-1175e83f5050aae6c421b4c8b272deef1a61e7f6.tar.gz
upstream-1175e83f5050aae6c421b4c8b272deef1a61e7f6.tar.bz2
upstream-1175e83f5050aae6c421b4c8b272deef1a61e7f6.zip
mpc85xx: add 3.19 support
It took very little to make the TL-WDR4900 work under 3.19: - config is the same as for 3.18 - only patch 210 had to be refreshed, the other patches are the same as for 3.18 - in /etc/config/wireless the path options need to be prefixed with "platform/" ('platform/ffe09000.pci/...') Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44517
Diffstat (limited to 'target/linux/mpc85xx/patches-3.19/120-mpc8548_cds_i8259_noirq_init.patch')
-rw-r--r--target/linux/mpc85xx/patches-3.19/120-mpc8548_cds_i8259_noirq_init.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/patches-3.19/120-mpc8548_cds_i8259_noirq_init.patch b/target/linux/mpc85xx/patches-3.19/120-mpc8548_cds_i8259_noirq_init.patch
new file mode 100644
index 0000000000..81b9193691
--- /dev/null
+++ b/target/linux/mpc85xx/patches-3.19/120-mpc8548_cds_i8259_noirq_init.patch
@@ -0,0 +1,23 @@
+--- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c
++++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c
+@@ -247,15 +247,16 @@ static int mpc85xx_cds_8259_attach(void)
+ return -ENODEV;
+ }
+
++ i8259_init(cascade_node, 0);
++ of_node_put(cascade_node);
++
+ cascade_irq = irq_of_parse_and_map(cascade_node, 0);
+ if (cascade_irq == NO_IRQ) {
+- printk(KERN_ERR "Failed to map cascade interrupt\n");
++ of_node_put(cascade_node);
++ printk(KERN_DEBUG "No interrupt for i8259 PIC\n");
+ return -ENXIO;
+ }
+
+- i8259_init(cascade_node, 0);
+- of_node_put(cascade_node);
+-
+ /*
+ * Hook the interrupt to make sure desc->action is never NULL.
+ * This is required to ensure that the interrupt does not get