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