[openwrt/openwrt] mac80211: b43: only enable bcma or ssb on bmips

LEDE Commits lede-commits at lists.infradead.org
Sun Apr 23 05:02:48 PDT 2023


noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/77d85a1bd32454acd216ef2408fd99903b7b7d8f

commit 77d85a1bd32454acd216ef2408fd99903b7b7d8f
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Thu Apr 20 10:28:04 2023 +0200

    mac80211: b43: only enable bcma or ssb on bmips
    
    By default both kmod-bcma and kmod-ssb are selected by kmod-b43.
    However, only one of both modules is needed for bmips subtargets:
    - bcma: bcm6318, bcm6328, bcm6362, bcm63268
    - ssb: bcm6358, bcm6368
    
    Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
 package/kernel/mac80211/broadcom.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/mac80211/broadcom.mk b/package/kernel/mac80211/broadcom.mk
index 90167941c4..cf80ad2d32 100644
--- a/package/kernel/mac80211/broadcom.mk
+++ b/package/kernel/mac80211/broadcom.mk
@@ -245,11 +245,11 @@ config PACKAGE_B43_USE_BCMA
 		  This allows choosing buses that b43 should support.
 
 	config PACKAGE_B43_BUSES_BCMA_AND_SSB
-		depends on !TARGET_bcm47xx_legacy && !TARGET_bcm47xx_mips74k && !TARGET_bcm53xx
+		depends on !TARGET_bcm47xx_legacy && !TARGET_bcm47xx_mips74k && !TARGET_bcm53xx && !TARGET_bmips
 		bool "BCMA and SSB"
 
 	config PACKAGE_B43_BUSES_BCMA
-		depends on !TARGET_bcm47xx_legacy
+		depends on !TARGET_bcm47xx_legacy && !TARGET_bmips_bcm6358 && !TARGET_bmips_bcm6368
 		bool "BCMA only"
 
 	config PACKAGE_B43_BUSES_SSB




More information about the lede-commits mailing list