diff options
author | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-02 21:16:18 +0000 |
---|---|---|
committer | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-02 21:16:18 +0000 |
commit | e8e50f9dedac2563718a2aecb301ab6b4b12b29d (patch) | |
tree | 7cba8db872ecc919db657ccae8cc6efa0b5307a8 /target/linux/brcm47xx/patches-2.6.33/180-ssb_extif_interrupt.patch | |
parent | ee12427e21752bbc8bac874f56c56183419ea157 (diff) |
brcm47xx: add support for kernel 2.6.33
Thanks to acoul and tripolar
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19955 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.33/180-ssb_extif_interrupt.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-2.6.33/180-ssb_extif_interrupt.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.33/180-ssb_extif_interrupt.patch b/target/linux/brcm47xx/patches-2.6.33/180-ssb_extif_interrupt.patch new file mode 100644 index 0000000000..d89531cda1 --- /dev/null +++ b/target/linux/brcm47xx/patches-2.6.33/180-ssb_extif_interrupt.patch @@ -0,0 +1,36 @@ +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(-) + +--- a/drivers/ssb/driver_mipscore.c ++++ b/drivers/ssb/driver_mipscore.c +@@ -270,7 +270,6 @@ void ssb_mipscore_init(struct ssb_mipsco + 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_mipsco + set_irq(dev, irq++); + break; + } ++ /* fallthrough */ ++ case SSB_DEV_EXTIF: ++ set_irq(dev, 0); ++ break; + } + } + ssb_dprintk(KERN_INFO PFX "after irq reconfiguration\n"); |