diff options
Diffstat (limited to 'drivers/net/wireless/ath5k/Kconfig')
-rw-r--r-- | drivers/net/wireless/ath5k/Kconfig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath5k/Kconfig b/drivers/net/wireless/ath5k/Kconfig index af1b6b8c991a..f1f2aea2eab4 100644 --- a/drivers/net/wireless/ath5k/Kconfig +++ b/drivers/net/wireless/ath5k/Kconfig | |||
@@ -14,3 +14,24 @@ config ATH5K | |||
14 | 14 | ||
15 | If you choose to build a module, it'll be called ath5k. Say M if | 15 | If you choose to build a module, it'll be called ath5k. Say M if |
16 | unsure. | 16 | unsure. |
17 | |||
18 | config ATH5K_DEBUG | ||
19 | bool "Atheros 5xxx debugging" | ||
20 | depends on ATH5K | ||
21 | ---help--- | ||
22 | Atheros 5xxx debugging messages. | ||
23 | |||
24 | Say Y, if and you will get debug options for ath5k. | ||
25 | To use this, you need to mount debugfs: | ||
26 | |||
27 | mkdir /debug/ | ||
28 | mount -t debugfs debug /debug/ | ||
29 | |||
30 | You will get access to files under: | ||
31 | /debug/ath5k/phy0/ | ||
32 | |||
33 | To enable debug, pass the debug level to the debug module | ||
34 | parameter. For example: | ||
35 | |||
36 | modprobe ath5k debug=0x00000400 | ||
37 | |||