diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2008-11-28 22:19:02 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-05 09:35:08 -0500 |
commit | 88b126af946e7ea789f2a52d9d25aca681f93067 (patch) | |
tree | 0991493a6fc53675ca73d971bb92ae77fb628a48 /drivers/net/wireless/ath9k/Kconfig | |
parent | 04bd4638097c767278fdf12d50fecc8b60194d39 (diff) | |
download | blackbird-op-linux-88b126af946e7ea789f2a52d9d25aca681f93067.tar.gz blackbird-op-linux-88b126af946e7ea789f2a52d9d25aca681f93067.zip |
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/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/Kconfig b/drivers/net/wireless/ath9k/Kconfig index 80a692430413..c43bd321f97f 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 |