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