diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2008-11-28 11:49:02 -0500 |
---|---|---|
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) |
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 | |||
9 | Atheros IEEE 802.11n AR5008 and AR9001 family of chipsets. | 9 | Atheros IEEE 802.11n AR5008 and AR9001 family of chipsets. |
10 | 10 | ||
11 | If you choose to build a module, it'll be called ath9k. | 11 | If you choose to build a module, it'll be called ath9k. |
12 | |||
13 | config ATH9K_DEBUG | ||
14 | bool "Atheros ath9k debugging" | ||
15 | depends on ATH9K | ||
16 | ---help--- | ||
17 | Say Y, if you need ath9k to display debug messages. | ||
18 | Pass the debug mask as a module parameter: | ||
19 | |||
20 | modprobe ath9k debug=0x00002000 | ||
21 | |||
22 | Look in ath9k/core.h for possible debug masks | ||