diff options
author | Christoph Hellwig <hch@lst.de> | 2007-10-25 05:15:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:03:25 -0500 |
commit | c8b0e6e19c0bcd30689cb6c6f64eb140f5d61894 (patch) | |
tree | 5c9ef861d391a3d8d56f3e24cd9920f19161f7d2 /drivers/net/wireless/iwlwifi/Kconfig | |
parent | 5d08cd1dfdc57dc834c47eb9f023fcf861f3d6bf (diff) |
iwlwifi: cleanup Kconfig and ifdefs to split 3945 and 4965
Currently the iwl3945 & iwl4965 drivers share some common Kconfig
symbols. This split it up into options for the individual drivers
and gets rid of all the CONFIG_IWLWIFI cruft.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/Kconfig')
-rw-r--r-- | drivers/net/wireless/iwlwifi/Kconfig | 169 |
1 files changed, 100 insertions, 69 deletions
diff --git a/drivers/net/wireless/iwlwifi/Kconfig b/drivers/net/wireless/iwlwifi/Kconfig index 8d52a26c248a..74243fe9dca4 100644 --- a/drivers/net/wireless/iwlwifi/Kconfig +++ b/drivers/net/wireless/iwlwifi/Kconfig | |||
@@ -1,107 +1,95 @@ | |||
1 | config IWLWIFI | 1 | config IWL4965 |
2 | bool "Intel Wireless WiFi Link Drivers" | 2 | tristate "Intel Wireless WiFi 4965AGN" |
3 | depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL | 3 | depends on m && PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL |
4 | select FW_LOADER | 4 | select FW_LOADER |
5 | default n | 5 | default m |
6 | ---help--- | ||
7 | Select to enable drivers based on the iwlwifi project. This | ||
8 | project provides a common foundation for Intel's wireless | ||
9 | drivers designed to use the mac80211 subsystem. | ||
10 | |||
11 | See <file:Documentation/networking/README.iwlwifi> for | ||
12 | information on the capabilities currently enabled in this | ||
13 | driver and for tips for debugging issues and problems. | ||
14 | |||
15 | config IWLWIFI_DEBUG | ||
16 | bool "Enable full debugging output in iwlwifi drivers" | ||
17 | depends on IWLWIFI | ||
18 | default y | ||
19 | ---help--- | 6 | ---help--- |
20 | This option will enable debug tracing output for the iwlwifi | 7 | Select to build the driver supporting the: |
21 | drivers. | ||
22 | 8 | ||
23 | This will result in the kernel module being ~100k larger. You can | 9 | Intel Wireless WiFi Link 4965AGN |
24 | control which debug output is sent to the kernel log by setting the | ||
25 | value in | ||
26 | 10 | ||
27 | /sys/bus/pci/drivers/${DRIVER}/debug_level | 11 | This driver uses the kernel's mac80211 subsystem. |
28 | 12 | ||
29 | This entry will only exist if this option is enabled. | 13 | See <file:Documentation/networking/README.iwlwifi> for |
14 | information on the capabilities currently enabled in this | ||
15 | driver and for tips for debugging any issues or problems. | ||
30 | 16 | ||
31 | To set a value, simply echo an 8-byte hex value to the same file: | 17 | In order to use this driver, you will need a microcode (uCode) |
18 | image for it. You can obtain the microcode from: | ||
32 | 19 | ||
33 | % echo 0x43fff > /sys/bus/pci/drivers/${DRIVER}/debug_level | 20 | <http://intellinuxwireless.org/>. |
34 | 21 | ||
35 | You can find the list of debug mask values in: | 22 | See the above referenced README.iwlwifi for information on where |
36 | drivers/net/wireless/mac80211/iwlwifi/iwl-debug.h | 23 | to install the microcode images. |
37 | 24 | ||
38 | If this is your first time using this driver, you should say Y here | 25 | If you want to compile the driver as a module ( = code which can be |
39 | as the debug information can assist others in helping you resolve | 26 | inserted in and remvoed from the running kernel whenever you want), |
40 | any problems you may encounter. | 27 | say M here and read <file:Documentation/kbuild/modules.txt>. The |
28 | module will be called iwl4965.ko. | ||
41 | 29 | ||
42 | config IWLWIFI_SENSITIVITY | 30 | config IWL4965_QOS |
43 | bool "Enable Sensitivity Calibration in iwlwifi drivers" | 31 | bool "Enable Wireless QoS in iwl4965 driver" |
44 | depends on IWLWIFI | 32 | depends on IWL4965 |
45 | default y | 33 | default y |
46 | ---help--- | 34 | ---help--- |
47 | This option will enable sensitivity calibration for the iwlwifi | 35 | This option will enable wireless quality of service (QoS) for the |
48 | drivers. | 36 | iw4965 driver. |
49 | 37 | ||
50 | config IWLWIFI_SPECTRUM_MEASUREMENT | 38 | config IWL4965_SPECTRUM_MEASUREMENT |
51 | bool "Enable Spectrum Measurement in iwlwifi drivers" | 39 | bool "Enable Spectrum Measurement in iw4965 driver" |
52 | depends on IWLWIFI | 40 | depends on IWL4965 |
53 | default y | 41 | default y |
54 | ---help--- | 42 | ---help--- |
55 | This option will enable spectrum measurement for the iwlwifi drivers. | 43 | This option will enable spectrum measurement for the iwl4965 driver. |
56 | 44 | ||
57 | config IWLWIFI_QOS | 45 | config IWL4965_SENSITIVITY |
58 | bool "Enable Wireless QoS in iwlwifi drivers" | 46 | bool "Enable Sensitivity Calibration in iwl4965 driver" |
59 | depends on IWLWIFI | 47 | depends on IWL4965 |
60 | default y | 48 | default y |
61 | ---help--- | 49 | ---help--- |
62 | This option will enable wireless quality of service (QoS) for the | 50 | This option will enable sensitivity calibration for the iwl4965 |
63 | iwlwifi drivers. | 51 | driver. |
64 | 52 | ||
65 | config IWLWIFI_HT | 53 | config IWL4965_HT |
66 | bool "Enable 802.11n HT features in iwlwifi drivers" | 54 | bool "Enable 802.11n HT features in iwl4965 driver" |
67 | depends on EXPERIMENTAL | 55 | depends on EXPERIMENTAL |
68 | depends on IWLWIFI && MAC80211_HT | 56 | depends on IWL4965 && MAC80211_HT |
69 | default n | 57 | default n |
70 | ---help--- | 58 | ---help--- |
71 | This option enables IEEE 802.11n High Throughput features | 59 | This option enables IEEE 802.11n High Throughput features |
72 | for the iwlwifi drivers. | 60 | for the iwl4965 driver. |
73 | 61 | ||
74 | config IWL4965 | 62 | config IWL4965_DEBUG |
75 | tristate "Intel Wireless WiFi 4965AGN" | 63 | bool "Enable full debugging output in iwl4965 driver" |
76 | depends on m && IWLWIFI && EXPERIMENTAL | 64 | depends on IWL4965 |
77 | default m | 65 | default y |
78 | ---help--- | 66 | ---help--- |
79 | Select to build the driver supporting the: | 67 | This option will enable debug tracing output for the iwl4965 |
68 | driver. | ||
80 | 69 | ||
81 | Intel Wireless WiFi Link 4965AGN | 70 | This will result in the kernel module being ~100k larger. You can |
71 | control which debug output is sent to the kernel log by setting the | ||
72 | value in | ||
82 | 73 | ||
83 | This driver uses the kernel's mac80211 subsystem. | 74 | /sys/bus/pci/drivers/${DRIVER}/debug_level |
84 | 75 | ||
85 | See <file:Documentation/networking/README.iwlwifi> for | 76 | This entry will only exist if this option is enabled. |
86 | information on the capabilities currently enabled in this | ||
87 | driver and for tips for debugging any issues or problems. | ||
88 | 77 | ||
89 | In order to use this driver, you will need a microcode (uCode) | 78 | To set a value, simply echo an 8-byte hex value to the same file: |
90 | image for it. You can obtain the microcode from: | ||
91 | 79 | ||
92 | <http://intellinuxwireless.org/>. | 80 | % echo 0x43fff > /sys/bus/pci/drivers/${DRIVER}/debug_level |
93 | 81 | ||
94 | See the above referenced README.iwlwifi for information on where | 82 | You can find the list of debug mask values in: |
95 | to install the microcode images. | 83 | drivers/net/wireless/iwlwifi/iwl-4965-debug.h |
96 | 84 | ||
97 | If you want to compile the driver as a module ( = code which can be | 85 | If this is your first time using this driver, you should say Y here |
98 | inserted in and remvoed from the running kernel whenever you want), | 86 | as the debug information can assist others in helping you resolve |
99 | say M here and read <file:Documentation/kbuild/modules.txt>. The | 87 | any problems you may encounter. |
100 | module will be called iwl4965.ko. | ||
101 | 88 | ||
102 | config IWL3945 | 89 | config IWL3945 |
103 | tristate "Intel PRO/Wireless 3945ABG/BG Network Connection" | 90 | tristate "Intel PRO/Wireless 3945ABG/BG Network Connection" |
104 | depends on m && IWLWIFI && EXPERIMENTAL | 91 | depends on m && PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL |
92 | select FW_LOADER | ||
105 | default m | 93 | default m |
106 | ---help--- | 94 | ---help--- |
107 | Select to build the driver supporting the: | 95 | Select to build the driver supporting the: |
@@ -126,3 +114,46 @@ config IWL3945 | |||
126 | inserted in and remvoed from the running kernel whenever you want), | 114 | inserted in and remvoed from the running kernel whenever you want), |
127 | say M here and read <file:Documentation/kbuild/modules.txt>. The | 115 | say M here and read <file:Documentation/kbuild/modules.txt>. The |
128 | module will be called iwl3945.ko. | 116 | module will be called iwl3945.ko. |
117 | |||
118 | config IWL3945_QOS | ||
119 | bool "Enable Wireless QoS in iwl3945 driver" | ||
120 | depends on IWL3945 | ||
121 | default y | ||
122 | ---help--- | ||
123 | This option will enable wireless quality of service (QoS) for the | ||
124 | iwl3945 driver. | ||
125 | |||
126 | config IWL3945_SPECTRUM_MEASUREMENT | ||
127 | bool "Enable Spectrum Measurement in iwl3945 drivers" | ||
128 | depends on IWL3945 | ||
129 | default y | ||
130 | ---help--- | ||
131 | This option will enable spectrum measurement for the iwl3945 driver. | ||
132 | |||
133 | config IWL3945_DEBUG | ||
134 | bool "Enable full debugging output in iwl3945 driver" | ||
135 | depends on IWL3945 | ||
136 | default y | ||
137 | ---help--- | ||
138 | This option will enable debug tracing output for the iwl3945 | ||
139 | driver. | ||
140 | |||
141 | This will result in the kernel module being ~100k larger. You can | ||
142 | control which debug output is sent to the kernel log by setting the | ||
143 | value in | ||
144 | |||
145 | /sys/bus/pci/drivers/${DRIVER}/debug_level | ||
146 | |||
147 | This entry will only exist if this option is enabled. | ||
148 | |||
149 | To set a value, simply echo an 8-byte hex value to the same file: | ||
150 | |||
151 | % echo 0x43fff > /sys/bus/pci/drivers/${DRIVER}/debug_level | ||
152 | |||
153 | You can find the list of debug mask values in: | ||
154 | drivers/net/wireless/iwlwifi/iwl-3945-debug.h | ||
155 | |||
156 | If this is your first time using this driver, you should say Y here | ||
157 | as the debug information can assist others in helping you resolve | ||
158 | any problems you may encounter. | ||
159 | |||