summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-12 15:00:01 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-12 15:00:01 +0000
commit7f84cfd9915ac02b2199139bc4eb4f31f60ec416 (patch)
tree0c87c1b8c1453512857d3f5158243f07b7fd15c1 /target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch
parent010a728ebfd5f9c850a9489268f4185ebea04c94 (diff)
brcm47xx: BCMA - Update default IRQ assignment per upstream change
Update the default IRQ assignment for unrecognized devices per the upstream change. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35121 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch b/target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch
index b7cf0bced4..d06eb8f0a6 100644
--- a/target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch
+++ b/target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch
@@ -45,6 +45,15 @@
static void bcma_core_mips_set_irq(struct bcma_device *dev, unsigned int irq)
{
+@@ -316,7 +322,7 @@ void bcma_core_mips_init(struct bcma_drv
+ break;
+ default:
+ list_for_each_entry(core, &bus->cores, list) {
+- core->irq = bcma_core_mips_irq(core) + 2;
++ core->irq = bcma_core_irq(core);
+ }
+ bcma_err(bus,
+ "Unknown device (0x%x) found, can not configure IRQs\n",
--- a/drivers/bcma/driver_pci_host.c
+++ b/drivers/bcma/driver_pci_host.c
@@ -577,7 +577,7 @@ int bcma_core_pci_plat_dev_init(struct p