aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/compat-wireless/compat-wireless-2.6-old/palmpre/config-disable-all-but-libertas-and-ieee80211.patch
blob: ee8cbd06f5287fc243ba27646cb2193d1a396b1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
From 44faa7d5f354b1d0e7fac1f13a432491bb62cc3e Mon Sep 17 00:00:00 2001
From: Ryan Hope <rmh3093@gmail.com>
Date: Mon, 6 Dec 2010 23:14:48 -0500
Subject: [PATCH 3/5] config.mk: disable everything but libertas and ieee80211 modules

---
 config.mk |  162 +++++++++++++++++++++++++++++-------------------------------
 1 files changed, 78 insertions(+), 84 deletions(-)

diff --git a/config.mk b/config.mk
index 8cb19c9..442f30c 100644
--- a/config.mk
+++ b/config.mk
@@ -7,14 +7,14 @@ export
 ifeq ($(wildcard $(KLIB_BUILD)/.config),)
 # These will be ignored by compat autoconf
  CONFIG_PCI=y
- CONFIG_USB=y
- CONFIG_PCMCIA=y
+ CONFIG_USB=n
+ CONFIG_PCMCIA=n
 else
 include $(KLIB_BUILD)/.config
 endif
 
 # Wireless subsystem stuff
-CONFIG_MAC80211=m
+CONFIG_MAC80211=n
 
 # Enable QOS for 2.6.22, we'll do some hacks here to enable it.
 # You will need this for HT support (802.11n) and WME (802.11e).
@@ -51,7 +51,7 @@ ifeq ($(QOS_REQS_MISSING),) # if our dependencies match for MAC80211_QOS
 ifneq ($(CONFIG_MAC80211_QOS),) # Your kernel has CONFIG_MAC80211_QOS defined already, too bad
 $(error "ERROR: CONFIG_MAC80211_QOS is somehow enabled in your kernel, how did that happen if it wasn't an option in your kernel? Please report this to the linux-wireless mailing list!")
 endif
-CONFIG_MAC80211_QOS=y
+CONFIG_MAC80211_QOS=n
 else
 # Complain about our missing dependencies, at this point we know
 # CONFIG_MAC80211_QOS is not enabled by this kernel so
@@ -73,21 +73,21 @@ endif # kernel release check
 endif # kernel Makefile check
 
 CONFIG_MAC80211_RC_DEFAULT=pid
-CONFIG_MAC80211_RC_PID=y
+CONFIG_MAC80211_RC_PID=n
 
 # enable mesh networking too
-CONFIG_MAC80211_MESH=y
+CONFIG_MAC80211_MESH=n
 
-CONFIG_CFG80211=m
-CONFIG_NL80211=y
+CONFIG_CFG80211=n
+CONFIG_NL80211=n
 
 # mac80211 test driver
-CONFIG_MAC80211_HWSIM=m
+CONFIG_MAC80211_HWSIM=n
 
 # PCI Drivers
 ifneq ($(CONFIG_PCI),)
 
-CONFIG_ATH5K=m
+CONFIG_ATH5K=n
 CONFIG_ATH5K_DEBUG=n
 
 # For now we build ath9k only on kernel 2.6.26
@@ -95,57 +95,57 @@ ifeq ($(shell test -e $(KLIB_BUILD)/Makefile && echo yes),yes)
 KERNEL_SUBLEVEL = $(shell $(MAKE) -C $(KLIB_BUILD) kernelversion | sed -n 's/^2\.6\.\([0-9]\+\).*/\1/p')
 ifeq ($(shell test $(KERNEL_SUBLEVEL) -gt 25 && echo yes),yes)
 endif
-CONFIG_ATH9K=m
+CONFIG_ATH9K=n
 endif
 
 # Required for older kernels which still use this flag.
 
-CONFIG_IWL3945=m
+CONFIG_IWL3945=n
 CONFIG_IWL3945_DEBUG=n
-CONFIG_IWL3945_LEDS=y
+CONFIG_IWL3945_LEDS=n
 # CONFIG_IWL3945_RFKILL=y
-CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y
-CONFIG_IWL4965=y
-CONFIG_IWL5000=y
-CONFIG_IWLAGN=m
-CONFIG_IWLAGN_LEDS=y
-CONFIG_IWLAGN_SPECTRUM_MEASUREMENT=y
-CONFIG_IWLCORE=m
-CONFIG_IWLWIFI=m
+CONFIG_IWL3945_SPECTRUM_MEASUREMENT=n
+CONFIG_IWL4965=n
+CONFIG_IWL5000=n
+CONFIG_IWLAGN=n
+CONFIG_IWLAGN_LEDS=n
+CONFIG_IWLAGN_SPECTRUM_MEASUREMENT=n
+CONFIG_IWLCORE=n
+CONFIG_IWLWIFI=n
 CONFIG_IWLWIFI_DEBUG=n
-CONFIG_IWLWIFI_LEDS=y
+CONFIG_IWLWIFI_LEDS=n
 # CONFIG_IWLWIFI_RFKILL=y
 
-CONFIG_B43=m
+CONFIG_B43=n
 # B43 uses PCMCIA only for Compact Flash. The Cardbus cards uses PCI
 # Example, bcm4318:
 # http://www.multicap.biz/wireless-lan/indoor-wlan-hardware/sdc-cf10g-80211g-compact-flash-module
 ifneq ($(CONFIG_PCMCIA),)
-CONFIG_B43_PCMCIA=y
+CONFIG_B43_PCMCIA=n
 endif
-CONFIG_B43_PIO=y
+CONFIG_B43_PIO=n
 # B43_PIO selects SSB_BLOCKIO
-CONFIG_SSB_BLOCKIO=y
-CONFIG_B43_PCI_AUTOSELECT=y
+CONFIG_SSB_BLOCKIO=n
+CONFIG_B43_PCI_AUTOSELECT=n
 # CONFIG_B43_RFKILL=y
-CONFIG_B43_LEDS=y
-CONFIG_B43_PHY_LP=y
-CONFIG_B43_NPHY=y
+CONFIG_B43_LEDS=n
+CONFIG_B43_PHY_LP=n
+CONFIG_B43_NPHY=n
 CONFIG_B43_DEBUG=n
 
-CONFIG_B43LEGACY=m
-CONFIG_B43LEGACY_PCI_AUTOSELECT=y
-CONFIG_B43LEGACY_DMA=y
-CONFIG_B43LEGACY_PIO=y
+CONFIG_B43LEGACY=n
+CONFIG_B43LEGACY_PCI_AUTOSELECT=n
+CONFIG_B43LEGACY_DMA=n
+CONFIG_B43LEGACY_PIO=n
 
 # The Intel ipws
-CONFIG_IPW2100=m
+CONFIG_IPW2100=n
 CONFIG_IPW2100_DEBUG=n
-CONFIG_IPW2100_MONITOR=y
-CONFIG_IPW2200=m
-CONFIG_IPW2200_MONITOR=y
-CONFIG_IPW2200_RADIOTAP=y
-CONFIG_IPW2200_PROMISCUOUS=y
+CONFIG_IPW2100_MONITOR=n
+CONFIG_IPW2200=n
+CONFIG_IPW2200_MONITOR=n
+CONFIG_IPW2200_RADIOTAP=n
+CONFIG_IPW2200_PROMISCUOUS=n
 # The above enables use a second interface prefixed 'rtap'.
 #           Example usage:
 #
@@ -158,49 +158,49 @@ CONFIG_IPW2200_PROMISCUOUS=y
 # it on via sysfs:
 #
 # % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface
-CONFIG_IPW2200_QOS=y
+CONFIG_IPW2200_QOS=n
 
-NEED_IEEE80211=y
+NEED_IEEE80211=n
 
-CONFIG_P54_PCI=m
+CONFIG_P54_PCI=n
 
-CONFIG_SSB_PCIHOST=y
-CONFIG_SSB_DRIVER_PCICORE=y
-CONFIG_SSB_B43_PCI_BRIDGE=y
+CONFIG_SSB_PCIHOST=n
+CONFIG_SSB_DRIVER_PCICORE=n
+CONFIG_SSB_B43_PCI_BRIDGE=n
 ifeq ($(shell test $(KERNEL_SUBLEVEL) -gt 22 && echo yes),yes)
 # b44 is not ported to 2.6.22
-CONFIG_B44=m
+CONFIG_B44=n
 endif
 
-CONFIG_RTL8180=m
-CONFIG_ADM8211=m
+CONFIG_RTL8180=n
+CONFIG_ADM8211=n
 
-CONFIG_RT2X00_LIB_PCI=m
-CONFIG_RT2400PCI=m
-CONFIG_RT2500PCI=m
-NEED_RT2X00=y
+CONFIG_RT2X00_LIB_PCI=n
+CONFIG_RT2400PCI=n
+CONFIG_RT2500PCI=n
+NEED_RT2X00=n
 
 # Two rt2x00 drivers require firmware: rt61pci and rt73usb. They depend on
 # CRC to check the firmware. We check here first for the PCI
 # driver as we're in the PCI section.
 ifneq ($(CONFIG_CRC_ITU_T),)
-CONFIG_RT61PCI=m
-NEED_RT2X00_FIRMWARE=y
+CONFIG_RT61PCI=n
+NEED_RT2X00_FIRMWARE=n
 endif
 
 endif
 ## end of PCI
 
 # This is required for some cards
-CONFIG_EEPROM_93CX6=m
+CONFIG_EEPROM_93CX6=n
 
 # USB Drivers
 ifneq ($(CONFIG_USB),)
-CONFIG_ZD1211RW=m
+CONFIG_ZD1211RW=n
 
 # support for USB Wireless devices using Atmel at76c503,
 # at76c505 or at76c505a chips.
-CONFIG_USB_ATMEL=m
+CONFIG_USB_ATMEL=n
 
 # Stuff here things which depend on kernel versions for USB
 ifeq ($(shell test -e $(KLIB_BUILD)/Makefile && echo yes),yes)
@@ -214,57 +214,57 @@ ifeq ($(shell test $(KERNEL_SUBLEVEL) -gt 21 && echo yes),yes)
 # is only wireless RNDIS chip known to date.
 # Note: this depends on CONFIG_USB_NET_RNDIS_HOST and CONFIG_USB_NET_CDCETHER
 # it also requires new RNDIS_HOST and CDC_ETHER modules which we add
-CONFIG_USB_NET_RNDIS_HOST=m
-CONFIG_USB_NET_RNDIS_WLAN=m
-CONFIG_USB_NET_CDCETHER=m
+CONFIG_USB_NET_RNDIS_HOST=n
+CONFIG_USB_NET_RNDIS_WLAN=n
+CONFIG_USB_NET_CDCETHER=n
 
 endif
 endif
 
-CONFIG_P54_USB=m
-CONFIG_RTL8187=m
+CONFIG_P54_USB=n
+CONFIG_RTL8187=n
 
 # RT2500USB does not require firmware
-CONFIG_RT2500USB=m
-CONFIG_RT2X00_LIB_USB=m
-NEED_RT2X00=y
+CONFIG_RT2500USB=n
+CONFIG_RT2X00_LIB_USB=n
+NEED_RT2X00=n
 # RT73USB requires firmware
 ifneq ($(CONFIG_CRC_ITU_T),)
-CONFIG_RT73USB=m
-NEED_RT2X00_FIRMWARE=y
+CONFIG_RT73USB=n
+NEED_RT2X00_FIRMWARE=n
 endif
 
 # we're in kernel >= 2.6.24, this has been only tested on 2.6.24.
 # If you add/test backport to older kernels please expand reduce this
 # or remove it if its backported down to 2.6.22 or 2.6.21.
 ifeq ($(shell test $(KERNEL_SUBLEVEL) -gt 23 && echo yes),yes)
-CONFIG_AR9170=m
+CONFIG_AR9170=n
 endif
 
 endif # end of USB driver list
 
 # Common rt2x00 requirements
 ifeq ($(NEED_RT2X00),y)
-CONFIG_RT2X00=m
-CONFIG_RT2X00_LIB=m
+CONFIG_RT2X00=n
+CONFIG_RT2X00_LIB=n
 # CONFIG_RT2X00_LIB_DEBUGFS is not set
 # CONFIG_RT2X00_DEBUG is not set
 endif
 
 ifeq ($(NEED_RT2X00_FIRMWARE),y)
-CONFIG_RT2X00_LIB_FIRMWARE=y
+CONFIG_RT2X00_LIB_FIRMWARE=n
 endif
 
 # p54
-CONFIG_P54_COMMON=m
+CONFIG_P54_COMMON=n
 
 # Sonics Silicon Backplane
-CONFIG_SSB_POSSIBLE=y
-CONFIG_SSB=m
-CONFIG_SSB_SPROM=y
+CONFIG_SSB_POSSIBLE=n
+CONFIG_SSB=n
+CONFIG_SSB_SPROM=n
 
 ifneq ($(CONFIG_PCMCIA),)
-CONFIG_SSB_PCMCIAHOST=y
+CONFIG_SSB_PCMCIAHOST=n
 endif
 
 # These two are for mips
@@ -273,14 +273,8 @@ CONFIG_SSB_PCICORE_HOSTMODE=n
 # CONFIG_SSB_DEBUG is not set
 # CONFIG_SSB_DRIVER_EXTIF=y
 
-ifneq ($(CONFIG_USB),)
-CONFIG_LIBERTAS_USB=m
+CONFIG_LIBERTAS_SDIO=m
 NEED_LIBERTAS=y
-endif
-ifneq ($(CONFIG_PCMCIA),)
-CONFIG_LIBERTAS_CS=m
-NEED_LIBERTAS=y
-endif
 ifeq ($(NEED_LIBERTAS),y)
 CONFIG_LIBERTAS=m
 # Libertas uses the old stack but not fully, it will soon 
-- 
1.7.1