summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath9k/Kconfig
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2008-11-28 16:49:02 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2008-12-05 14:35:08 (GMT)
commit88b126af946e7ea789f2a52d9d25aca681f93067 (patch)
tree0991493a6fc53675ca73d971bb92ae77fb628a48 /drivers/net/wireless/ath9k/Kconfig
parent04bd4638097c767278fdf12d50fecc8b60194d39 (diff)
downloadlinux-88b126af946e7ea789f2a52d9d25aca681f93067.tar.xz
ath9k: Add ATH9K_DEBUG configuration option
Make debugging configurable, and add a module parameter to give the debug mask. Add debug.c to hold all debug specific code. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/Kconfig')
-rw-r--r--drivers/net/wireless/ath9k/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/Kconfig b/drivers/net/wireless/ath9k/Kconfig
index 80a6924..c43bd32 100644
--- a/drivers/net/wireless/ath9k/Kconfig
+++ b/drivers/net/wireless/ath9k/Kconfig
@@ -9,3 +9,14 @@ config ATH9K
Atheros IEEE 802.11n AR5008 and AR9001 family of chipsets.
If you choose to build a module, it'll be called ath9k.
+
+config ATH9K_DEBUG
+ 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=0x00002000
+
+ Look in ath9k/core.h for possible debug masks