move the uci lua plugin to /usr/lib/lua instead of /usr/lib/lua/5.1
[openwrt.git] / package / mac80211 / patches / 001-disable_drivers.patch
1 diff -urN compat-wireless-2008-04-07/config.mk compat-wireless-2008-04-07.new/config.mk
2 --- compat-wireless-2008-04-07/config.mk        2008-03-14 16:22:22.000000000 +0100
3 +++ compat-wireless-2008-04-07.new/config.mk    2008-04-09 21:17:03.000000000 +0200
4 @@ -28,66 +28,6 @@
5  # PCI Drivers
6  ifneq ($(CONFIG_PCI),)
7  
8 -CONFIG_ATH5K=m
9 -CONFIG_ATH5K_DEBUG=n
10 -CONFIG_IWLCORE=m
11 -CONFIG_IWL3945=m
12 -CONFIG_IWL4965=m
13 -CONFIG_IWL4965_HT=y
14 -CONFIG_B43=m
15 -# B43 uses PCMCIA only for Compact Flash. The Cardbus cards uses PCI
16 -# Example, bcm4318:
17 -# http://www.multicap.biz/wireless-lan/indoor-wlan-hardware/sdc-cf10g-80211g-compact-flash-module
18 -CONFIG_B43_PCMCIA=y
19 -CONFIG_B43_DMA=y
20 -CONFIG_B43_PIO=y
21 -CONFIG_B43_DMA_AND_PIO_MODE=y
22 -CONFIG_B43_PCI_AUTOSELECT=y
23 -CONFIG_B43_PCICORE_AUTOSELECT=y
24 -#CONFIG_B43_RFKILL=n
25 -CONFIG_B43_LEDS=y
26 -# CONFIG_B43_DEBUG is not set
27 -
28 -CONFIG_B43LEGACY=m
29 -CONFIG_B43LEGACY_PCI_AUTOSELECT=y
30 -CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
31 -CONFIG_B43LEGACY_DMA=y
32 -CONFIG_B43LEGACY_PIO=y
33 -CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
34 -
35 -# The Intel ipws
36 -CONFIG_IPW2100=m
37 -CONFIG_IPW2100_MONITOR=y
38 -CONFIG_IPW2200=m
39 -CONFIG_IPW2200_MONITOR=y
40 -CONFIG_IPW2200_RADIOTAP=y
41 -CONFIG_IPW2200_PROMISCUOUS=y
42 -# The above enables use a second interface prefixed 'rtap'.
43 -#           Example usage:
44 -#
45 -# % modprobe ipw2200 rtap_iface=1
46 -# % ifconfig rtap0 up
47 -# % tethereal -i rtap0
48 -#
49 -# If you do not specify 'rtap_iface=1' as a module parameter then
50 -# the rtap interface will not be created and you will need to turn
51 -# it on via sysfs:
52 -#
53 -# % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface
54 -CONFIG_IPW2200_QOS=y
55 -
56 -NEED_IEEE80211=y
57 -
58 -CONFIG_P54_PCI=m
59 -
60 -CONFIG_SSB_PCIHOST_POSSIBLE=y
61 -CONFIG_SSB_PCIHOST=y
62 -CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
63 -CONFIG_SSB_DRIVER_PCICORE=y
64 -
65 -CONFIG_RTL8180=m
66 -CONFIG_ADM8211=m
67 -
68  CONFIG_RT2X00_LIB_PCI=m
69  CONFIG_RT2400PCI=m
70  CONFIG_RT2500PCI=m
71 @@ -109,31 +49,6 @@
72  
73  # USB Drivers
74  ifneq ($(CONFIG_USB),)
75 -CONFIG_ZD1211RW=m
76 -
77 -# support for USB Wireless devices using Atmel at76c503,
78 -# at76c505 or at76c505a chips.
79 -CONFIG_USB_ATMEL=m
80 -
81 -# Stuff here things which depend on kernel versions for USB
82 -ifeq ($(shell test -e $(KLIB_BUILD)/Makefile && echo yes),yes)
83 -ifeq ($(shell test $(shell sed 's/^SUBLEVEL = //;t;d' < $(KLIB_BUILD)/Makefile) -gt 21 && echo yes),yes)
84 -
85 -# Sorry, rndis_wlan uses cancel_work_sync which is new and can't be done in compat...
86 -
87 -# Wireless RNDIS USB support (RTL8185 802.11g) A-Link WL54PC
88 -# All of these devices are based on Broadcom 4320 chip which
89 -# is only wireless RNDIS chip known to date.
90 -# Note: this depends on CONFIG_USB_NET_RNDIS_HOST and CONFIG_USB_NET_CDCETHER
91 -# it also requires a new RNDIS_HOST module which we add
92 -CONFIG_USB_NET_RNDIS_HOST=m
93 -CONFIG_USB_NET_RNDIS_WLAN=m
94 -
95 -endif
96 -endif
97 -
98 -CONFIG_P54_USB=m
99 -CONFIG_RTL8187=m
100  
101  # RT2500USB does not require firmware
102  CONFIG_RT2500USB=m
103 @@ -159,39 +74,6 @@
104  CONFIG_RT2X00_LIB_FIRMWARE=y
105  endif
106  
107 -# p54
108 -CONFIG_P54_COMMON=m
109 -
110 -# Sonics Silicon Backplane
111 -CONFIG_SSB_POSSIBLE=y
112 -CONFIG_SSB=m
113 -CONFIG_SSB_SPROM=y
114 -
115 -ifneq ($(CONFIG_PCMCIA),)
116 -CONFIG_SSB_PCMCIAHOST=y
117 -endif
118 -
119 -# These two are for mips
120 -CONFIG_SSB_DRIVER_MIPS=n
121 -CONFIG_SSB_PCICORE_HOSTMODE=n
122 -# CONFIG_SSB_DEBUG is not set
123 -# CONFIG_SSB_DRIVER_EXTIF=y
124 -
125 -ifneq ($(CONFIG_USB),)
126 -CONFIG_LIBERTAS_USB=m
127 -NEED_LIBERTAS=y
128 -endif
129 -ifneq ($(CONFIG_PCMCIA),)
130 -CONFIG_LIBERTAS_CS=m
131 -NEED_LIBERTAS=y
132 -endif
133 -ifeq ($(NEED_LIBERTAS),y)
134 -CONFIG_LIBERTAS=m
135 -# Libertas uses the old stack but not fully, it will soon 
136 -# be cleaned.
137 -NEED_IEEE80211=y
138 -endif
139 -
140  ifeq ($(NEED_IEEE80211),y)
141  # Old ieee80211 "stack"
142  # Note: old softmac is scheduled for removal so we