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