[mac80211] update compat-wireless to 2009-03-24
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 007-remove_unused_stuff.patch
1 --- a/config.mk
2 +++ b/config.mk
3 @@ -104,10 +104,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_NL80211=y
18 @@ -128,54 +128,54 @@ 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_PCI_AUTOSELECT=y
45 -CONFIG_B43_PCICORE_AUTOSELECT=y
46 -CONFIG_B43_PCMCIA=y
47 -CONFIG_B43_PIO=y
48 -CONFIG_B43_LEDS=y
49 +# CONFIG_B43=m
50 +# CONFIG_B43_PCI_AUTOSELECT=y
51 +# CONFIG_B43_PCICORE_AUTOSELECT=y
52 +# CONFIG_B43_PCMCIA=y
53 +# CONFIG_B43_PIO=y
54 +# CONFIG_B43_LEDS=y
55 # CONFIG_B43_RFKILL=y
56 # CONFIG_B43_DEBUG=y
57 # CONFIG_B43_FORCE_PIO=y
58
59 -CONFIG_B43LEGACY=m
60 -CONFIG_B43LEGACY_PCI_AUTOSELECT=y
61 -CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
62 -CONFIG_B43LEGACY_LEDS=y
63 +# CONFIG_B43LEGACY=m
64 +# CONFIG_B43LEGACY_PCI_AUTOSELECT=y
65 +# CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
66 +# CONFIG_B43LEGACY_LEDS=y
67 # CONFIG_B43LEGACY_RFKILL=y
68 # CONFIG_B43LEGACY_DEBUG=y
69 CONFIG_B43LEGACY_DMA=y
70 -CONFIG_B43LEGACY_PIO=y
71 -CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
72 -# CONFIG_B43LEGACY_DMA_MODE=y
73 +# CONFIG_B43LEGACY_PIO=y
74 +# CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
75 +CONFIG_B43LEGACY_DMA_MODE=y
76 # CONFIG_B43LEGACY_PIO_MODE=y
77
78 # The Intel ipws
79 -CONFIG_LIBIPW=m
80 +# CONFIG_LIBIPW=m
81 # CONFIG_LIBIPW_DEBUG=y
82
83
84 -CONFIG_IPW2100=m
85 -CONFIG_IPW2100_MONITOR=y
86 +# CONFIG_IPW2100=m
87 +# CONFIG_IPW2100_MONITOR=y
88 # CONFIG_IPW2100_DEBUG=y
89 -CONFIG_IPW2200=m
90 -CONFIG_IPW2200_MONITOR=y
91 -CONFIG_IPW2200_RADIOTAP=y
92 -CONFIG_IPW2200_PROMISCUOUS=y
93 -CONFIG_IPW2200_QOS=y
94 +# CONFIG_IPW2200=m
95 +# CONFIG_IPW2200_MONITOR=y
96 +# CONFIG_IPW2200_RADIOTAP=y
97 +# CONFIG_IPW2200_PROMISCUOUS=y
98 +# CONFIG_IPW2200_QOS=y
99 # CONFIG_IPW2200_DEBUG=y
100 # The above enables use a second interface prefixed 'rtap'.
101 # Example usage:
102 @@ -190,27 +190,27 @@ CONFIG_IPW2200_QOS=y
103 #
104 # % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface
105
106 -CONFIG_SSB_BLOCKIO=y
107 -CONFIG_SSB_PCIHOST_POSSIBLE=y
108 -CONFIG_SSB_PCIHOST=y
109 -CONFIG_SSB_B43_PCI_BRIDGE=y
110 -CONFIG_SSB_PCMCIAHOST_POSSIBLE=y
111 -CONFIG_SSB_PCMCIAHOST=y
112 +# CONFIG_SSB_BLOCKIO=y
113 +# CONFIG_SSB_PCIHOST_POSSIBLE=y
114 +# CONFIG_SSB_PCIHOST=y
115 +# CONFIG_SSB_B43_PCI_BRIDGE=y
116 +# CONFIG_SSB_PCMCIAHOST_POSSIBLE=y
117 +# CONFIG_SSB_PCMCIAHOST=y
118 # CONFIG_SSB_DEBUG=y
119 -CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
120 -CONFIG_SSB_DRIVER_PCICORE=y
121 +# CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
122 +# CONFIG_SSB_DRIVER_PCICORE=y
123
124 CONFIG_P54_PCI=m
125
126 -CONFIG_B44=m
127 -CONFIG_B44_PCI_AUTOSELECT=y
128 -CONFIG_B44_PCICORE_AUTOSELECT=y
129 -CONFIG_B44_PCI=y
130 +# CONFIG_B44=m
131 +# CONFIG_B44_PCI_AUTOSELECT=y
132 +# CONFIG_B44_PCICORE_AUTOSELECT=y
133 +# CONFIG_B44_PCI=y
134
135 -CONFIG_RTL8180=m
136 +# CONFIG_RTL8180=m
137
138 -CONFIG_ADM8211=m
139 -CONFIG_PCMCIA_ATMEL=m
140 +# CONFIG_ADM8211=m
141 +# CONFIG_PCMCIA_ATMEL=m
142
143 CONFIG_RT2X00_LIB_PCI=m
144 CONFIG_RT2400PCI=m
145 @@ -226,16 +226,16 @@ CONFIG_RT61PCI=m
146 NEED_RT2X00_FIRMWARE=y
147 endif
148
149 -CONFIG_ATMEL=m
150 -CONFIG_PCI_ATMEL=m
151 +# CONFIG_ATMEL=m
152 +# CONFIG_PCI_ATMEL=m
153
154 -CONFIG_MWL8K=m
155 +# CONFIG_MWL8K=m
156
157 endif
158 ## end of PCI
159
160 # This is required for some cards
161 -CONFIG_EEPROM_93CX6=m
162 +# CONFIG_EEPROM_93CX6=m
163
164 # USB Drivers
165 ifneq ($(CONFIG_USB),)
166 @@ -249,22 +249,22 @@ CONFIG_ZD1211RW=m
167 # is only wireless RNDIS chip known to date.
168 # Note: this depends on CONFIG_USB_NET_RNDIS_HOST and CONFIG_USB_NET_CDCETHER
169 # it also requires new RNDIS_HOST and CDC_ETHER modules which we add
170 -CONFIG_USB_NET_RNDIS_HOST=m
171 -CONFIG_USB_NET_RNDIS_WLAN=m
172 -CONFIG_USB_NET_CDCETHER=m
173 +# CONFIG_USB_NET_RNDIS_HOST=m
174 +# CONFIG_USB_NET_RNDIS_WLAN=m
175 +# CONFIG_USB_NET_CDCETHER=m
176
177
178 CONFIG_P54_USB=m
179 -CONFIG_RTL8187=m
180 +# CONFIG_RTL8187=m
181
182 -CONFIG_AT76C50X_USB=m
183 +# CONFIG_AT76C50X_USB=m
184
185 # Activate AR9170 support only on kernel >= 2.6.28.
186 # The needed USB poison feature was added in this kernel release.
187 ifeq ($(shell test $(KERNEL_SUBLEVEL) -ge 28 && echo yes),yes)
188 -CONFIG_AR9170_COMMON=m
189 -CONFIG_AR9170_USB=m
190 -CONFIG_AR9170_LEDS=y
191 +# CONFIG_AR9170_COMMON=m
192 +# CONFIG_AR9170_USB=m
193 +# CONFIG_AR9170_LEDS=y
194 endif
195
196 # RT2500USB does not require firmware
197 @@ -302,20 +302,20 @@ CONFIG_P54_COMMON=m
198
199
200 # Sonics Silicon Backplane
201 -CONFIG_SSB_POSSIBLE=y
202 -CONFIG_SSB=m
203 -CONFIG_SSB_SPROM=y
204 +# CONFIG_SSB_POSSIBLE=y
205 +# CONFIG_SSB=m
206 +# CONFIG_SSB_SPROM=y
207 # CONFIG_SSB_DEBUG=y
208
209 ifneq ($(CONFIG_USB),)
210 ifneq ($(CONFIG_LIBERTAS_THINFIRM_USB),m)
211 -CONFIG_LIBERTAS_USB=m
212 -NEED_LIBERTAS=y
213 +# CONFIG_LIBERTAS_USB=m
214 +# NEED_LIBERTAS=y
215 endif
216 endif
217 ifneq ($(CONFIG_PCMCIA),)
218 -CONFIG_LIBERTAS_CS=m
219 -NEED_LIBERTAS=y
220 +# CONFIG_LIBERTAS_CS=m
221 +# NEED_LIBERTAS=y
222 endif
223 ifeq ($(NEED_LIBERTAS),y)
224 CONFIG_LIBERTAS=m