mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
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> SVN-Revision: 35121
This commit is contained in:
parent
0f101497ac
commit
2bf03f971d
@ -45,6 +45,15 @@
|
|||||||
|
|
||||||
static void bcma_core_mips_set_irq(struct bcma_device *dev, unsigned int irq)
|
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
|
--- a/drivers/bcma/driver_pci_host.c
|
||||||
+++ b/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
|
@@ -577,7 +577,7 @@ int bcma_core_pci_plat_dev_init(struct p
|
||||||
|
Loading…
Reference in New Issue
Block a user