mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-19 23:43:42 +02:00
mac80211: b43: Expose debug option
Allow enabling debug output and debugfs for B43. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26734 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
21ca38e406
commit
3c0289d116
@ -33,6 +33,7 @@ PKG_CONFIG_DEPENDS:= \
|
|||||||
$(patsubst %,CONFIG_PACKAGE_kmod-%,$(PKG_DRIVERS)) \
|
$(patsubst %,CONFIG_PACKAGE_kmod-%,$(PKG_DRIVERS)) \
|
||||||
CONFIG_PACKAGE_MAC80211_DEBUGFS \
|
CONFIG_PACKAGE_MAC80211_DEBUGFS \
|
||||||
CONFIG_PACKAGE_ATH_DEBUG \
|
CONFIG_PACKAGE_ATH_DEBUG \
|
||||||
|
CONFIG_PACKAGE_B43_DEBUG \
|
||||||
CONFIG_ATH_USER_REGD \
|
CONFIG_ATH_USER_REGD \
|
||||||
|
|
||||||
CARL9170_FW_VERSION:=1.9.2
|
CARL9170_FW_VERSION:=1.9.2
|
||||||
@ -1108,6 +1109,15 @@ 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_DEBUG
|
||||||
|
bool "Enable debug output and debugfs for b43"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Enable additional debug output and runtime sanity checks for b43
|
||||||
|
and enables the debugfs interface.
|
||||||
|
|
||||||
|
If unsure, say N.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -1168,6 +1178,7 @@ BUILDFLAGS:= \
|
|||||||
-D__CONFIG_MAC80211_RC_DEFAULT=minstrel \
|
-D__CONFIG_MAC80211_RC_DEFAULT=minstrel \
|
||||||
-DCONFIG_MAC80211_RC_MINSTREL_HT \
|
-DCONFIG_MAC80211_RC_MINSTREL_HT \
|
||||||
$(if $(CONFIG_ATH_USER_REGD),-DATH_USER_REGD=1) \
|
$(if $(CONFIG_ATH_USER_REGD),-DATH_USER_REGD=1) \
|
||||||
|
$(if $(CONFIG_PACKAGE_B43_DEBUG),-DCONFIG_B43_DEBUG) \
|
||||||
$(if $(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS),-DCONFIG_RT2X00_LIB_DEBUGFS) \
|
$(if $(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS),-DCONFIG_RT2X00_LIB_DEBUGFS) \
|
||||||
$(if $(CONFIG_PACKAGE_RT2X00_DEBUG),-DCONFIG_RT2X00_DEBUG) \
|
$(if $(CONFIG_PACKAGE_RT2X00_DEBUG),-DCONFIG_RT2X00_DEBUG) \
|
||||||
$(if $(NEED_RT2X00_LIB_HT),-DCONFIG_RT2X00_LIB_HT) \
|
$(if $(NEED_RT2X00_LIB_HT),-DCONFIG_RT2X00_LIB_HT) \
|
||||||
@ -1199,6 +1210,7 @@ MAKE_OPTS:= \
|
|||||||
CONFIG_B43LEGACY_HWRNG=$(if $(CONFIG_HW_RANDOM),y) \
|
CONFIG_B43LEGACY_HWRNG=$(if $(CONFIG_HW_RANDOM),y) \
|
||||||
CONFIG_B43=$(if $(CONFIG_PACKAGE_kmod-b43),m) \
|
CONFIG_B43=$(if $(CONFIG_PACKAGE_kmod-b43),m) \
|
||||||
CONFIG_B43LEGACY=$(if $(CONFIG_PACKAGE_kmod-b43legacy),m) \
|
CONFIG_B43LEGACY=$(if $(CONFIG_PACKAGE_kmod-b43legacy),m) \
|
||||||
|
CONFIG_B43_DEBUG=$(if $(CONFIG_PACKAGE_B43_DEBUG),y) \
|
||||||
CONFIG_ATH_COMMON=$(if $(CONFIG_PACKAGE_kmod-ath),m) \
|
CONFIG_ATH_COMMON=$(if $(CONFIG_PACKAGE_kmod-ath),m) \
|
||||||
CONFIG_ATH_DEBUG=$(if $(CONFIG_PACKAGE_ATH_DEBUG),y) \
|
CONFIG_ATH_DEBUG=$(if $(CONFIG_PACKAGE_ATH_DEBUG),y) \
|
||||||
CONFIG_ATH5K_DEBUG=$(if $(CONFIG_PACKAGE_ATH_DEBUG),y) \
|
CONFIG_ATH5K_DEBUG=$(if $(CONFIG_PACKAGE_ATH_DEBUG),y) \
|
||||||
|
Loading…
Reference in New Issue
Block a user