aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/Makefile
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-04-19 21:43:19 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-04-19 21:43:19 +0000
commitbecddc9ec7f50f620fbf265ca1ab06eaee6d4146 (patch)
treebd424bffec4fd28c2d5d7848b6e74ad0b6115bc8 /package/mac80211/Makefile
parent0429ec0c1197b917f593a10bf303b69c9763d431 (diff)
downloadupstream-becddc9ec7f50f620fbf265ca1ab06eaee6d4146.tar.gz
upstream-becddc9ec7f50f620fbf265ca1ab06eaee6d4146.tar.bz2
upstream-becddc9ec7f50f620fbf265ca1ab06eaee6d4146.zip
mac80211: b43: Expose PIO mode fallback
Allow reenabling the PIO mode fallback for b43. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 26735
Diffstat (limited to 'package/mac80211/Makefile')
-rw-r--r--package/mac80211/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 330876f13b..1201b7f6a6 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -34,6 +34,7 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_MAC80211_DEBUGFS \
CONFIG_PACKAGE_ATH_DEBUG \
CONFIG_PACKAGE_B43_DEBUG \
+ CONFIG_PACKAGE_B43_PIO \
CONFIG_ATH_USER_REGD \
CARL9170_FW_VERSION:=1.9.2
@@ -1118,6 +1119,15 @@ define KernelPackage/b43/config
If unsure, say N.
+ config PACKAGE_B43_PIO
+ bool "Enable support for PIO transfer mode"
+ default n
+ help
+ Enable support for using PIO instead of DMA. Unless you have DMA
+ transfer problems you don't need this.
+
+ If unsure, say N.
+
endmenu
endef
@@ -1179,6 +1189,7 @@ BUILDFLAGS:= \
-DCONFIG_MAC80211_RC_MINSTREL_HT \
$(if $(CONFIG_ATH_USER_REGD),-DATH_USER_REGD=1) \
$(if $(CONFIG_PACKAGE_B43_DEBUG),-DCONFIG_B43_DEBUG) \
+ $(if $(CONFIG_PACKAGE_B43_PIO),-DCONFIG_B43_PIO) \
$(if $(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS),-DCONFIG_RT2X00_LIB_DEBUGFS) \
$(if $(CONFIG_PACKAGE_RT2X00_DEBUG),-DCONFIG_RT2X00_DEBUG) \
$(if $(NEED_RT2X00_LIB_HT),-DCONFIG_RT2X00_LIB_HT) \
@@ -1211,6 +1222,7 @@ MAKE_OPTS:= \
CONFIG_B43=$(if $(CONFIG_PACKAGE_kmod-b43),m) \
CONFIG_B43LEGACY=$(if $(CONFIG_PACKAGE_kmod-b43legacy),m) \
CONFIG_B43_DEBUG=$(if $(CONFIG_PACKAGE_B43_DEBUG),y) \
+ CONFIG_B43_PIO=$(if $(CONFIG_PACKAGE_B43_PIO),y) \
CONFIG_ATH_COMMON=$(if $(CONFIG_PACKAGE_kmod-ath),m) \
CONFIG_ATH_DEBUG=$(if $(CONFIG_PACKAGE_ATH_DEBUG),y) \
CONFIG_ATH5K_DEBUG=$(if $(CONFIG_PACKAGE_ATH_DEBUG),y) \