417531f0043feb3c0c8308fe0f0fbf608fd1b12e
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 007-remove_unused_stuff.patch
1 Index: compat-wireless-2009-03-18/config.mk
2 ===================================================================
3 --- compat-wireless-2009-03-18.orig/config.mk 2009-03-20 17:10:09.000000000 +0100
4 +++ compat-wireless-2009-03-18/config.mk 2009-03-20 17:11:31.000000000 +0100
5 @@ -104,10 +104,10 @@ CONFIG_MAC80211_MESH=y
6 CONFIG_CFG80211=m
7 # CONFIG_CFG80211_REG_DEBUG=y
8
9 -CONFIG_LIB80211=m
10 -CONFIG_LIB80211_CRYPT_WEP=m
11 -CONFIG_LIB80211_CRYPT_CCMP=m
12 -CONFIG_LIB80211_CRYPT_TKIP=m
13 +# CONFIG_LIB80211=m
14 +# CONFIG_LIB80211_CRYPT_WEP=m
15 +# CONFIG_LIB80211_CRYPT_CCMP=m
16 +# CONFIG_LIB80211_CRYPT_TKIP=m
17 # CONFIG_LIB80211_DEBUG=y
18
19 CONFIG_NL80211=y
20 @@ -128,54 +128,54 @@ CONFIG_ATH9K=m
21 # CONFIG_ATH9K_DEBUG=y
22
23
24 -CONFIG_IWLWIFI=m
25 -CONFIG_IWLWIFI_LEDS=y
26 +# CONFIG_IWLWIFI=m
27 +# CONFIG_IWLWIFI_LEDS=y
28 # CONFIG_IWLWIFI_RFKILL=y
29 -CONFIG_IWLWIFI_SPECTRUM_MEASUREMENT=y
30 +# CONFIG_IWLWIFI_SPECTRUM_MEASUREMENT=y
31 # CONFIG_IWLWIFI_DEBUG=y
32 # CONFIG_IWLWIFI_DEBUGFS=y
33 -CONFIG_IWLAGN=m
34 -CONFIG_IWL4965=y
35 -CONFIG_IWL5000=y
36 -CONFIG_IWL3945=m
37 -CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y
38 +# CONFIG_IWLAGN=m
39 +# CONFIG_IWL4965=y
40 +# CONFIG_IWL5000=y
41 +# CONFIG_IWL3945=m
42 +# CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y
43
44
45 -CONFIG_B43=m
46 -CONFIG_B43_PCI_AUTOSELECT=y
47 -CONFIG_B43_PCICORE_AUTOSELECT=y
48 -CONFIG_B43_PCMCIA=y
49 -CONFIG_B43_PIO=y
50 -CONFIG_B43_LEDS=y
51 +# CONFIG_B43=m
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_PCI_AUTOSELECT=y
63 -CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
64 -CONFIG_B43LEGACY_LEDS=y
65 +# CONFIG_B43LEGACY=m
66 +# CONFIG_B43LEGACY_PCI_AUTOSELECT=y
67 +# CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
68 +# CONFIG_B43LEGACY_LEDS=y
69 # CONFIG_B43LEGACY_RFKILL=y
70 # CONFIG_B43LEGACY_DEBUG=y
71 CONFIG_B43LEGACY_DMA=y
72 -CONFIG_B43LEGACY_PIO=y
73 -CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
74 -# CONFIG_B43LEGACY_DMA_MODE=y
75 +# CONFIG_B43LEGACY_PIO=y
76 +# CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
77 +CONFIG_B43LEGACY_DMA_MODE=y
78 # CONFIG_B43LEGACY_PIO_MODE=y
79
80 # The Intel ipws
81 -CONFIG_LIBIPW=m
82 +# CONFIG_LIBIPW=m
83 # CONFIG_LIBIPW_DEBUG=y
84
85
86 -CONFIG_IPW2100=m
87 -CONFIG_IPW2100_MONITOR=y
88 +# CONFIG_IPW2100=m
89 +# CONFIG_IPW2100_MONITOR=y
90 # CONFIG_IPW2100_DEBUG=y
91 -CONFIG_IPW2200=m
92 -CONFIG_IPW2200_MONITOR=y
93 -CONFIG_IPW2200_RADIOTAP=y
94 -CONFIG_IPW2200_PROMISCUOUS=y
95 -CONFIG_IPW2200_QOS=y
96 +# CONFIG_IPW2200=m
97 +# CONFIG_IPW2200_MONITOR=y
98 +# CONFIG_IPW2200_RADIOTAP=y
99 +# CONFIG_IPW2200_PROMISCUOUS=y
100 +# CONFIG_IPW2200_QOS=y
101 # CONFIG_IPW2200_DEBUG=y
102 # The above enables use a second interface prefixed 'rtap'.
103 # Example usage:
104 @@ -190,27 +190,27 @@ CONFIG_IPW2200_QOS=y
105 #
106 # % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface
107
108 -CONFIG_SSB_BLOCKIO=y
109 -CONFIG_SSB_PCIHOST_POSSIBLE=y
110 -CONFIG_SSB_PCIHOST=y
111 -CONFIG_SSB_B43_PCI_BRIDGE=y
112 -CONFIG_SSB_PCMCIAHOST_POSSIBLE=y
113 -CONFIG_SSB_PCMCIAHOST=y
114 +# CONFIG_SSB_BLOCKIO=y
115 +# CONFIG_SSB_PCIHOST_POSSIBLE=y
116 +# CONFIG_SSB_PCIHOST=y
117 +# CONFIG_SSB_B43_PCI_BRIDGE=y
118 +# CONFIG_SSB_PCMCIAHOST_POSSIBLE=y
119 +# CONFIG_SSB_PCMCIAHOST=y
120 # CONFIG_SSB_DEBUG=y
121 -CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
122 -CONFIG_SSB_DRIVER_PCICORE=y
123 +# CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
124 +# CONFIG_SSB_DRIVER_PCICORE=y
125
126 CONFIG_P54_PCI=m
127
128 -CONFIG_B44=m
129 -CONFIG_B44_PCI_AUTOSELECT=y
130 -CONFIG_B44_PCICORE_AUTOSELECT=y
131 -CONFIG_B44_PCI=y
132 +# CONFIG_B44=m
133 +# CONFIG_B44_PCI_AUTOSELECT=y
134 +# CONFIG_B44_PCICORE_AUTOSELECT=y
135 +# CONFIG_B44_PCI=y
136
137 -CONFIG_RTL8180=m
138 +# CONFIG_RTL8180=m
139
140 -CONFIG_ADM8211=m
141 -CONFIG_PCMCIA_ATMEL=m
142 +# CONFIG_ADM8211=m
143 +# CONFIG_PCMCIA_ATMEL=m
144
145 CONFIG_RT2X00_LIB_PCI=m
146 CONFIG_RT2400PCI=m
147 @@ -226,16 +226,16 @@ CONFIG_RT61PCI=m
148 NEED_RT2X00_FIRMWARE=y
149 endif
150
151 -CONFIG_ATMEL=m
152 -CONFIG_PCI_ATMEL=m
153 +# CONFIG_ATMEL=m
154 +# CONFIG_PCI_ATMEL=m
155
156 -CONFIG_MWL8K=m
157 +# CONFIG_MWL8K=m
158
159 endif
160 ## end of PCI
161
162 # This is required for some cards
163 -CONFIG_EEPROM_93CX6=m
164 +# CONFIG_EEPROM_93CX6=m
165
166 # USB Drivers
167 ifneq ($(CONFIG_USB),)
168 @@ -249,15 +249,15 @@ CONFIG_ZD1211RW=m
169 # is only wireless RNDIS chip known to date.
170 # Note: this depends on CONFIG_USB_NET_RNDIS_HOST and CONFIG_USB_NET_CDCETHER
171 # it also requires new RNDIS_HOST and CDC_ETHER modules which we add
172 -CONFIG_USB_NET_RNDIS_HOST=m
173 -CONFIG_USB_NET_RNDIS_WLAN=m
174 -CONFIG_USB_NET_CDCETHER=m
175 +# CONFIG_USB_NET_RNDIS_HOST=m
176 +# CONFIG_USB_NET_RNDIS_WLAN=m
177 +# CONFIG_USB_NET_CDCETHER=m
178
179
180 CONFIG_P54_USB=m
181 -CONFIG_RTL8187=m
182 +# CONFIG_RTL8187=m
183
184 -CONFIG_AT76C50X_USB=m
185 +# CONFIG_AT76C50X_USB=m
186
187 # RT2500USB does not require firmware
188 CONFIG_RT2500USB=m
189 @@ -294,20 +294,20 @@ CONFIG_P54_COMMON=m
190
191
192 # Sonics Silicon Backplane
193 -CONFIG_SSB_POSSIBLE=y
194 -CONFIG_SSB=m
195 -CONFIG_SSB_SPROM=y
196 +# CONFIG_SSB_POSSIBLE=y
197 +# CONFIG_SSB=m
198 +# CONFIG_SSB_SPROM=y
199 # CONFIG_SSB_DEBUG=y
200
201 ifneq ($(CONFIG_USB),)
202 ifneq ($(CONFIG_LIBERTAS_THINFIRM_USB),m)
203 -CONFIG_LIBERTAS_USB=m
204 -NEED_LIBERTAS=y
205 +# CONFIG_LIBERTAS_USB=m
206 +# NEED_LIBERTAS=y
207 endif
208 endif
209 ifneq ($(CONFIG_PCMCIA),)
210 -CONFIG_LIBERTAS_CS=m
211 -NEED_LIBERTAS=y
212 +# CONFIG_LIBERTAS_CS=m
213 +# NEED_LIBERTAS=y
214 endif
215 ifeq ($(NEED_LIBERTAS),y)
216 CONFIG_LIBERTAS=m