-
Notifications
You must be signed in to change notification settings - Fork 12
/
0002-choose-rt2x00-and-zd1211rw.patch
874 lines (863 loc) · 29.4 KB
/
0002-choose-rt2x00-and-zd1211rw.patch
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
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
From c9e745f5567f2792b2a3fa32bac7c5fca2fc39f5 Mon Sep 17 00:00:00 2001
From: Julien Massot <jmassot@aldebaran-robotics.com>
Date: Tue, 26 Jul 2011 12:29:37 +0000
Subject: [PATCH 2/2] choose rt2x00 and zd1211rw
---
Makefile | 4 -
drivers/net/Makefile | 6 +-
drivers/net/wireless/Makefile | 43 ---
drivers/ssb/Makefile | 22 --
include/linux/compat_autoconf.h | 717 +++++++++++++++++++++++++++++++++++++--
net/wireless/Makefile | 4 -
6 files changed, 686 insertions(+), 110 deletions(-)
diff --git a/Makefile b/Makefile
index 9e97b50..aa75e81 100644
--- a/Makefile
+++ b/Makefile
@@ -27,14 +27,11 @@ ifeq ($(BT),)
obj-$(CONFIG_COMPAT_WIRELESS) += net/wireless/ net/mac80211/
obj-$(CONFIG_COMPAT_WIRELESS_MODULES) += drivers/net/wireless/
-obj-$(CONFIG_COMPAT_NET_USB_MODULES) += drivers/net/usb/
obj-$(CONFIG_COMPAT_NETWORK_MODULES) += drivers/net/
obj-$(CONFIG_COMPAT_VAR_MODULES) += drivers/ssb/ drivers/misc/eeprom/
ifeq ($(CONFIG_STAGING_EXCLUDE_BUILD),)
-obj-$(CONFIG_COMPAT_STAGING) += drivers/staging/ath6kl/
-obj-$(CONFIG_COMPAT_STAGING) += drivers/staging/brcm80211/
endif
endif
@@ -162,7 +159,6 @@ install: uninstall install-modules install-scripts
install-modules: modules
$(MAKE) -C $(KLIB_BUILD) M=$(PWD) $(KMODDIR_ARG) $(KMODPATH_ARG) \
modules_install
- @./scripts/update-initramfs
install-scripts:
@# All the scripts we can use
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index c784ef1..139597f 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -1,6 +1,2 @@
-obj-$(CONFIG_B44) += b44.o
-obj-$(CONFIG_ATL1) += atlx/
-obj-$(CONFIG_ATL2) += atlx/
-obj-$(CONFIG_ATL1E) += atl1e/
-obj-$(CONFIG_ATL1C) += atl1c/
+
diff --git a/drivers/net/wireless/Makefile b/drivers/net/wireless/Makefile
index 7a346a8..30f9327 100644
--- a/drivers/net/wireless/Makefile
+++ b/drivers/net/wireless/Makefile
@@ -1,45 +1,2 @@
-#
-# Makefile for the Linux Wireless network device drivers.
-#
-
-obj-$(CONFIG_IPW2100) += ipw2x00/
-obj-$(CONFIG_IPW2200) += ipw2x00/
-
-obj-$(CONFIG_HERMES) += orinoco/
-
-obj-$(CONFIG_AT76C50X_USB) += at76c50x-usb.o
-
-obj-$(CONFIG_B43) += b43/
-obj-$(CONFIG_B43LEGACY) += b43legacy/
obj-$(CONFIG_COMPAT_ZD1211RW) += zd1211rw/
-obj-$(CONFIG_RTL8180) += rtl818x/
-obj-$(CONFIG_RTL8187) += rtl818x/
-obj-$(CONFIG_RTLWIFI) += rtlwifi/
-
-obj-$(CONFIG_USB_NET_COMPAT_RNDIS_WLAN) += rndis_wlan.o
-
-obj-$(CONFIG_LIBERTAS) += libertas/
-
-obj-$(CONFIG_LIBERTAS_THINFIRM) += libertas_tf/
-
-obj-$(CONFIG_ADM8211) += adm8211.o
-
-obj-$(CONFIG_MWL8K) += mwl8k.o
-
-obj-$(CONFIG_IWLAGN) += iwlwifi/
-obj-$(CONFIG_IWLWIFI_LEGACY) += iwlegacy/
obj-$(CONFIG_RT2X00) += rt2x00/
-
-obj-$(CONFIG_P54_COMMON) += p54/
-
-obj-$(CONFIG_ATH_COMMON) += ath/
-
-obj-$(CONFIG_MAC80211_HWSIM) += mac80211_hwsim.o
-
-obj-$(CONFIG_WL1251) += wl1251/
-obj-$(CONFIG_WL12XX) += wl12xx/
-obj-$(CONFIG_WL12XX_PLATFORM_DATA) += wl12xx/
-
-obj-$(CONFIG_IWM) += iwmc3200wifi/
-
-obj-$(CONFIG_MWIFIEX) += mwifiex/
diff --git a/drivers/ssb/Makefile b/drivers/ssb/Makefile
index 656e58b..8b13789 100644
--- a/drivers/ssb/Makefile
+++ b/drivers/ssb/Makefile
@@ -1,23 +1 @@
-# core
-ssb-y += main.o scan.o
-ssb-$(CONFIG_SSB_EMBEDDED) += embedded.o
-ssb-$(CONFIG_SSB_SPROM) += sprom.o
-# host support
-ssb-$(CONFIG_SSB_PCIHOST) += pci.o pcihost_wrapper.o
-ssb-$(CONFIG_SSB_PCMCIAHOST) += pcmcia.o
-ssb-$(CONFIG_SSB_SDIOHOST) += sdio.o
-
-# built-in drivers
-ssb-y += driver_chipcommon.o
-ssb-y += driver_chipcommon_pmu.o
-ssb-$(CONFIG_SSB_DRIVER_MIPS) += driver_mipscore.o
-ssb-$(CONFIG_SSB_DRIVER_EXTIF) += driver_extif.o
-ssb-$(CONFIG_SSB_DRIVER_PCICORE) += driver_pcicore.o
-ssb-$(CONFIG_SSB_DRIVER_GIGE) += driver_gige.o
-
-# b43 pci-ssb-bridge driver
-# Not strictly a part of SSB, but kept here for convenience
-ssb-$(CONFIG_SSB_B43_PCI_BRIDGE) += b43_pci_bridge.o
-
-obj-$(CONFIG_SSB) += ssb.o
diff --git a/include/linux/compat_autoconf.h b/include/linux/compat_autoconf.h
index 813755c..7dba8fe 100644
--- a/include/linux/compat_autoconf.h
+++ b/include/linux/compat_autoconf.h
@@ -1,37 +1,690 @@
#ifndef COMPAT_AUTOCONF_INCLUDED
#define COMPAT_AUTOCONF_INCLUDED
-
/*
- * This is an example of a compat autconf header file that gets
- * automatically generated by your projet. You will only need this
- * if you are working with a lot of config options.
- *
- * Your project will likely just override this, or leave this as-is.
+ * Automatically generated C config: don't edit
+ * mardi 26 juillet 2011, 09:07:29 (UTC+0000)
+ * compat-wireless-2.6: compat-wireless-v3.0-rc4-1
+ * linux-2.6: v3.0-rc4
*/
-
-/*
- * Example automatically generated C config: don't edit
- * Thu Dec 10 10:34:11 PST 2009
- * compat-wireless-2.6: master-2009-11-19-5-gb4fd4dd
- * linux-2.6: next-20091208
- */
-//#define COMPAT_PROJECT_FOO_RELEASE "master-2009-11-19-5-gb4fd4dd"
-//#define COMPAT_UPSTREAM_FOO_KERNEL_RELEASE "next-20091208"
-
-/* Example kernel version minimum requirement */
-//#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10))
-//#error Compat-wireless requirement: Linux >= 2,6,10
-//#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) */
-
-/* Example hard requirement */
-//#error Compat-wireless requirement: CONFIG_WIRELESS_EXT must be enabled in your kernel
-//#endif /* CONFIG_WIRELESS_EXT */
-
-/*
- * Example of how to match your external modules kconfig options into this.
- * You'll need something to generate this for you.
- */
-//#ifndef CONFIG_FOO_BAR
-//#define CONFIG_FOO_BAR 1
-
+#define COMPAT_RELEASE "compat-wireless-v3.0-rc4-1"
+#define COMPAT_KERNEL_RELEASE "v3.0-rc4"
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24))
+#error Compat-wireless requirement: Linux >= 2,6,24
+#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24) */
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24))
+#endif /* CONFIG_COMPAT_KERNEL_2_6_24 */
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27))
+#endif /* CONFIG_COMPAT_KERNEL_2_6_27 */
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
+#if defined(CONFIG_FW_LOADER) || defined(CONFIG_FW_LOADER_MODULE)
+#endif /* CONFIG_FW_LOADER */
+#endif /* CONFIG_COMPAT_KERNEL_2_6_33 */
+#ifndef CONFIG_MAC80211
+#define CONFIG_MAC80211 1
+#endif /* CONFIG_MAC80211 */
+#ifndef CONFIG_MAC80211_RC_DEFAULT
+#define CONFIG_MAC80211_RC_DEFAULT "minstrel_ht"
+#endif /* CONFIG_MAC80211_RC_DEFAULT */
+#ifndef CONFIG_MAC80211_RC_DEFAULT_MINSTREL
+#define CONFIG_MAC80211_RC_DEFAULT_MINSTREL 1
+#endif /* CONFIG_MAC80211_RC_DEFAULT_MINSTREL */
+#ifndef CONFIG_COMPAT_MAC80211_RC_DEFAULT
+#define CONFIG_COMPAT_MAC80211_RC_DEFAULT "minstrel_ht"
+#endif /* CONFIG_COMPAT_MAC80211_RC_DEFAULT */
+#ifndef CONFIG_MAC80211_RC_PID
+#define CONFIG_MAC80211_RC_PID 1
+#endif /* CONFIG_MAC80211_RC_PID */
+#ifndef CONFIG_MAC80211_RC_MINSTREL
+#define CONFIG_MAC80211_RC_MINSTREL 1
+#endif /* CONFIG_MAC80211_RC_MINSTREL */
+#ifndef CONFIG_MAC80211_RC_MINSTREL_HT
+#define CONFIG_MAC80211_RC_MINSTREL_HT 1
+#endif /* CONFIG_MAC80211_RC_MINSTREL_HT */
+#if defined(CONFIG_LEDS_TRIGGERS) || defined(CONFIG_LEDS_TRIGGERS_MODULE)
+#ifndef CONFIG_MAC80211_LEDS
+#define CONFIG_MAC80211_LEDS 1
+#endif /* CONFIG_MAC80211_LEDS */
+#endif /* CONFIG_LEDS_TRIGGERS */
+#ifndef CONFIG_MAC80211_MESH
+#define CONFIG_MAC80211_MESH 1
+#endif /* CONFIG_MAC80211_MESH */
+#ifndef CONFIG_CFG80211
+#define CONFIG_CFG80211 1
+#endif /* CONFIG_CFG80211 */
+#ifndef CONFIG_CFG80211_DEFAULT_PS
+#define CONFIG_CFG80211_DEFAULT_PS 1
+#endif /* CONFIG_CFG80211_DEFAULT_PS */
+#ifndef CONFIG_LIB80211
+#define CONFIG_LIB80211 1
+#endif /* CONFIG_LIB80211 */
+#ifndef CONFIG_LIB80211_CRYPT_WEP
+#define CONFIG_LIB80211_CRYPT_WEP 1
+#endif /* CONFIG_LIB80211_CRYPT_WEP */
+#ifndef CONFIG_LIB80211_CRYPT_CCMP
+#define CONFIG_LIB80211_CRYPT_CCMP 1
+#endif /* CONFIG_LIB80211_CRYPT_CCMP */
+#ifndef CONFIG_LIB80211_CRYPT_TKIP
+#define CONFIG_LIB80211_CRYPT_TKIP 1
+#endif /* CONFIG_LIB80211_CRYPT_TKIP */
+#ifndef CONFIG_BT
+#define CONFIG_BT 1
+#endif /* CONFIG_BT */
+#ifndef CONFIG_COMPAT_BT_L2CAP
+#define CONFIG_COMPAT_BT_L2CAP 1
+#endif /* CONFIG_COMPAT_BT_L2CAP */
+#ifndef CONFIG_COMPAT_BT_SCO
+#define CONFIG_COMPAT_BT_SCO 1
+#endif /* CONFIG_COMPAT_BT_SCO */
+#ifndef CONFIG_BT_RFCOMM
+#define CONFIG_BT_RFCOMM 1
+#endif /* CONFIG_BT_RFCOMM */
+#ifndef CONFIG_BT_RFCOMM_TTY
+#define CONFIG_BT_RFCOMM_TTY 1
+#endif /* CONFIG_BT_RFCOMM_TTY */
+#ifndef CONFIG_BT_BNEP
+#define CONFIG_BT_BNEP 1
+#endif /* CONFIG_BT_BNEP */
+#ifndef CONFIG_BT_BNEP_MC_FILTER
+#define CONFIG_BT_BNEP_MC_FILTER 1
+#endif /* CONFIG_BT_BNEP_MC_FILTER */
+#ifndef CONFIG_BT_BNEP_PROTO_FILTER
+#define CONFIG_BT_BNEP_PROTO_FILTER 1
+#endif /* CONFIG_BT_BNEP_PROTO_FILTER */
+#if defined(CONFIG_ISDN_CAPI) || defined(CONFIG_ISDN_CAPI_MODULE)
+#ifndef CONFIG_BT_CMTP
+#define CONFIG_BT_CMTP 1
+#endif /* CONFIG_BT_CMTP */
+#endif /* CONFIG_ISDN_CAPI */
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28))
+#ifndef CONFIG_COMPAT_BT_HIDP
+#define CONFIG_COMPAT_BT_HIDP 1
+#endif /* CONFIG_COMPAT_BT_HIDP */
+#endif /* CONFIG_COMPAT_KERNEL_2_6_28 */
+#ifndef CONFIG_BT_HCIUART
+#define CONFIG_BT_HCIUART "M"
+#endif /* CONFIG_BT_HCIUART */
+#ifndef CONFIG_BT_HCIUART_H4
+#define CONFIG_BT_HCIUART_H4 1
+#endif /* CONFIG_BT_HCIUART_H4 */
+#ifndef CONFIG_BT_HCIUART_BCSP
+#define CONFIG_BT_HCIUART_BCSP 1
+#endif /* CONFIG_BT_HCIUART_BCSP */
+#ifndef CONFIG_BT_HCIUART_ATH3K
+#define CONFIG_BT_HCIUART_ATH3K 1
+#endif /* CONFIG_BT_HCIUART_ATH3K */
+#ifndef CONFIG_BT_HCIUART_LL
+#define CONFIG_BT_HCIUART_LL 1
+#endif /* CONFIG_BT_HCIUART_LL */
+#ifndef CONFIG_BT_HCIVHCI
+#define CONFIG_BT_HCIVHCI 1
+#endif /* CONFIG_BT_HCIVHCI */
+#ifndef CONFIG_BT_MRVL
+#define CONFIG_BT_MRVL 1
+#endif /* CONFIG_BT_MRVL */
+#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
+#ifndef CONFIG_BT_HCIDTL1
+#define CONFIG_BT_HCIDTL1 1
+#endif /* CONFIG_BT_HCIDTL1 */
+#ifndef CONFIG_BT_HCIBT3C
+#define CONFIG_BT_HCIBT3C 1
+#endif /* CONFIG_BT_HCIBT3C */
+#ifndef CONFIG_BT_HCIBLUECARD
+#define CONFIG_BT_HCIBLUECARD 1
+#endif /* CONFIG_BT_HCIBLUECARD */
+#ifndef CONFIG_BT_HCIBTUART
+#define CONFIG_BT_HCIBTUART 1
+#endif /* CONFIG_BT_HCIBTUART */
+#endif /* CONFIG_PCMCIA */
+#if defined(CONFIG_WIRELESS_EXT) || defined(CONFIG_WIRELESS_EXT_MODULE)
+#ifndef CONFIG_CFG80211_WEXT
+#define CONFIG_CFG80211_WEXT 1
+#endif /* CONFIG_CFG80211_WEXT */
+#else /* CONFIG_CFG80211_WEXT */
+#endif /* CONFIG_WIRELESS_EXT */
+#if defined(CONFIG_STAGING) || defined(CONFIG_STAGING_MODULE)
+#ifndef CONFIG_COMPAT_STAGING
+#define CONFIG_COMPAT_STAGING 1
+#endif /* CONFIG_COMPAT_STAGING */
+#endif /* CONFIG_STAGING */
+#ifndef CONFIG_MAC80211_HWSIM
+#define CONFIG_MAC80211_HWSIM 1
+#endif /* CONFIG_MAC80211_HWSIM */
+#ifndef CONFIG_ATH5K
+#define CONFIG_ATH5K 1
+#endif /* CONFIG_ATH5K */
+#ifndef CONFIG_ATH9K
+#define CONFIG_ATH9K 1
+#endif /* CONFIG_ATH9K */
+#ifndef CONFIG_ATH9K_HW
+#define CONFIG_ATH9K_HW 1
+#endif /* CONFIG_ATH9K_HW */
+#ifndef CONFIG_ATH9K_COMMON
+#define CONFIG_ATH9K_COMMON 1
+#endif /* CONFIG_ATH9K_COMMON */
+#ifndef CONFIG_ATH9K_RATE_CONTROL
+#define CONFIG_ATH9K_RATE_CONTROL 1
+#endif /* CONFIG_ATH9K_RATE_CONTROL */
+#if defined(CONFIG_PCI) || defined(CONFIG_PCI_MODULE)
+#ifndef CONFIG_ATH5K_PCI
+#define CONFIG_ATH5K_PCI 1
+#endif /* CONFIG_ATH5K_PCI */
+#ifndef CONFIG_ATH9K_PCI
+#define CONFIG_ATH9K_PCI 1
+#endif /* CONFIG_ATH9K_PCI */
+#ifndef CONFIG_IWLAGN
+#define CONFIG_IWLAGN 1
+#endif /* CONFIG_IWLAGN */
+#ifndef CONFIG_IWL_P2P
+#define CONFIG_IWL_P2P 1
+#endif /* CONFIG_IWL_P2P */
+#ifndef CONFIG_IWLWIFI_LEGACY
+#define CONFIG_IWLWIFI_LEGACY 1
+#endif /* CONFIG_IWLWIFI_LEGACY */
+#ifndef CONFIG_COMPAT_IWL4965
+#define CONFIG_COMPAT_IWL4965 1
+#endif /* CONFIG_COMPAT_IWL4965 */
+#ifndef CONFIG_IWL3945
+#define CONFIG_IWL3945 1
+#endif /* CONFIG_IWL3945 */
+#ifndef CONFIG_B43
+#define CONFIG_B43 1
+#endif /* CONFIG_B43 */
+#ifndef CONFIG_B43_HWRNG
+#define CONFIG_B43_HWRNG 1
+#endif /* CONFIG_B43_HWRNG */
+#ifndef CONFIG_B43_PCI_AUTOSELECT
+#define CONFIG_B43_PCI_AUTOSELECT 1
+#endif /* CONFIG_B43_PCI_AUTOSELECT */
+#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
+#ifndef CONFIG_B43_PCMCIA
+#define CONFIG_B43_PCMCIA 1
+#endif /* CONFIG_B43_PCMCIA */
+#endif /* CONFIG_PCMCIA */
+#if defined(CONFIG_MAC80211_LEDS) || defined(CONFIG_MAC80211_LEDS_MODULE)
+#ifndef CONFIG_B43_LEDS
+#define CONFIG_B43_LEDS 1
+#endif /* CONFIG_B43_LEDS */
+#endif /* CONFIG_MAC80211_LEDS */
+#ifndef CONFIG_B43_PHY_LP
+#define CONFIG_B43_PHY_LP 1
+#endif /* CONFIG_B43_PHY_LP */
+#ifndef CONFIG_B43_PHY_N
+#define CONFIG_B43_PHY_N 1
+#endif /* CONFIG_B43_PHY_N */
+#ifndef CONFIG_B43LEGACY
+#define CONFIG_B43LEGACY 1
+#endif /* CONFIG_B43LEGACY */
+#ifndef CONFIG_B43LEGACY_HWRNG
+#define CONFIG_B43LEGACY_HWRNG 1
+#endif /* CONFIG_B43LEGACY_HWRNG */
+#ifndef CONFIG_B43LEGACY_PCI_AUTOSELECT
+#define CONFIG_B43LEGACY_PCI_AUTOSELECT 1
+#endif /* CONFIG_B43LEGACY_PCI_AUTOSELECT */
+#if defined(CONFIG_MAC80211_LEDS) || defined(CONFIG_MAC80211_LEDS_MODULE)
+#ifndef CONFIG_B43LEGACY_LEDS
+#define CONFIG_B43LEGACY_LEDS 1
+#endif /* CONFIG_B43LEGACY_LEDS */
+#endif /* CONFIG_MAC80211_LEDS */
+#ifndef CONFIG_B43LEGACY_DMA
+#define CONFIG_B43LEGACY_DMA 1
+#endif /* CONFIG_B43LEGACY_DMA */
+#ifndef CONFIG_B43LEGACY_PIO
+#define CONFIG_B43LEGACY_PIO 1
+#endif /* CONFIG_B43LEGACY_PIO */
+#if defined(CONFIG_WIRELESS_EXT) || defined(CONFIG_WIRELESS_EXT_MODULE)
+#ifndef CONFIG_LIBIPW
+#define CONFIG_LIBIPW 1
+#endif /* CONFIG_LIBIPW */
+#ifndef CONFIG_IPW2100
+#define CONFIG_IPW2100 1
+#endif /* CONFIG_IPW2100 */
+#ifndef CONFIG_IPW2100_MONITOR
+#define CONFIG_IPW2100_MONITOR 1
+#endif /* CONFIG_IPW2100_MONITOR */
+#ifndef CONFIG_IPW2200
+#define CONFIG_IPW2200 1
+#endif /* CONFIG_IPW2200 */
+#ifndef CONFIG_IPW2200_MONITOR
+#define CONFIG_IPW2200_MONITOR 1
+#endif /* CONFIG_IPW2200_MONITOR */
+#ifndef CONFIG_IPW2200_RADIOTAP
+#define CONFIG_IPW2200_RADIOTAP 1
+#endif /* CONFIG_IPW2200_RADIOTAP */
+#ifndef CONFIG_IPW2200_PROMISCUOUS
+#define CONFIG_IPW2200_PROMISCUOUS 1
+#endif /* CONFIG_IPW2200_PROMISCUOUS */
+#ifndef CONFIG_IPW2200_QOS
+#define CONFIG_IPW2200_QOS 1
+#endif /* CONFIG_IPW2200_QOS */
+#endif /* CONFIG_WIRELESS_EXT */
+#if defined(CONFIG_SSB) || defined(CONFIG_SSB_MODULE)
+#ifndef CONFIG_SSB_SPROM
+#define CONFIG_SSB_SPROM 1
+#endif /* CONFIG_SSB_SPROM */
+#ifndef CONFIG_SSB_BLOCKIO
+#define CONFIG_SSB_BLOCKIO 1
+#endif /* CONFIG_SSB_BLOCKIO */
+#ifndef CONFIG_SSB_PCIHOST
+#define CONFIG_SSB_PCIHOST 1
+#endif /* CONFIG_SSB_PCIHOST */
+#ifndef CONFIG_SSB_B43_PCI_BRIDGE
+#define CONFIG_SSB_B43_PCI_BRIDGE 1
+#endif /* CONFIG_SSB_B43_PCI_BRIDGE */
+#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
+#ifndef CONFIG_SSB_PCMCIAHOST
+#define CONFIG_SSB_PCMCIAHOST 1
+#endif /* CONFIG_SSB_PCMCIAHOST */
+#endif /* CONFIG_PCMCIA */
+#ifndef CONFIG_SSB_DRIVER_PCICORE
+#define CONFIG_SSB_DRIVER_PCICORE 1
+#endif /* CONFIG_SSB_DRIVER_PCICORE */
+#endif /* CONFIG_SSB */
+#ifndef CONFIG_P54_PCI
+#define CONFIG_P54_PCI 1
+#endif /* CONFIG_P54_PCI */
+#ifndef CONFIG_B44
+#define CONFIG_B44 1
+#endif /* CONFIG_B44 */
+#ifndef CONFIG_B44_PCI
+#define CONFIG_B44_PCI 1
+#endif /* CONFIG_B44_PCI */
+#ifndef CONFIG_RTL8180
+#define CONFIG_RTL8180 1
+#endif /* CONFIG_RTL8180 */
+#ifndef CONFIG_ADM8211
+#define CONFIG_ADM8211 1
+#endif /* CONFIG_ADM8211 */
+#ifndef CONFIG_RT2X00_LIB_PCI
+#define CONFIG_RT2X00_LIB_PCI 1
+#endif /* CONFIG_RT2X00_LIB_PCI */
+#ifndef CONFIG_RT2400PCI
+#define CONFIG_RT2400PCI 1
+#endif /* CONFIG_RT2400PCI */
+#ifndef CONFIG_RT2500PCI
+#define CONFIG_RT2500PCI 1
+#endif /* CONFIG_RT2500PCI */
+#if defined(CONFIG_CRC_CCITT) || defined(CONFIG_CRC_CCITT_MODULE)
+#ifndef CONFIG_RT2800PCI
+#define CONFIG_RT2800PCI 1
+#endif /* CONFIG_RT2800PCI */
+#ifndef CONFIG_RT2800PCI_RT33XX
+#define CONFIG_RT2800PCI_RT33XX 1
+#endif /* CONFIG_RT2800PCI_RT33XX */
+#ifndef CONFIG_RT2800PCI_RT35XX
+#define CONFIG_RT2800PCI_RT35XX 1
+#endif /* CONFIG_RT2800PCI_RT35XX */
+#endif /* CONFIG_CRC_CCITT */
+#if defined(CONFIG_CRC_ITU_T) || defined(CONFIG_CRC_ITU_T_MODULE)
+#ifndef CONFIG_RT61PCI
+#define CONFIG_RT61PCI 1
+#endif /* CONFIG_RT61PCI */
+#endif /* CONFIG_CRC_ITU_T */
+#ifndef CONFIG_MWL8K
+#define CONFIG_MWL8K 1
+#endif /* CONFIG_MWL8K */
+#ifndef CONFIG_ATL1
+#define CONFIG_ATL1 1
+#endif /* CONFIG_ATL1 */
+#ifndef CONFIG_ATL2
+#define CONFIG_ATL2 1
+#endif /* CONFIG_ATL2 */
+#ifndef CONFIG_ATL1E
+#define CONFIG_ATL1E 1
+#endif /* CONFIG_ATL1E */
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27))
+#undef CONFIG_ATL1C
+#else /* CONFIG_COMPAT_KERNEL_2_6_27 */
+#ifndef CONFIG_ATL1C
+#define CONFIG_ATL1C 1
+#endif /* CONFIG_ATL1C */
+#endif /* CONFIG_COMPAT_KERNEL_2_6_27 */
+#if defined(CONFIG_WIRELESS_EXT) || defined(CONFIG_WIRELESS_EXT_MODULE)
+#ifndef CONFIG_HERMES
+#define CONFIG_HERMES 1
+#endif /* CONFIG_HERMES */
+#ifndef CONFIG_HERMES_CACHE_FW_ON_INIT
+#define CONFIG_HERMES_CACHE_FW_ON_INIT 1
+#endif /* CONFIG_HERMES_CACHE_FW_ON_INIT */
+#if defined(CONFIG_PPC_PMAC) || defined(CONFIG_PPC_PMAC_MODULE)
+#ifndef CONFIG_APPLE_AIRPORT
+#define CONFIG_APPLE_AIRPORT 1
+#endif /* CONFIG_APPLE_AIRPORT */
+#endif /* CONFIG_PPC_PMAC */
+#ifndef CONFIG_PLX_HERMES
+#define CONFIG_PLX_HERMES 1
+#endif /* CONFIG_PLX_HERMES */
+#ifndef CONFIG_TMD_HERMES
+#define CONFIG_TMD_HERMES 1
+#endif /* CONFIG_TMD_HERMES */
+#ifndef CONFIG_NORTEL_HERMES
+#define CONFIG_NORTEL_HERMES 1
+#endif /* CONFIG_NORTEL_HERMES */
+#ifndef CONFIG_PCI_HERMES
+#define CONFIG_PCI_HERMES 1
+#endif /* CONFIG_PCI_HERMES */
+#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
+#ifndef CONFIG_PCMCIA_HERMES
+#define CONFIG_PCMCIA_HERMES 1
+#endif /* CONFIG_PCMCIA_HERMES */
+#ifndef CONFIG_PCMCIA_SPECTRUM
+#define CONFIG_PCMCIA_SPECTRUM 1
+#endif /* CONFIG_PCMCIA_SPECTRUM */
+#endif /* CONFIG_PCMCIA */
+#endif /* CONFIG_WIRELESS_EXT */
+#ifndef CONFIG_RTL8192CE
+#define CONFIG_RTL8192CE 1
+#endif /* CONFIG_RTL8192CE */
+#ifndef CONFIG_RTL8192SE
+#define CONFIG_RTL8192SE 1
+#endif /* CONFIG_RTL8192SE */
+#if defined(CONFIG_COMPAT_STAGING) || defined(CONFIG_COMPAT_STAGING_MODULE)
+#ifndef CONFIG_BRCMSMAC
+#define CONFIG_BRCMSMAC 1
+#endif /* CONFIG_BRCMSMAC */
+#endif /* CONFIG_COMPAT_STAGING */
+#endif /* CONFIG_PCI */
+#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27))
+#undef CONFIG_LIBERTAS
+#undef CONFIG_LIBERTAS_CS
+#else /* CONFIG_COMPAT_KERNEL_2_6_27 */
+#ifndef CONFIG_LIBERTAS_CS
+#define CONFIG_LIBERTAS_CS 1
+#endif /* CONFIG_LIBERTAS_CS */
+#endif /* CONFIG_COMPAT_KERNEL_2_6_27 */
+#endif /* CONFIG_PCMCIA */
+#ifndef CONFIG_EEPROM_93CX6
+#define CONFIG_EEPROM_93CX6 1
+#endif /* CONFIG_EEPROM_93CX6 */
+#if defined(CONFIG_USB) || defined(CONFIG_USB_MODULE)
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
+#ifndef CONFIG_COMPAT_ZD1211RW
+#define CONFIG_COMPAT_ZD1211RW 1
+#endif /* CONFIG_COMPAT_ZD1211RW */
+#endif /* CONFIG_COMPAT_KERNEL_2_6_29 */
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29))
+#undef CONFIG_USB_COMPAT_USBNET
+#undef CONFIG_USB_NET_COMPAT_RNDIS_HOST
+#undef CONFIG_USB_NET_COMPAT_RNDIS_WLAN
+#undef CONFIG_USB_NET_COMPAT_CDCETHER
+#else /* CONFIG_COMPAT_KERNEL_2_6_29 */
+#ifndef CONFIG_USB_COMPAT_USBNET
+#define CONFIG_USB_COMPAT_USBNET 1
+#endif /* CONFIG_USB_COMPAT_USBNET */
+#if defined(CONFIG_USB_NET_CDCETHER) || defined(CONFIG_USB_NET_CDCETHER_MODULE)
+#ifndef CONFIG_USB_NET_COMPAT_RNDIS_HOST
+#define CONFIG_USB_NET_COMPAT_RNDIS_HOST 1
+#endif /* CONFIG_USB_NET_COMPAT_RNDIS_HOST */
+#ifndef CONFIG_USB_NET_COMPAT_RNDIS_WLAN
+#define CONFIG_USB_NET_COMPAT_RNDIS_WLAN 1
+#endif /* CONFIG_USB_NET_COMPAT_RNDIS_WLAN */
+#endif /* CONFIG_USB_NET_CDCETHER */
+#if defined(CONFIG_USB_NET_CDCETHER_MODULE) || defined(CONFIG_USB_NET_CDCETHER_MODULE_MODULE)
+#ifndef CONFIG_USB_NET_COMPAT_RNDIS_HOST
+#define CONFIG_USB_NET_COMPAT_RNDIS_HOST 1
+#endif /* CONFIG_USB_NET_COMPAT_RNDIS_HOST */
+#ifndef CONFIG_USB_NET_COMPAT_RNDIS_WLAN
+#define CONFIG_USB_NET_COMPAT_RNDIS_WLAN 1
+#endif /* CONFIG_USB_NET_COMPAT_RNDIS_WLAN */
+#endif /* CONFIG_USB_NET_CDCETHER */
+#ifndef CONFIG_USB_NET_COMPAT_CDCETHER
+#define CONFIG_USB_NET_COMPAT_CDCETHER 1
+#endif /* CONFIG_USB_NET_COMPAT_CDCETHER */
+#endif /* CONFIG_COMPAT_KERNEL_2_6_29 */
+#ifndef CONFIG_P54_USB
+#define CONFIG_P54_USB 1
+#endif /* CONFIG_P54_USB */
+#ifndef CONFIG_RTL8187
+#define CONFIG_RTL8187 1
+#endif /* CONFIG_RTL8187 */
+#if defined(CONFIG_MAC80211_LEDS) || defined(CONFIG_MAC80211_LEDS_MODULE)
+#ifndef CONFIG_RTL8187_LEDS
+#define CONFIG_RTL8187_LEDS 1
+#endif /* CONFIG_RTL8187_LEDS */
+#endif /* CONFIG_MAC80211_LEDS */
+#ifndef CONFIG_AT76C50X_USB
+#define CONFIG_AT76C50X_USB 1
+#endif /* CONFIG_AT76C50X_USB */
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
+#ifndef CONFIG_CARL9170
+#define CONFIG_CARL9170 1
+#endif /* CONFIG_CARL9170 */
+#if defined(CONFIG_MAC80211_LEDS) || defined(CONFIG_MAC80211_LEDS_MODULE)
+#ifndef CONFIG_CARL9170_LEDS
+#define CONFIG_CARL9170_LEDS 1
+#endif /* CONFIG_CARL9170_LEDS */
+#endif /* CONFIG_MAC80211_LEDS */
+#ifndef CONFIG_CARL9170_WPC
+#define CONFIG_CARL9170_WPC 1
+#endif /* CONFIG_CARL9170_WPC */
+#endif /* CONFIG_COMPAT_KERNEL_2_6_29 */
+#ifndef CONFIG_COMPAT_USB_URB_THREAD_FIX
+#define CONFIG_COMPAT_USB_URB_THREAD_FIX 1
+#endif /* CONFIG_COMPAT_USB_URB_THREAD_FIX */
+#ifndef CONFIG_ATH9K_HTC
+#define CONFIG_ATH9K_HTC 1
+#endif /* CONFIG_ATH9K_HTC */
+#ifndef CONFIG_RT2500USB
+#define CONFIG_RT2500USB 1
+#endif /* CONFIG_RT2500USB */
+#if defined(CONFIG_CRC_CCITT) || defined(CONFIG_CRC_CCITT_MODULE)
+#ifndef CONFIG_RT2800USB
+#define CONFIG_RT2800USB 1
+#endif /* CONFIG_RT2800USB */
+#ifndef CONFIG_RT2800USB_RT33XX
+#define CONFIG_RT2800USB_RT33XX 1
+#endif /* CONFIG_RT2800USB_RT33XX */
+#ifndef CONFIG_RT2800USB_RT35XX
+#define CONFIG_RT2800USB_RT35XX 1
+#endif /* CONFIG_RT2800USB_RT35XX */
+#ifndef CONFIG_RT2800USB_UNKNOWN
+#define CONFIG_RT2800USB_UNKNOWN 1
+#endif /* CONFIG_RT2800USB_UNKNOWN */
+#endif /* CONFIG_CRC_CCITT */
+#ifndef CONFIG_RT2X00_LIB_USB
+#define CONFIG_RT2X00_LIB_USB 1
+#endif /* CONFIG_RT2X00_LIB_USB */
+#if defined(CONFIG_CRC_ITU_T) || defined(CONFIG_CRC_ITU_T_MODULE)
+#ifndef CONFIG_RT73USB
+#define CONFIG_RT73USB 1
+#endif /* CONFIG_RT73USB */
+#endif /* CONFIG_CRC_ITU_T */
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27))
+#undef CONFIG_LIBERTAS_THINFIRM_USB
+#undef CONFIG_LIBERTAS_USB
+#else /* CONFIG_COMPAT_KERNEL_2_6_27 */
+#ifndef CONFIG_LIBERTAS_THINFIRM_USB
+#define CONFIG_LIBERTAS_THINFIRM_USB 1
+#endif /* CONFIG_LIBERTAS_THINFIRM_USB */
+#ifndef CONFIG_LIBERTAS_USB
+#define CONFIG_LIBERTAS_USB 1
+#endif /* CONFIG_LIBERTAS_USB */
+#endif /* CONFIG_COMPAT_KERNEL_2_6_27 */
+#ifndef CONFIG_ORINOCO_USB
+#define CONFIG_ORINOCO_USB 1
+#endif /* CONFIG_ORINOCO_USB */
+#ifndef CONFIG_BT_HCIBTUSB
+#define CONFIG_BT_HCIBTUSB 1
+#endif /* CONFIG_BT_HCIBTUSB */
+#ifndef CONFIG_BT_HCIBCM203X
+#define CONFIG_BT_HCIBCM203X 1
+#endif /* CONFIG_BT_HCIBCM203X */
+#ifndef CONFIG_BT_HCIBPA10X
+#define CONFIG_BT_HCIBPA10X 1
+#endif /* CONFIG_BT_HCIBPA10X */
+#ifndef CONFIG_BT_HCIBFUSB
+#define CONFIG_BT_HCIBFUSB 1
+#endif /* CONFIG_BT_HCIBFUSB */
+#ifndef CONFIG_BT_ATH3K
+#define CONFIG_BT_ATH3K 1
+#endif /* CONFIG_BT_ATH3K */
+#ifndef CONFIG_RTL8192CU
+#define CONFIG_RTL8192CU 1
+#endif /* CONFIG_RTL8192CU */
+#endif /* CONFIG_USB */
+#if defined(CONFIG_SPI_MASTER) || defined(CONFIG_SPI_MASTER_MODULE)
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25))
+#if defined(CONFIG_CRC7) || defined(CONFIG_CRC7_MODULE)
+#ifndef CONFIG_WL1251_SPI
+#define CONFIG_WL1251_SPI 1
+#endif /* CONFIG_WL1251_SPI */
+#ifndef CONFIG_WL12XX_SPI
+#define CONFIG_WL12XX_SPI 1
+#endif /* CONFIG_WL12XX_SPI */
+#endif /* CONFIG_CRC7 */
+#ifndef CONFIG_P54_SPI
+#define CONFIG_P54_SPI 1
+#endif /* CONFIG_P54_SPI */
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27))
+#undef CONFIG_LIBERTAS_SPI
+#else /* CONFIG_COMPAT_KERNEL_2_6_27 */
+#ifndef CONFIG_LIBERTAS_SPI
+#define CONFIG_LIBERTAS_SPI 1
+#endif /* CONFIG_LIBERTAS_SPI */
+#endif /* CONFIG_COMPAT_KERNEL_2_6_27 */
+#endif /* CONFIG_COMPAT_KERNEL_2_6_25 */
+#endif /* CONFIG_SPI_MASTER */
+#if defined(CONFIG_MMC) || defined(CONFIG_MMC_MODULE)
+#ifndef CONFIG_SSB_SDIOHOST
+#define CONFIG_SSB_SDIOHOST 1
+#endif /* CONFIG_SSB_SDIOHOST */
+#ifndef CONFIG_B43_SDIO
+#define CONFIG_B43_SDIO 1
+#endif /* CONFIG_B43_SDIO */
+#if defined(CONFIG_CRC7) || defined(CONFIG_CRC7_MODULE)
+#if defined(CONFIG_WL12XX_PLATFORM_DATA) || defined(CONFIG_WL12XX_PLATFORM_DATA_MODULE)
+#ifndef CONFIG_COMPAT_WL1251_SDIO
+#define CONFIG_COMPAT_WL1251_SDIO 1
+#endif /* CONFIG_COMPAT_WL1251_SDIO */
+#endif /* CONFIG_WL12XX_PLATFORM_DATA */
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
+#if defined(CONFIG_WL12XX_PLATFORM_DATA) || defined(CONFIG_WL12XX_PLATFORM_DATA_MODULE)
+#ifndef CONFIG_COMPAT_WL12XX_SDIO
+#define CONFIG_COMPAT_WL12XX_SDIO 1
+#endif /* CONFIG_COMPAT_WL12XX_SDIO */
+#endif /* CONFIG_WL12XX_PLATFORM_DATA */
+#endif /* CONFIG_COMPAT_KERNEL_2_6_32 */
+#endif /* CONFIG_CRC7 */
+#ifndef CONFIG_MWIFIEX_SDIO
+#define CONFIG_MWIFIEX_SDIO 1
+#endif /* CONFIG_MWIFIEX_SDIO */
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27))
+#undef CONFIG_LIBERTAS_SDIO
+#else /* CONFIG_COMPAT_KERNEL_2_6_27 */
+#ifndef CONFIG_LIBERTAS_SDIO
+#define CONFIG_LIBERTAS_SDIO 1
+#endif /* CONFIG_LIBERTAS_SDIO */
+#endif /* CONFIG_COMPAT_KERNEL_2_6_27 */
+#ifndef CONFIG_IWM
+#define CONFIG_IWM 1
+#endif /* CONFIG_IWM */
+#ifndef CONFIG_BT_HCIBTSDIO
+#define CONFIG_BT_HCIBTSDIO 1
+#endif /* CONFIG_BT_HCIBTSDIO */
+#ifndef CONFIG_BT_MRVL_SDIO
+#define CONFIG_BT_MRVL_SDIO 1
+#endif /* CONFIG_BT_MRVL_SDIO */
+#if defined(CONFIG_COMPAT_STAGING) || defined(CONFIG_COMPAT_STAGING_MODULE)
+#if defined(CONFIG_WIRELESS_EXT) || defined(CONFIG_WIRELESS_EXT_MODULE)
+#ifndef CONFIG_ATH6KL_ENABLE_TARGET_DEBUG_PRINTS
+#define CONFIG_ATH6KL_ENABLE_TARGET_DEBUG_PRINTS 1
+#endif /* CONFIG_ATH6KL_ENABLE_TARGET_DEBUG_PRINTS */
+#ifndef CONFIG_ATH6KL_VIRTUAL_SCATTER_GATHER
+#define CONFIG_ATH6KL_VIRTUAL_SCATTER_GATHER 1
+#endif /* CONFIG_ATH6KL_VIRTUAL_SCATTER_GATHER */
+#ifndef CONFIG_ATH6K_LEGACY
+#define CONFIG_ATH6K_LEGACY 1
+#endif /* CONFIG_ATH6K_LEGACY */
+#ifndef CONFIG_BRCMFMAC
+#define CONFIG_BRCMFMAC 1
+#endif /* CONFIG_BRCMFMAC */
+#endif /* CONFIG_WIRELESS_EXT */
+#endif /* CONFIG_COMPAT_STAGING */
+#endif /* CONFIG_MMC */
+#ifndef CONFIG_RTLWIFI
+#define CONFIG_RTLWIFI 1
+#endif /* CONFIG_RTLWIFI */
+#ifndef CONFIG_RTL8192C_COMMON
+#define CONFIG_RTL8192C_COMMON 1
+#endif /* CONFIG_RTL8192C_COMMON */
+#ifndef CONFIG_RT2X00
+#define CONFIG_RT2X00 1
+#endif /* CONFIG_RT2X00 */
+#ifndef CONFIG_RT2X00_LIB
+#define CONFIG_RT2X00_LIB 1
+#endif /* CONFIG_RT2X00_LIB */
+#ifndef CONFIG_RT2800_LIB
+#define CONFIG_RT2800_LIB 1
+#endif /* CONFIG_RT2800_LIB */
+#ifndef CONFIG_RT2X00_LIB_FIRMWARE
+#define CONFIG_RT2X00_LIB_FIRMWARE 1
+#endif /* CONFIG_RT2X00_LIB_FIRMWARE */
+#ifndef CONFIG_RT2X00_LIB_CRYPTO
+#define CONFIG_RT2X00_LIB_CRYPTO 1
+#endif /* CONFIG_RT2X00_LIB_CRYPTO */
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25))
+#undef CONFIG_RT2X00_LIB_LEDS
+#else /* CONFIG_COMPAT_KERNEL_2_6_25 */
+#if defined(CONFIG_LEDS_CLASS) || defined(CONFIG_LEDS_CLASS_MODULE)
+#ifndef CONFIG_RT2X00_LIB_LEDS
+#define CONFIG_RT2X00_LIB_LEDS 1
+#endif /* CONFIG_RT2X00_LIB_LEDS */
+#endif /* CONFIG_LEDS_CLASS */
+#endif /* CONFIG_COMPAT_KERNEL_2_6_25 */
+#ifndef CONFIG_P54_COMMON
+#define CONFIG_P54_COMMON 1
+#endif /* CONFIG_P54_COMMON */
+#if defined(CONFIG_MAC80211_LEDS) || defined(CONFIG_MAC80211_LEDS_MODULE)
+#ifndef CONFIG_P54_LEDS
+#define CONFIG_P54_LEDS 1
+#endif /* CONFIG_P54_LEDS */
+#endif /* CONFIG_MAC80211_LEDS */
+#ifndef CONFIG_ATH_COMMON
+#define CONFIG_ATH_COMMON 1
+#endif /* CONFIG_ATH_COMMON */
+#if defined(CONFIG_COMPAT_STAGING) || defined(CONFIG_COMPAT_STAGING_MODULE)
+#ifndef CONFIG_BRCMUTIL
+#define CONFIG_BRCMUTIL 1
+#endif /* CONFIG_BRCMUTIL */
+#endif /* CONFIG_COMPAT_STAGING */
+#if defined(CONFIG_CRC7) || defined(CONFIG_CRC7_MODULE)
+#ifndef CONFIG_WL1251
+#define CONFIG_WL1251 1
+#endif /* CONFIG_WL1251 */
+#ifndef CONFIG_WL12XX
+#define CONFIG_WL12XX 1
+#endif /* CONFIG_WL12XX */
+#ifndef CONFIG_WL12XX_HT
+#define CONFIG_WL12XX_HT 1
+#endif /* CONFIG_WL12XX_HT */
+#endif /* CONFIG_CRC7 */
+#ifndef CONFIG_MWIFIEX
+#define CONFIG_MWIFIEX 1
+#endif /* CONFIG_MWIFIEX */
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27))
+#undef CONFIG_LIBERTAS
+#else /* CONFIG_COMPAT_KERNEL_2_6_27 */
+#ifndef CONFIG_LIBERTAS_THINFIRM
+#define CONFIG_LIBERTAS_THINFIRM 1
+#endif /* CONFIG_LIBERTAS_THINFIRM */
+#ifndef CONFIG_LIBERTAS
+#define CONFIG_LIBERTAS 1
+#endif /* CONFIG_LIBERTAS */
+#ifndef CONFIG_LIBERTAS_MESH
+#define CONFIG_LIBERTAS_MESH 1
+#endif /* CONFIG_LIBERTAS_MESH */
+#endif /* CONFIG_COMPAT_KERNEL_2_6_27 */
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31))
+#ifndef CONFIG_RFKILL_BACKPORT
+#define CONFIG_RFKILL_BACKPORT 1
+#endif /* CONFIG_RFKILL_BACKPORT */
+#if defined(CONFIG_LEDS_TRIGGERS) || defined(CONFIG_LEDS_TRIGGERS_MODULE)
+#ifndef CONFIG_RFKILL_BACKPORT_LEDS
+#define CONFIG_RFKILL_BACKPORT_LEDS 1
+#endif /* CONFIG_RFKILL_BACKPORT_LEDS */
+#endif /* CONFIG_LEDS_TRIGGERS */
+#ifndef CONFIG_RFKILL_BACKPORT_INPUT
+#define CONFIG_RFKILL_BACKPORT_INPUT 1
+#endif /* CONFIG_RFKILL_BACKPORT_INPUT */
+#endif /* CONFIG_COMPAT_KERNEL_2_6_31 */
#endif /* COMPAT_AUTOCONF_INCLUDED */
diff --git a/net/wireless/Makefile b/net/wireless/Makefile
index 37d70ce..d4c4e54 100644
--- a/net/wireless/Makefile
+++ b/net/wireless/Makefile
@@ -1,8 +1,4 @@
obj-$(CONFIG_CFG80211) += cfg80211.o
-obj-$(CONFIG_LIB80211) += lib80211.o
-obj-$(CONFIG_LIB80211_CRYPT_WEP) += lib80211_crypt_wep.o
-obj-$(CONFIG_LIB80211_CRYPT_CCMP) += lib80211_crypt_ccmp.o
-obj-$(CONFIG_LIB80211_CRYPT_TKIP) += lib80211_crypt_tkip.o
cfg80211-y += core.o sysfs.o radiotap.o util.o reg.o scan.o nl80211.o
cfg80211-y += mlme.o ibss.o sme.o chan.o ethtool.o mesh.o
--
1.7.4.1