[mac80211] update openfw to 5.2
[openwrt.git] / package / mac80211 / patches / 007-remove_unused_stuff.patch
1 --- a/config.mk
2 +++ b/config.mk
3 @@ -153,10 +153,10 @@ CONFIG_CFG80211_DEFAULT_PS=y
4 CONFIG_CFG80211_DEFAULT_PS_VALUE=1
5 # CONFIG_CFG80211_REG_DEBUG=y
6
7 -CONFIG_LIB80211=m
8 -CONFIG_LIB80211_CRYPT_WEP=m
9 -CONFIG_LIB80211_CRYPT_CCMP=m
10 -CONFIG_LIB80211_CRYPT_TKIP=m
11 +# CONFIG_LIB80211=m
12 +# CONFIG_LIB80211_CRYPT_WEP=m
13 +# CONFIG_LIB80211_CRYPT_CCMP=m
14 +# CONFIG_LIB80211_CRYPT_TKIP=m
15 # CONFIG_LIB80211_DEBUG=y
16
17 CONFIG_WIRELESS_OLD_REGULATORY=n
18 @@ -169,61 +169,61 @@ ifneq ($(CONFIG_PCI),)
19
20 CONFIG_ATH5K=m
21 # CONFIG_ATH5K_DEBUG=y
22 -CONFIG_ATH5K_RFKILL=y
23 +# CONFIG_ATH5K_RFKILL=y
24 CONFIG_ATH9K=m
25 # CONFIG_ATH9K_DEBUG=y
26
27
28 -CONFIG_IWLWIFI=m
29 -CONFIG_IWLWIFI_LEDS=y
30 -CONFIG_IWLWIFI_RFKILL=y
31 -CONFIG_IWLWIFI_SPECTRUM_MEASUREMENT=y
32 +# CONFIG_IWLWIFI=m
33 +# CONFIG_IWLWIFI_LEDS=y
34 +# CONFIG_IWLWIFI_RFKILL=y
35 +# CONFIG_IWLWIFI_SPECTRUM_MEASUREMENT=y
36 # CONFIG_IWLWIFI_DEBUG=y
37 # CONFIG_IWLWIFI_DEBUGFS=y
38 -CONFIG_IWLAGN=m
39 -CONFIG_COMPAT_IWL4965=y
40 -CONFIG_IWL5000=y
41 -CONFIG_IWL3945=m
42 -CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y
43 +# CONFIG_IWLAGN=m
44 +# CONFIG_COMPAT_IWL4965=y
45 +# CONFIG_IWL5000=y
46 +# CONFIG_IWL3945=m
47 +# CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y
48
49
50 -CONFIG_B43=m
51 -CONFIG_B43_HWRNG=y
52 -CONFIG_B43_PCI_AUTOSELECT=y
53 -CONFIG_B43_PCICORE_AUTOSELECT=y
54 -CONFIG_B43_PCMCIA=y
55 -CONFIG_B43_PIO=y
56 -CONFIG_B43_LEDS=y
57 -CONFIG_B43_RFKILL=y
58 +# CONFIG_B43=m
59 +# CONFIG_B43_HWRNG=y
60 +# CONFIG_B43_PCI_AUTOSELECT=y
61 +# CONFIG_B43_PCICORE_AUTOSELECT=y
62 +# CONFIG_B43_PCMCIA=y
63 +# CONFIG_B43_PIO=y
64 +# CONFIG_B43_LEDS=y
65 +# CONFIG_B43_RFKILL=y
66 # CONFIG_B43_DEBUG=y
67 # CONFIG_B43_FORCE_PIO=y
68
69 -CONFIG_B43LEGACY=m
70 -CONFIG_B43LEGACY_HWRNG=y
71 -CONFIG_B43LEGACY_PCI_AUTOSELECT=y
72 -CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
73 -CONFIG_B43LEGACY_LEDS=y
74 -CONFIG_B43LEGACY_RFKILL=y
75 +# CONFIG_B43LEGACY=m
76 +# CONFIG_B43LEGACY_HWRNG=y
77 +# CONFIG_B43LEGACY_PCI_AUTOSELECT=y
78 +# CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
79 +# CONFIG_B43LEGACY_LEDS=y
80 +# CONFIG_B43LEGACY_RFKILL=y
81 # CONFIG_B43LEGACY_DEBUG=y
82 CONFIG_B43LEGACY_DMA=y
83 -CONFIG_B43LEGACY_PIO=y
84 -CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
85 -# CONFIG_B43LEGACY_DMA_MODE=y
86 +# CONFIG_B43LEGACY_PIO=y
87 +# CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
88 +CONFIG_B43LEGACY_DMA_MODE=y
89 # CONFIG_B43LEGACY_PIO_MODE=y
90
91 # The Intel ipws
92 -CONFIG_LIBIPW=m
93 +# CONFIG_LIBIPW=m
94 # CONFIG_LIBIPW_DEBUG=y
95
96
97 -CONFIG_IPW2100=m
98 -CONFIG_IPW2100_MONITOR=y
99 +# CONFIG_IPW2100=m
100 +# CONFIG_IPW2100_MONITOR=y
101 # CONFIG_IPW2100_DEBUG=y
102 -CONFIG_IPW2200=m
103 -CONFIG_IPW2200_MONITOR=y
104 -CONFIG_IPW2200_RADIOTAP=y
105 -CONFIG_IPW2200_PROMISCUOUS=y
106 -CONFIG_IPW2200_QOS=y
107 +# CONFIG_IPW2200=m
108 +# CONFIG_IPW2200_MONITOR=y
109 +# CONFIG_IPW2200_RADIOTAP=y
110 +# CONFIG_IPW2200_PROMISCUOUS=y
111 +# CONFIG_IPW2200_QOS=y
112 # CONFIG_IPW2200_DEBUG=y
113 # The above enables use a second interface prefixed 'rtap'.
114 # Example usage:
115 @@ -238,27 +238,27 @@ CONFIG_IPW2200_QOS=y
116 #
117 # % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface
118
119 -CONFIG_SSB_BLOCKIO=y
120 -CONFIG_SSB_PCIHOST_POSSIBLE=y
121 -CONFIG_SSB_PCIHOST=y
122 -CONFIG_SSB_B43_PCI_BRIDGE=y
123 -CONFIG_SSB_PCMCIAHOST_POSSIBLE=y
124 -CONFIG_SSB_PCMCIAHOST=y
125 +# CONFIG_SSB_BLOCKIO=y
126 +# CONFIG_SSB_PCIHOST_POSSIBLE=y
127 +# CONFIG_SSB_PCIHOST=y
128 +# CONFIG_SSB_B43_PCI_BRIDGE=y
129 +# CONFIG_SSB_PCMCIAHOST_POSSIBLE=y
130 +# CONFIG_SSB_PCMCIAHOST=y
131 # CONFIG_SSB_DEBUG=y
132 -CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
133 -CONFIG_SSB_DRIVER_PCICORE=y
134 +# CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
135 +# CONFIG_SSB_DRIVER_PCICORE=y
136
137 CONFIG_P54_PCI=m
138
139 -CONFIG_B44=m
140 -CONFIG_B44_PCI_AUTOSELECT=y
141 -CONFIG_B44_PCICORE_AUTOSELECT=y
142 -CONFIG_B44_PCI=y
143 +# CONFIG_B44=m
144 +# CONFIG_B44_PCI_AUTOSELECT=y
145 +# CONFIG_B44_PCICORE_AUTOSELECT=y
146 +# CONFIG_B44_PCI=y
147
148 CONFIG_RTL8180=m
149
150 -CONFIG_ADM8211=m
151 -CONFIG_PCMCIA_ATMEL=m
152 +# CONFIG_ADM8211=m
153 +# CONFIG_PCMCIA_ATMEL=m
154
155 CONFIG_RT2X00_LIB_PCI=m
156 CONFIG_RT2400PCI=m
157 @@ -274,10 +274,10 @@ CONFIG_RT61PCI=m
158 NEED_RT2X00_FIRMWARE=y
159 endif
160
161 -CONFIG_ATMEL=m
162 -CONFIG_PCI_ATMEL=m
163 +# CONFIG_ATMEL=m
164 +# CONFIG_PCI_ATMEL=m
165
166 -CONFIG_MWL8K=m
167 +# CONFIG_MWL8K=m
168
169 endif
170 ## end of PCI
171 @@ -285,18 +285,18 @@ endif
172 ifneq ($(CONFIG_PCMCIA),)
173
174 ifeq ($(shell test $(KERNEL_SUBLEVEL) -le 26 && echo yes),yes)
175 -CONFIG_LIBERTAS=n
176 -CONFIG_LIBERTAS_CS=n
177 +# CONFIG_LIBERTAS=n
178 +# CONFIG_LIBERTAS_CS=n
179 else
180 -CONFIG_LIBERTAS_CS=m
181 -NEED_LIBERTAS=y
182 +# CONFIG_LIBERTAS_CS=m
183 +# NEED_LIBERTAS=y
184 endif
185
186 endif
187 ## end of PCMCIA
188
189 # This is required for some cards
190 -CONFIG_EEPROM_93CX6=m
191 +# CONFIG_EEPROM_93CX6=m
192
193 # USB Drivers
194 ifneq ($(CONFIG_USB),)
195 @@ -310,19 +310,19 @@ CONFIG_ZD1211RW=m
196 # is only wireless RNDIS chip known to date.
197 # Note: this depends on CONFIG_USB_NET_RNDIS_HOST and CONFIG_USB_NET_CDCETHER
198 # it also requires new RNDIS_HOST and CDC_ETHER modules which we add
199 -CONFIG_USB_NET_RNDIS_HOST=m
200 -CONFIG_USB_NET_RNDIS_WLAN=m
201 -CONFIG_USB_NET_CDCETHER=m
202 +# CONFIG_USB_NET_RNDIS_HOST=m
203 +# CONFIG_USB_NET_RNDIS_WLAN=m
204 +# CONFIG_USB_NET_CDCETHER=m
205
206
207 CONFIG_P54_USB=m
208 CONFIG_RTL8187=m
209
210 -CONFIG_AT76C50X_USB=m
211 +# CONFIG_AT76C50X_USB=m
212
213 ifeq ($(shell test $(KERNEL_SUBLEVEL) -ge 28 && echo yes),yes)
214 -CONFIG_AR9170_USB=m
215 -CONFIG_AR9170_LEDS=y
216 +# CONFIG_AR9170_USB=m
217 +# CONFIG_AR9170_LEDS=y
218 endif
219
220 # RT2500USB does not require firmware
221 @@ -337,28 +337,28 @@ NEED_RT2X00_FIRMWARE=y
222 endif
223
224 ifeq ($(shell test $(KERNEL_SUBLEVEL) -le 26 && echo yes),yes)
225 -CONFIG_LIBERTAS_THINFIRM_USB=n
226 -CONFIG_LIBERTAS_USB=n
227 -NEED_LIBERTAS=n
228 +# CONFIG_LIBERTAS_THINFIRM_USB=n
229 +# CONFIG_LIBERTAS_USB=n
230 +# NEED_LIBERTAS=n
231 else
232 -CONFIG_LIBERTAS_THINFIRM_USB=m
233 -CONFIG_LIBERTAS_USB=m
234 -NEED_LIBERTAS=y
235 +# CONFIG_LIBERTAS_THINFIRM_USB=m
236 +# CONFIG_LIBERTAS_USB=m
237 +# NEED_LIBERTAS=y
238 endif
239
240 endif # end of USB driver list
241
242 ifneq ($(CONFIG_SPI_MASTER),)
243
244 -CONFIG_WL1251=m
245 -CONFIG_P54_SPI=m
246 +# CONFIG_WL1251=m
247 +# CONFIG_P54_SPI=m
248
249 ifeq ($(shell test $(KERNEL_SUBLEVEL) -le 26 && echo yes),yes)
250 -CONFIG_LIBERTAS_SPI=n
251 -NEED_LIBERTAS=n
252 +# CONFIG_LIBERTAS_SPI=n
253 +# NEED_LIBERTAS=n
254 else
255 -CONFIG_LIBERTAS_SPI=m
256 -NEED_LIBERTAS=y
257 +# CONFIG_LIBERTAS_SPI=m
258 +# NEED_LIBERTAS=y
259 endif
260
261 endif # end of SPI driver list
262 @@ -366,17 +366,17 @@ endif # end of SPI driver list
263 ifneq ($(CONFIG_MMC),)
264
265 ifeq ($(shell test $(KERNEL_SUBLEVEL) -le 26 && echo yes),yes)
266 -CONFIG_LIBERTAS_SDIO=n
267 -NEED_LIBERTAS=n
268 +# CONFIG_LIBERTAS_SDIO=n
269 +# NEED_LIBERTAS=n
270 else
271 -CONFIG_LIBERTAS_SDIO=m
272 -NEED_LIBERTAS=y
273 +# CONFIG_LIBERTAS_SDIO=m
274 +# NEED_LIBERTAS=y
275 endif
276
277 # Activate iwmc3200wifi support only on kernel >= 2.6.29.
278 # iwmc3200wifi uses new netdev_ops api no supported by old kernel.
279 ifeq ($(shell test $(KERNEL_SUBLEVEL) -ge 29 && echo yes),yes)
280 -CONFIG_IWM=m
281 +# CONFIG_IWM=m
282 # CONFIG_IWM_DEBUG=y
283 endif
284
285 @@ -389,7 +389,7 @@ CONFIG_RT2X00_LIB=m
286 CONFIG_RT2X00_LIB_HT=y
287 CONFIG_RT2X00_LIB_FIRMWARE=y
288 CONFIG_RT2X00_LIB_CRYPTO=y
289 -CONFIG_RT2X00_LIB_RFKILL=y
290 +# CONFIG_RT2X00_LIB_RFKILL=y
291 CONFIG_RT2X00_LIB_LEDS=y
292 # CONFIG_RT2X00_LIB_DEBUGFS=y
293 # CONFIG_RT2X00_DEBUG=y
294 @@ -406,24 +406,24 @@ CONFIG_P54_LEDS=y
295 # Atheros
296 CONFIG_ATH_COMMON=m
297
298 -CONFIG_WL12XX=y
299 -CONFIG_WL1251=m
300 -CONFIG_WL1251_SPI=m
301 -CONFIG_WL1251_SDIO=m
302 -CONFIG_WL1271=m
303 +# CONFIG_WL12XX=y
304 +# CONFIG_WL1251=m
305 +# CONFIG_WL1251_SPI=m
306 +# CONFIG_WL1251_SDIO=m
307 +# CONFIG_WL1271=m
308
309 # Sonics Silicon Backplane
310 -CONFIG_SSB_POSSIBLE=y
311 -CONFIG_SSB=m
312 -CONFIG_SSB_SPROM=y
313 +# CONFIG_SSB_POSSIBLE=y
314 +# CONFIG_SSB=m
315 +# CONFIG_SSB_SPROM=y
316 # CONFIG_SSB_DEBUG=y
317
318 ifeq ($(shell test $(KERNEL_SUBLEVEL) -le 26 && echo yes),yes)
319 -CONFIG_LIBERTAS=n
320 +# CONFIG_LIBERTAS=n
321 else
322 ifeq ($(NEED_LIBERTAS),y)
323 -CONFIG_LIBERTAS_THINFIRM=m
324 -CONFIG_LIBERTAS=m
325 +# CONFIG_LIBERTAS_THINFIRM=m
326 +# CONFIG_LIBERTAS=m
327 # CONFIG_LIBERTAS_DEBUG=y
328 endif
329 endif
330 @@ -431,8 +431,8 @@ endif
331 # We need the backported rfkill module on kernel < 2.6.31.
332 # In more recent kernel versions use the in kernel rfkill module.
333 ifeq ($(shell test $(KERNEL_SUBLEVEL) -le 30 && echo yes),yes)
334 -CONFIG_RFKILL_BACKPORT=m
335 -CONFIG_RFKILL_BACKPORT_LEDS=y
336 -CONFIG_RFKILL_BACKPORT_INPUT=y
337 +# CONFIG_RFKILL_BACKPORT=m
338 +# CONFIG_RFKILL_BACKPORT_LEDS=y
339 +# CONFIG_RFKILL_BACKPORT_INPUT=y
340 endif
341
This page took 0.054236 seconds and 5 git commands to generate.