mac80211: b43: make support for SSB optional
Now we have a choice submenu, just like b43 in the mainline. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 41015
This commit is contained in:
parent
fd20a64136
commit
2454ee8645
@ -1070,7 +1070,8 @@ define KernelPackage/b43
|
|||||||
URL:=http://linuxwireless.org/en/users/Drivers/b43
|
URL:=http://linuxwireless.org/en/users/Drivers/b43
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_HW_RANDOM=y
|
CONFIG_HW_RANDOM=y
|
||||||
DEPENDS+= +kmod-mac80211 +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb
|
# Depend on PCI_SUPPORT to make sure we can select kmod-bcma or kmod-ssb
|
||||||
|
DEPENDS+= +kmod-mac80211 +!(TARGET_brcm47xx||TARGET_brcm63xx):PCI_SUPPORT
|
||||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/b43/b43.ko
|
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/b43/b43.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,b43)
|
AUTOLOAD:=$(call AutoProbe,b43)
|
||||||
MENU:=1
|
MENU:=1
|
||||||
@ -1178,10 +1179,26 @@ define KernelPackage/b43/config
|
|||||||
Example (keep files for G-PHY and N-PHY):
|
Example (keep files for G-PHY and N-PHY):
|
||||||
G,N
|
G,N
|
||||||
|
|
||||||
config PACKAGE_B43_BUSES_BCMA
|
choice
|
||||||
bool "Support for BCMA bus"
|
prompt "Supported buses"
|
||||||
|
default PACKAGE_B43_BUSES_BCMA_AND_SSB
|
||||||
|
help
|
||||||
|
This allows choosing buses that b43 should support.
|
||||||
|
|
||||||
|
config PACKAGE_B43_BUSES_BCMA_AND_SSB
|
||||||
|
bool "BCMA and SSB"
|
||||||
select PACKAGE_kmod-bcma if !TARGET_brcm47xx
|
select PACKAGE_kmod-bcma if !TARGET_brcm47xx
|
||||||
default y
|
select PACKAGE_kmod-ssb if !(TARGET_brcm47xx || TARGET_brcm63xx)
|
||||||
|
|
||||||
|
config PACKAGE_B43_BUSES_BCMA
|
||||||
|
bool "BCMA only"
|
||||||
|
select PACKAGE_kmod-bcma if !TARGET_brcm47xx
|
||||||
|
|
||||||
|
config PACKAGE_B43_BUSES_SSB
|
||||||
|
bool "SSB only"
|
||||||
|
select PACKAGE_kmod-ssb if !(TARGET_brcm47xx || TARGET_brcm63xx)
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
config PACKAGE_B43_DEBUG
|
config PACKAGE_B43_DEBUG
|
||||||
bool "Enable debug output and debugfs for b43"
|
bool "Enable debug output and debugfs for b43"
|
||||||
@ -1433,11 +1450,9 @@ endif
|
|||||||
config-$(call config_package,carl9170) += CARL9170
|
config-$(call config_package,carl9170) += CARL9170
|
||||||
|
|
||||||
config-$(call config_package,b43) += B43
|
config-$(call config_package,b43) += B43
|
||||||
ifeq ($(CONFIG_PACKAGE_B43_BUSES_BCMA),y)
|
config-$(CONFIG_PACKAGE_B43_BUSES_BCMA_AND_SSB) += B43_BUSES_BCMA_AND_SSB
|
||||||
config-y += B43_BUSES_BCMA_AND_SSB
|
config-$(CONFIG_PACKAGE_B43_BUSES_BCMA) += B43_BUSES_BCMA
|
||||||
else
|
config-$(CONFIG_PACKAGE_B43_BUSES_SSB) += B43_BUSES_SSB
|
||||||
config-y += B43_BUSES_SSB
|
|
||||||
endif
|
|
||||||
config-$(CONFIG_PACKAGE_B43_PHY_N) += B43_PHY_N
|
config-$(CONFIG_PACKAGE_B43_PHY_N) += B43_PHY_N
|
||||||
config-$(CONFIG_PACKAGE_B43_PHY_LP) += B43_PHY_LP
|
config-$(CONFIG_PACKAGE_B43_PHY_LP) += B43_PHY_LP
|
||||||
config-$(CONFIG_PACKAGE_B43_PHY_HT) += B43_PHY_HT
|
config-$(CONFIG_PACKAGE_B43_PHY_HT) += B43_PHY_HT
|
||||||
|
Loading…
Reference in New Issue
Block a user