summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-02-28 11:09:44 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-02-28 11:09:44 +0000
commit23b5d2b7437f94e0cd7953d1e9b73c74afcf9925 (patch)
treebfafc59474594b0c834638ab424efdbfd08329ce /target/linux/brcm47xx
parentada5848ba6e6d7a55c5123895aac0a258cb17996 (diff)
downloadmtk-20170518-23b5d2b7437f94e0cd7953d1e9b73c74afcf9925.zip
mtk-20170518-23b5d2b7437f94e0cd7953d1e9b73c74afcf9925.tar.gz
mtk-20170518-23b5d2b7437f94e0cd7953d1e9b73c74afcf9925.tar.bz2
explicitely enable shared interrupt 2 for any core that did not a dedicated IRQ
Explicitely enable shared interrupt 2 for any core that didn't get a dedicated IRQ anymore (fallthrough case) and for EXTIF cores to make gpio interrupts work. Also remove a bogus comment. Signed-off-by: Jochen Friedrich <jochen@scram.de> SVN-Revision: 19895
Diffstat (limited to 'target/linux/brcm47xx')
-rw-r--r--target/linux/brcm47xx/patches-2.6.32/180-ssb_extif_interrupt.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.32/180-ssb_extif_interrupt.patch b/target/linux/brcm47xx/patches-2.6.32/180-ssb_extif_interrupt.patch
new file mode 100644
index 0000000..eb583c5
--- /dev/null
+++ b/target/linux/brcm47xx/patches-2.6.32/180-ssb_extif_interrupt.patch
@@ -0,0 +1,41 @@
+From 83e34f03ee9b86b49bde4707a1fe03a1837e29be Mon Sep 17 00:00:00 2001
+From: Jochen Friedrich <jochen@scram.de>
+Date: Wed, 3 Feb 2010 21:28:11 +0100
+Subject: [PATCH 1/1] ssb: fix interrupt assignment
+
+Explicitely enable shared interrupt 2 for any core that didn't get a dedicated IRQ
+anymore (fallthrough case) and for EXTIF cores to make gpio interrupts work.
+Also remove a bogus comment.
+
+Signed-off-by: Jochen Friedrich <jochen@scram.de>
+Signed-off-by: John W. Linville <linville@tuxdriver.com>
+---
+ drivers/ssb/driver_mipscore.c | 5 ++++-
+ 1 files changed, 4 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/ssb/driver_mipscore.c b/drivers/ssb/driver_mipscore.c
+index 3c6feed..97efce1 100644
+--- a/drivers/ssb/driver_mipscore.c
++++ b/drivers/ssb/driver_mipscore.c
+@@ -270,7 +270,6 @@ void ssb_mipscore_init(struct ssb_mipscore *mcore)
+ set_irq(dev, irq++);
+ }
+ break;
+- /* fallthrough */
+ case SSB_DEV_PCI:
+ case SSB_DEV_ETHERNET:
+ case SSB_DEV_ETHERNET_GBIT:
+@@ -281,6 +280,10 @@ void ssb_mipscore_init(struct ssb_mipscore *mcore)
+ set_irq(dev, irq++);
+ break;
+ }
++ /* fallthrough */
++ case SSB_DEV_EXTIF:
++ set_irq(dev, 0);
++ break;
+ }
+ }
+ ssb_dprintk(KERN_INFO PFX "after irq reconfiguration\n");
+--
+1.7.0
+