summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/Kconfig
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-11-23 22:33:27 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-11-28 15:05:04 -0500
commita830df0714117574fd0d5fe98477059b3e9fd5bf (patch)
treeb9e97c27d1b24dfed5f5267e1ee991e791e767a2 /drivers/net/wireless/ath/ath9k/Kconfig
parentf911ab83a2c07118dc605d643545647cef6f2322 (diff)
ath9k: separate debugfs support from CONFIG_ATH_DEBUG
In my setups, ath9k's debugfs files are most of the time much more useful than the messages generated by enabling CONFIG_ATH_DEBUG along with the right debug flags. Since CONFIG_ATH_DEBUG comes with a noticeable overhead on embedded systems, this patch makes it possible to use the debugfs files without that option. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/Kconfig')
-rw-r--r--drivers/net/wireless/ath/ath9k/Kconfig13
1 files changed, 4 insertions, 9 deletions
diff --git a/drivers/net/wireless/ath/ath9k/Kconfig b/drivers/net/wireless/ath/ath9k/Kconfig
index 006364f76bb4..03a1106ad725 100644
--- a/drivers/net/wireless/ath/ath9k/Kconfig
+++ b/drivers/net/wireless/ath/ath9k/Kconfig
@@ -23,17 +23,12 @@ config ATH9K
If you choose to build a module, it'll be called ath9k.
-if ATH_DEBUG
-
-config ATH9K_DEBUG
+config ATH9K_DEBUGFS
bool "Atheros ath9k debugging"
depends on ATH9K
---help---
- Say Y, if you need ath9k to display debug messages.
- Pass the debug mask as a module parameter:
-
- modprobe ath9k debug=0x00000200
+ Say Y, if you need access to ath9k's statistics for
+ interrupts, rate control, etc.
- Look in ath9k/debug.h for possible debug masks
+ Also required for changing debug message flags at run time.
-endif # ATH_DEBUG