diff options
author | Greg Dietsche <Gregory.Dietsche@cuw.edu> | 2012-02-27 13:25:30 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-29 14:14:54 -0500 |
commit | 649921499c7116d5283b02ec432ff42229aefccd (patch) | |
tree | fdb8ff7a90631baac23766b479e83d0a3e8e2ba1 /drivers/net/wireless/iwlegacy/Kconfig | |
parent | 02f2f1a951f87644166926862ec32fb13511e2f3 (diff) |
iwlegacy: Kconfig: Move Debugging Options
Move the debug options so they appear below the 3945 / 4965 options.
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/Kconfig')
-rw-r--r-- | drivers/net/wireless/iwlegacy/Kconfig | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/drivers/net/wireless/iwlegacy/Kconfig b/drivers/net/wireless/iwlegacy/Kconfig index 05bd375cb845..4d81b80b16e6 100644 --- a/drivers/net/wireless/iwlegacy/Kconfig +++ b/drivers/net/wireless/iwlegacy/Kconfig | |||
@@ -6,45 +6,6 @@ config IWLEGACY | |||
6 | select LEDS_TRIGGERS | 6 | select LEDS_TRIGGERS |
7 | select MAC80211_LEDS | 7 | select MAC80211_LEDS |
8 | 8 | ||
9 | menu "Debugging Options" | ||
10 | depends on IWLEGACY | ||
11 | |||
12 | config IWLEGACY_DEBUG | ||
13 | bool "Enable full debugging output in iwlegacy (iwl 3945/4965) drivers" | ||
14 | depends on IWLEGACY | ||
15 | ---help--- | ||
16 | This option will enable debug tracing output for the iwlegacy | ||
17 | drivers. | ||
18 | |||
19 | This will result in the kernel module being ~100k larger. You can | ||
20 | control which debug output is sent to the kernel log by setting the | ||
21 | value in | ||
22 | |||
23 | /sys/class/net/wlan0/device/debug_level | ||
24 | |||
25 | This entry will only exist if this option is enabled. | ||
26 | |||
27 | To set a value, simply echo an 8-byte hex value to the same file: | ||
28 | |||
29 | % echo 0x43fff > /sys/class/net/wlan0/device/debug_level | ||
30 | |||
31 | You can find the list of debug mask values in: | ||
32 | drivers/net/wireless/iwlegacy/common.h | ||
33 | |||
34 | If this is your first time using this driver, you should say Y here | ||
35 | as the debug information can assist others in helping you resolve | ||
36 | any problems you may encounter. | ||
37 | |||
38 | config IWLEGACY_DEBUGFS | ||
39 | bool "iwlegacy (iwl 3945/4965) debugfs support" | ||
40 | depends on IWLEGACY && MAC80211_DEBUGFS | ||
41 | ---help--- | ||
42 | Enable creation of debugfs files for the iwlegacy drivers. This | ||
43 | is a low-impact option that allows getting insight into the | ||
44 | driver's state at runtime. | ||
45 | |||
46 | endmenu | ||
47 | |||
48 | config IWL4965 | 9 | config IWL4965 |
49 | tristate "Intel Wireless WiFi 4965AGN (iwl4965)" | 10 | tristate "Intel Wireless WiFi 4965AGN (iwl4965)" |
50 | depends on PCI && MAC80211 | 11 | depends on PCI && MAC80211 |
@@ -98,3 +59,42 @@ config IWL3945 | |||
98 | inserted in and removed from the running kernel whenever you want), | 59 | inserted in and removed from the running kernel whenever you want), |
99 | say M here and read <file:Documentation/kbuild/modules.txt>. The | 60 | say M here and read <file:Documentation/kbuild/modules.txt>. The |
100 | module will be called iwl3945. | 61 | module will be called iwl3945. |
62 | |||
63 | menu "Debugging Options" | ||
64 | depends on IWLEGACY | ||
65 | |||
66 | config IWLEGACY_DEBUG | ||
67 | bool "Enable full debugging output in iwlegacy (iwl 3945/4965) drivers" | ||
68 | depends on IWLEGACY | ||
69 | ---help--- | ||
70 | This option will enable debug tracing output for the iwlegacy | ||
71 | drivers. | ||
72 | |||
73 | This will result in the kernel module being ~100k larger. You can | ||
74 | control which debug output is sent to the kernel log by setting the | ||
75 | value in | ||
76 | |||
77 | /sys/class/net/wlan0/device/debug_level | ||
78 | |||
79 | This entry will only exist if this option is enabled. | ||
80 | |||
81 | To set a value, simply echo an 8-byte hex value to the same file: | ||
82 | |||
83 | % echo 0x43fff > /sys/class/net/wlan0/device/debug_level | ||
84 | |||
85 | You can find the list of debug mask values in: | ||
86 | drivers/net/wireless/iwlegacy/common.h | ||
87 | |||
88 | If this is your first time using this driver, you should say Y here | ||
89 | as the debug information can assist others in helping you resolve | ||
90 | any problems you may encounter. | ||
91 | |||
92 | config IWLEGACY_DEBUGFS | ||
93 | bool "iwlegacy (iwl 3945/4965) debugfs support" | ||
94 | depends on IWLEGACY && MAC80211_DEBUGFS | ||
95 | ---help--- | ||
96 | Enable creation of debugfs files for the iwlegacy drivers. This | ||
97 | is a low-impact option that allows getting insight into the | ||
98 | driver's state at runtime. | ||
99 | |||
100 | endmenu | ||