[ifxmips] add ar9 target
[openwrt.git] / target / linux / brcm47xx / patches-2.6.32 / 180-ssb_extif_interrupt.patch
1 From 83e34f03ee9b86b49bde4707a1fe03a1837e29be Mon Sep 17 00:00:00 2001
2 From: Jochen Friedrich <jochen@scram.de>
3 Date: Wed, 3 Feb 2010 21:28:11 +0100
4 Subject: [PATCH 1/1] ssb: fix interrupt assignment
5
6 Explicitely enable shared interrupt 2 for any core that didn't get a dedicated IRQ
7 anymore (fallthrough case) and for EXTIF cores to make gpio interrupts work.
8 Also remove a bogus comment.
9
10 Signed-off-by: Jochen Friedrich <jochen@scram.de>
11 Signed-off-by: John W. Linville <linville@tuxdriver.com>
12 ---
13 drivers/ssb/driver_mipscore.c | 5 ++++-
14 1 files changed, 4 insertions(+), 1 deletions(-)
15
16 --- a/drivers/ssb/driver_mipscore.c
17 +++ b/drivers/ssb/driver_mipscore.c
18 @@ -270,7 +270,6 @@ void ssb_mipscore_init(struct ssb_mipsco
19 set_irq(dev, irq++);
20 }
21 break;
22 - /* fallthrough */
23 case SSB_DEV_PCI:
24 case SSB_DEV_ETHERNET:
25 case SSB_DEV_ETHERNET_GBIT:
26 @@ -281,6 +280,10 @@ void ssb_mipscore_init(struct ssb_mipsco
27 set_irq(dev, irq++);
28 break;
29 }
30 + /* fallthrough */
31 + case SSB_DEV_EXTIF:
32 + set_irq(dev, 0);
33 + break;
34 }
35 }
36 ssb_dprintk(KERN_INFO PFX "after irq reconfiguration\n");
This page took 0.051885 seconds and 5 git commands to generate.