mac80211: b43: only enable bcma or ssb on bmips
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 20 Apr 2023 08:28:04 +0000 (10:28 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 23 Apr 2023 10:18:36 +0000 (12:18 +0200)
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@gmail.com>
package/kernel/mac80211/broadcom.mk

index 90167941c4e5ead1a91c269c72c7c16871716c61..cf80ad2d32603b66ecbae41f9b472ed34c74caa4 100644 (file)
@@ -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