[packages] mac80211: add more ath9k patches
[openwrt.git] / package / mac80211 / patches / 007-remove_unused_stuff.patch
1 --- a/config.mk
2 +++ b/config.mk
3 @@ -107,10 +107,10 @@ CONFIG_MAC80211_MESH=y
4 CONFIG_CFG80211=m
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 @@ -123,61 +123,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_IWL4965=y
40 -CONFIG_IWL5000=y
41 -CONFIG_IWL3945=m
42 -CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y
43 +# CONFIG_IWLAGN=m
44 +# CONFIG_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 @@ -192,27 +192,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 @@ -228,24 +228,24 @@ 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
172 ifneq ($(CONFIG_PCMCIA),)
173
174 -CONFIG_LIBERTAS_CS=m
175 -NEED_LIBERTAS=y
176 +# CONFIG_LIBERTAS_CS=m
177 +# NEED_LIBERTAS=y
178
179 endif
180 ## end of PCMCIA
181
182 # This is required for some cards
183 -CONFIG_EEPROM_93CX6=m
184 +# CONFIG_EEPROM_93CX6=m
185
186 # USB Drivers
187 ifneq ($(CONFIG_USB),)
188 @@ -259,21 +259,21 @@ CONFIG_ZD1211RW=m
189 # is only wireless RNDIS chip known to date.
190 # Note: this depends on CONFIG_USB_NET_RNDIS_HOST and CONFIG_USB_NET_CDCETHER
191 # it also requires new RNDIS_HOST and CDC_ETHER modules which we add
192 -CONFIG_USB_NET_RNDIS_HOST=m
193 -CONFIG_USB_NET_RNDIS_WLAN=m
194 -CONFIG_USB_NET_CDCETHER=m
195 +# CONFIG_USB_NET_RNDIS_HOST=m
196 +# CONFIG_USB_NET_RNDIS_WLAN=m
197 +# CONFIG_USB_NET_CDCETHER=m
198
199
200 CONFIG_P54_USB=m
201 CONFIG_RTL8187=m
202
203 -CONFIG_AT76C50X_USB=m
204 +# CONFIG_AT76C50X_USB=m
205
206 # Activate AR9170 support only on kernel >= 2.6.29.
207 # The needed USB poison feature was added in this kernel release.
208 ifeq ($(shell test $(KERNEL_SUBLEVEL) -ge 29 && echo yes),yes)
209 -CONFIG_AR9170_USB=m
210 -CONFIG_AR9170_LEDS=y
211 +# CONFIG_AR9170_USB=m
212 +# CONFIG_AR9170_LEDS=y
213 endif
214
215 # RT2500USB does not require firmware
216 @@ -287,30 +287,30 @@ CONFIG_RT73USB=m
217 NEED_RT2X00_FIRMWARE=y
218 endif
219
220 -CONFIG_LIBERTAS_THINFIRM_USB=m
221 -CONFIG_LIBERTAS_USB=m
222 -NEED_LIBERTAS=y
223 +# CONFIG_LIBERTAS_THINFIRM_USB=m
224 +# CONFIG_LIBERTAS_USB=m
225 +# NEED_LIBERTAS=y
226
227 endif # end of USB driver list
228
229 ifneq ($(CONFIG_SPI_MASTER),)
230
231 -CONFIG_WL1251=m
232 -CONFIG_P54_SPI=m
233 -CONFIG_LIBERTAS_SPI=m
234 -NEED_LIBERTAS=y
235 +# CONFIG_WL1251=m
236 +# CONFIG_P54_SPI=m
237 +# CONFIG_LIBERTAS_SPI=m
238 +# NEED_LIBERTAS=y
239
240 endif # end of SPI driver list
241
242 ifneq ($(CONFIG_MMC),)
243
244 -CONFIG_LIBERTAS_SDIO=m
245 -NEED_LIBERTAS=y
246 +# CONFIG_LIBERTAS_SDIO=m
247 +# NEED_LIBERTAS=y
248
249 # Activate iwmc3200wifi support only on kernel >= 2.6.29.
250 # iwmc3200wifi uses new netdev_ops api no supported by old kernel.
251 ifeq ($(shell test $(KERNEL_SUBLEVEL) -ge 29 && echo yes),yes)
252 -CONFIG_IWM=m
253 +# CONFIG_IWM=m
254 # CONFIG_IWM_DEBUG=y
255 endif
256
257 @@ -323,7 +323,7 @@ CONFIG_RT2X00_LIB=m
258 CONFIG_RT2X00_LIB_HT=y
259 CONFIG_RT2X00_LIB_FIRMWARE=y
260 CONFIG_RT2X00_LIB_CRYPTO=y
261 -CONFIG_RT2X00_LIB_RFKILL=y
262 +# CONFIG_RT2X00_LIB_RFKILL=y
263 CONFIG_RT2X00_LIB_LEDS=y
264 # CONFIG_RT2X00_LIB_DEBUGFS=y
265 # CONFIG_RT2X00_DEBUG=y
266 @@ -340,25 +340,25 @@ CONFIG_P54_LEDS=y
267 # Atheros
268 CONFIG_ATH_COMMON=m
269
270 -CONFIG_WL12XX=y
271 +# CONFIG_WL12XX=y
272
273 # Sonics Silicon Backplane
274 -CONFIG_SSB_POSSIBLE=y
275 -CONFIG_SSB=m
276 -CONFIG_SSB_SPROM=y
277 +# CONFIG_SSB_POSSIBLE=y
278 +# CONFIG_SSB=m
279 +# CONFIG_SSB_SPROM=y
280 # CONFIG_SSB_DEBUG=y
281
282 ifeq ($(NEED_LIBERTAS),y)
283 -CONFIG_LIBERTAS_THINFIRM=m
284 -CONFIG_LIBERTAS=m
285 +# CONFIG_LIBERTAS_THINFIRM=m
286 +# CONFIG_LIBERTAS=m
287 # CONFIG_LIBERTAS_DEBUG=y
288 endif
289
290 # We need the backported rfkill module on kernel < 2.6.31.
291 # In more recent kernel versions use the in kernel rfkill module.
292 ifeq ($(shell test $(KERNEL_SUBLEVEL) -le 30 && echo yes),yes)
293 -CONFIG_RFKILL_BACKPORT=m
294 -CONFIG_RFKILL_BACKPORT_LEDS=y
295 -CONFIG_RFKILL_BACKPORT_INPUT=y
296 +# CONFIG_RFKILL_BACKPORT=m
297 +# CONFIG_RFKILL_BACKPORT_LEDS=y
298 +# CONFIG_RFKILL_BACKPORT_INPUT=y
299 endif
300
This page took 0.054028 seconds and 5 git commands to generate.