From da0909347760ca011ad73101e84d099e5b17a55a Mon Sep 17 00:00:00 2001 From: noz Date: Tue, 8 Jul 2008 17:50:40 +0000 Subject: [brcm47xx] On embedded devices we must not route the interrupts through the PCI core, if our host-bus is not PCI Reported-by: Steve Brown Signed-off-by: Michael Buesch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11750 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-2.6.25/630-ssb-fix-irq-init.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 target/linux/brcm47xx/patches-2.6.25/630-ssb-fix-irq-init.patch (limited to 'target') diff --git a/target/linux/brcm47xx/patches-2.6.25/630-ssb-fix-irq-init.patch b/target/linux/brcm47xx/patches-2.6.25/630-ssb-fix-irq-init.patch new file mode 100644 index 000000000..6dcc34b42 --- /dev/null +++ b/target/linux/brcm47xx/patches-2.6.25/630-ssb-fix-irq-init.patch @@ -0,0 +1,26 @@ +Subject: [OpenWrt-Devel] [PATCH] ssb-pcicore: Fix IRQ-vector init on embedded devices + +On embedded devices we must not route the interrupts through +the PCI core, if our host-bus is not PCI. + +Reported-by: Steve Brown +Signed-off-by: Michael Buesch + +Index: wireless-testing/drivers/ssb/driver_pcicore.c +=================================================================== +--- wireless-testing.orig/drivers/ssb/driver_pcicore.c 2008-06-10 13:58:23.000000000 +0200 ++++ wireless-testing/drivers/ssb/driver_pcicore.c 2008-07-04 23:16:02.000000000 +0200 +@@ -537,6 +537,13 @@ int ssb_pcicore_dev_irqvecs_enable(struc + int err = 0; + u32 tmp; + ++ if (dev->bus->bustype != SSB_BUSTYPE_PCI) { ++ /* This SSB device is not on a PCI host-bus. So the IRQs are ++ * not routed through the PCI core. ++ * So we must not enable routing through the PCI core. */ ++ goto out; ++ } ++ + if (!pdev) + goto out; + bus = pdev->bus; -- cgit v1.2.3