[LEDE-DEV] [PATCH RFC] kernel: allow selecting kmod-ssb on TARGET_brcm47xx_mips74k
zajec5 at gmail.com
Mon Oct 24 14:39:27 PDT 2016
From: Rafał Miłecki <rafal at milecki.pl>
For mips74k subtarget we don't have ssb compiled into to the kernel,
so allow using it as package. This can be useful for MIPS74k SoCs with
PCIe cards using ssb (like BCM4322).
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
I'm thinking about switching Linksys WRT610N v2 and Linksys E3000 v1 to
the mips74k subtarget. These boards are quite specific because:
1) They use bcma-based BCM4718A1 SoC with wireless core
2) They use ssb-based BCM4322 PCIe wireless card
Switching to mips74k subtarget would give them some performance gain due
to optimized build. Unfortunately it requires some work on ssb/bcma/b43.
Subtarget mips74k has only bcma support built-in, so ssb support should
be added as package (kmod-ssb) - this is easy. A bigger problem is b43.
Right now we have only 1 b43 package that gets adjusted depending on the
brcm47xx subtarget. Devices using mips74k subtarget get b43 with bcma
support only. However these 2 Linksys routers should have b43 with both:
ssb and bcma.
The only way I see to handle this is having 3 b43 packages:
Does it sound like a good idea? Is it acceptable?
package/kernel/linux/modules/other.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 38b98f3..abf9512 100644
@@ -432,7 +432,7 @@ $(eval $(call KernelPackage,softdog))
TITLE:=Silicon Sonics Backplane glue code
- DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
+ DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx_legacy @!TARGET_brcm47xx_generic @!TARGET_brcm63xx
More information about the Lede-dev