diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-11-24 00:33:27 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-28 23:05:04 +0300 |
commit | a830df0714117574fd0d5fe98477059b3e9fd5bf (patch) | |
tree | b9e97c27d1b24dfed5f5267e1ee991e791e767a2 /drivers/net/wireless/ath/ath9k/Kconfig | |
parent | f911ab83a2c07118dc605d643545647cef6f2322 (diff) | |
download | linux-a830df0714117574fd0d5fe98477059b3e9fd5bf.tar.xz |
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/Kconfig | 13 |
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 |