aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-02 18:17:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-02 18:17:44 +0000
commit4e56e7ee6156e5b7df4696b1aa26e99177664ef8 (patch)
tree5704c122905af55fd07c8edaba039d2fde5bbf57
parent4b241e98270ab83dcae8e678ee8066d65fdb44eb (diff)
downloadupstream-4e56e7ee6156e5b7df4696b1aa26e99177664ef8.tar.gz
upstream-4e56e7ee6156e5b7df4696b1aa26e99177664ef8.tar.bz2
upstream-4e56e7ee6156e5b7df4696b1aa26e99177664ef8.zip
mac80211: b43: make B43_PHY_LP configurable
This allows saving 11772 B if disabled. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 40984
-rw-r--r--package/kernel/mac80211/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index 028929f4b6..a328d61cef 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -1208,6 +1208,16 @@ define KernelPackage/b43/config
If unsure, say Y.
+ config PACKAGE_B43_PHY_LP
+ bool "Enable support for LP-PHYs"
+ default y
+ help
+ Enable support for LP-PHY. This includes support for the following devices:
+ PCI: BCM4312
+ SoC: BCM5354
+
+ If unsure, say Y.
+
config PACKAGE_B43_PHY_HT
bool "Enable support for HT-PHYs"
default y
@@ -1418,8 +1428,9 @@ endif
config-$(call config_package,carl9170) += CARL9170
config-$(call config_package,b43) += B43
-config-y += B43_SSB B43_BCMA B43_PHY_LP
+config-y += B43_SSB B43_BCMA
config-$(CONFIG_PACKAGE_B43_PHY_N) += B43_PHY_N
+config-$(CONFIG_PACKAGE_B43_PHY_LP) += B43_PHY_LP
config-$(CONFIG_PACKAGE_B43_PHY_HT) += B43_PHY_HT
config-$(CONFIG_PACKAGE_B43_PIO) += B43_PIO
config-$(CONFIG_PACKAGE_B43_DEBUG) += B43_DEBUG