update compat-wireless to 2009-05-21
[openwrt/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 @@ -127,56 +127,56 @@ CONFIG_ATH9K=m
19 # CONFIG_ATH9K_DEBUG=y
20
21
22 -CONFIG_IWLWIFI=m
23 -CONFIG_IWLWIFI_LEDS=y
24 +# CONFIG_IWLWIFI=m
25 +# CONFIG_IWLWIFI_LEDS=y
26 # CONFIG_IWLWIFI_RFKILL=y
27 -CONFIG_IWLWIFI_SPECTRUM_MEASUREMENT=y
28 +# CONFIG_IWLWIFI_SPECTRUM_MEASUREMENT=y
29 # CONFIG_IWLWIFI_DEBUG=y
30 # CONFIG_IWLWIFI_DEBUGFS=y
31 -CONFIG_IWLAGN=m
32 -CONFIG_IWL4965=y
33 -CONFIG_IWL5000=y
34 -CONFIG_IWL3945=m
35 -CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y
36 +# CONFIG_IWLAGN=m
37 +# CONFIG_IWL4965=y
38 +# CONFIG_IWL5000=y
39 +# CONFIG_IWL3945=m
40 +# CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y
41
42
43 -CONFIG_B43=m
44 -CONFIG_B43_HWRNG=y
45 -CONFIG_B43_PCI_AUTOSELECT=y
46 -CONFIG_B43_PCICORE_AUTOSELECT=y
47 -CONFIG_B43_PCMCIA=y
48 -CONFIG_B43_PIO=y
49 -CONFIG_B43_LEDS=y
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_DEBUG=y
59 # CONFIG_B43_FORCE_PIO=y
60
61 -CONFIG_B43LEGACY=m
62 -CONFIG_B43LEGACY_HWRNG=y
63 -CONFIG_B43LEGACY_PCI_AUTOSELECT=y
64 -CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
65 -CONFIG_B43LEGACY_LEDS=y
66 +# CONFIG_B43LEGACY=m
67 +# CONFIG_B43LEGACY_HWRNG=y
68 +# CONFIG_B43LEGACY_PCI_AUTOSELECT=y
69 +# CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
70 +# CONFIG_B43LEGACY_LEDS=y
71 # CONFIG_B43LEGACY_RFKILL=y
72 # CONFIG_B43LEGACY_DEBUG=y
73 CONFIG_B43LEGACY_DMA=y
74 -CONFIG_B43LEGACY_PIO=y
75 -CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
76 -# CONFIG_B43LEGACY_DMA_MODE=y
77 +# CONFIG_B43LEGACY_PIO=y
78 +# CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
79 +CONFIG_B43LEGACY_DMA_MODE=y
80 # CONFIG_B43LEGACY_PIO_MODE=y
81
82 # The Intel ipws
83 -CONFIG_LIBIPW=m
84 +# CONFIG_LIBIPW=m
85 # CONFIG_LIBIPW_DEBUG=y
86
87
88 -CONFIG_IPW2100=m
89 -CONFIG_IPW2100_MONITOR=y
90 +# CONFIG_IPW2100=m
91 +# CONFIG_IPW2100_MONITOR=y
92 # CONFIG_IPW2100_DEBUG=y
93 -CONFIG_IPW2200=m
94 -CONFIG_IPW2200_MONITOR=y
95 -CONFIG_IPW2200_RADIOTAP=y
96 -CONFIG_IPW2200_PROMISCUOUS=y
97 -CONFIG_IPW2200_QOS=y
98 +# CONFIG_IPW2200=m
99 +# CONFIG_IPW2200_MONITOR=y
100 +# CONFIG_IPW2200_RADIOTAP=y
101 +# CONFIG_IPW2200_PROMISCUOUS=y
102 +# CONFIG_IPW2200_QOS=y
103 # CONFIG_IPW2200_DEBUG=y
104 # The above enables use a second interface prefixed 'rtap'.
105 # Example usage:
106 @@ -191,27 +191,27 @@ CONFIG_IPW2200_QOS=y
107 #
108 # % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface
109
110 -CONFIG_SSB_BLOCKIO=y
111 -CONFIG_SSB_PCIHOST_POSSIBLE=y
112 -CONFIG_SSB_PCIHOST=y
113 -CONFIG_SSB_B43_PCI_BRIDGE=y
114 -CONFIG_SSB_PCMCIAHOST_POSSIBLE=y
115 -CONFIG_SSB_PCMCIAHOST=y
116 +# CONFIG_SSB_BLOCKIO=y
117 +# CONFIG_SSB_PCIHOST_POSSIBLE=y
118 +# CONFIG_SSB_PCIHOST=y
119 +# CONFIG_SSB_B43_PCI_BRIDGE=y
120 +# CONFIG_SSB_PCMCIAHOST_POSSIBLE=y
121 +# CONFIG_SSB_PCMCIAHOST=y
122 # CONFIG_SSB_DEBUG=y
123 -CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
124 -CONFIG_SSB_DRIVER_PCICORE=y
125 +# CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
126 +# CONFIG_SSB_DRIVER_PCICORE=y
127
128 CONFIG_P54_PCI=m
129
130 -CONFIG_B44=m
131 -CONFIG_B44_PCI_AUTOSELECT=y
132 -CONFIG_B44_PCICORE_AUTOSELECT=y
133 -CONFIG_B44_PCI=y
134 +# CONFIG_B44=m
135 +# CONFIG_B44_PCI_AUTOSELECT=y
136 +# CONFIG_B44_PCICORE_AUTOSELECT=y
137 +# CONFIG_B44_PCI=y
138
139 -CONFIG_RTL8180=m
140 +# CONFIG_RTL8180=m
141
142 -CONFIG_ADM8211=m
143 -CONFIG_PCMCIA_ATMEL=m
144 +# CONFIG_ADM8211=m
145 +# CONFIG_PCMCIA_ATMEL=m
146
147 CONFIG_RT2X00_LIB_PCI=m
148 CONFIG_RT2400PCI=m
149 @@ -227,24 +227,24 @@ CONFIG_RT61PCI=m
150 NEED_RT2X00_FIRMWARE=y
151 endif
152
153 -CONFIG_ATMEL=m
154 -CONFIG_PCI_ATMEL=m
155 +# CONFIG_ATMEL=m
156 +# CONFIG_PCI_ATMEL=m
157
158 -CONFIG_MWL8K=m
159 +# CONFIG_MWL8K=m
160
161 endif
162 ## end of PCI
163
164 ifneq ($(CONFIG_PCMCIA),)
165
166 -CONFIG_LIBERTAS_CS=m
167 -NEED_LIBERTAS=y
168 +# CONFIG_LIBERTAS_CS=m
169 +# NEED_LIBERTAS=y
170
171 endif
172 ## end of PCMCIA
173
174 # This is required for some cards
175 -CONFIG_EEPROM_93CX6=m
176 +# CONFIG_EEPROM_93CX6=m
177
178 # USB Drivers
179 ifneq ($(CONFIG_USB),)
180 @@ -258,21 +258,21 @@ CONFIG_ZD1211RW=m
181 # is only wireless RNDIS chip known to date.
182 # Note: this depends on CONFIG_USB_NET_RNDIS_HOST and CONFIG_USB_NET_CDCETHER
183 # it also requires new RNDIS_HOST and CDC_ETHER modules which we add
184 -CONFIG_USB_NET_RNDIS_HOST=m
185 -CONFIG_USB_NET_RNDIS_WLAN=m
186 -CONFIG_USB_NET_CDCETHER=m
187 +# CONFIG_USB_NET_RNDIS_HOST=m
188 +# CONFIG_USB_NET_RNDIS_WLAN=m
189 +# CONFIG_USB_NET_CDCETHER=m
190
191
192 CONFIG_P54_USB=m
193 -CONFIG_RTL8187=m
194 +# CONFIG_RTL8187=m
195
196 -CONFIG_AT76C50X_USB=m
197 +# CONFIG_AT76C50X_USB=m
198
199 # Activate AR9170 support only on kernel >= 2.6.29.
200 # The needed USB poison feature was added in this kernel release.
201 ifeq ($(shell test $(KERNEL_SUBLEVEL) -ge 29 && echo yes),yes)
202 -CONFIG_AR9170_USB=m
203 -CONFIG_AR9170_LEDS=y
204 +# CONFIG_AR9170_USB=m
205 +# CONFIG_AR9170_LEDS=y
206 endif
207
208 # RT2500USB does not require firmware
209 @@ -286,24 +286,24 @@ CONFIG_RT73USB=m
210 NEED_RT2X00_FIRMWARE=y
211 endif
212
213 -CONFIG_LIBERTAS_THINFIRM_USB=m
214 -CONFIG_LIBERTAS_USB=m
215 -NEED_LIBERTAS=y
216 +# CONFIG_LIBERTAS_THINFIRM_USB=m
217 +# CONFIG_LIBERTAS_USB=m
218 +# NEED_LIBERTAS=y
219
220 endif # end of USB driver list
221
222 ifneq ($(CONFIG_SPI_MASTER),)
223
224 -CONFIG_WL12XX=m
225 -CONFIG_LIBERTAS_SPI=m
226 -NEED_LIBERTAS=y
227 +# CONFIG_WL12XX=m
228 +# CONFIG_LIBERTAS_SPI=m
229 +# NEED_LIBERTAS=y
230
231 endif # end of SPI driver list
232
233 ifneq ($(CONFIG_MMC),)
234
235 -CONFIG_LIBERTAS_SDIO=m
236 -NEED_LIBERTAS=y
237 +# CONFIG_LIBERTAS_SDIO=m
238 +# NEED_LIBERTAS=y
239
240 endif # end of SDIO driver list
241
242 @@ -333,13 +333,13 @@ CONFIG_ATH_COMMON=m
243
244
245 # Sonics Silicon Backplane
246 -CONFIG_SSB_POSSIBLE=y
247 -CONFIG_SSB=m
248 -CONFIG_SSB_SPROM=y
249 +# CONFIG_SSB_POSSIBLE=y
250 +# CONFIG_SSB=m
251 +# CONFIG_SSB_SPROM=y
252 # CONFIG_SSB_DEBUG=y
253
254 ifeq ($(NEED_LIBERTAS),y)
255 -CONFIG_LIBERTAS_THINFIRM=m
256 +# CONFIG_LIBERTAS_THINFIRM=m
257 CONFIG_LIBERTAS=m
258 # CONFIG_LIBERTAS_DEBUG=y
259 endif