cleanup MTD option handling
[openwrt.git] / package / kernel / modules / wireless.mk
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 WIRELESS_MENU:=Wireless Drivers
9
10 # NOTE: dependency on 2.6 was removed since it was inherited by kmod-hostap
11 # and prevented it from even showing up in menuconfig on 2.4
12 define KernelPackage/ieee80211
13 SUBMENU:=$(WIRELESS_MENU)
14 TITLE:=802.11 Networking stack
15 DEPENDS:=+kmod-crypto-arc4 +kmod-crypto-aes +kmod-crypto-michael-mic
16 KCONFIG:= \
17 CONFIG_IEEE80211 \
18 CONFIG_IEEE80211_CRYPT_WEP \
19 CONFIG_IEEE80211_CRYPT_CCMP \
20 CONFIG_IEEE80211_CRYPT_TKIP
21 FILES:= \
22 $(LINUX_DIR)/net/ieee80211/ieee80211_crypt.$(LINUX_KMOD_SUFFIX) \
23 $(LINUX_DIR)/net/ieee80211/ieee80211.$(LINUX_KMOD_SUFFIX) \
24 $(LINUX_DIR)/net/ieee80211/ieee80211_crypt_wep.$(LINUX_KMOD_SUFFIX) \
25 $(LINUX_DIR)/net/ieee80211/ieee80211_crypt_tkip.$(LINUX_KMOD_SUFFIX) \
26 $(LINUX_DIR)/net/ieee80211/ieee80211_crypt_ccmp.$(LINUX_KMOD_SUFFIX)
27 AUTOLOAD:=$(call AutoLoad,10, \
28 ieee80211_crypt \
29 ieee80211 \
30 ieee80211_crypt_wep \
31 ieee80211_crypt_tkip \
32 ieee80211_crypt_ccmp \
33 )
34 endef
35
36 define KernelPackage/ieee80211/description
37 Kernel modules for 802.11 Networking stack
38 Includes:
39 - ieee80211_crypt
40 - ieee80211
41 - ieee80211_crypt_wep
42 - ieee80211_crypt_tkip
43 - ieee80211_crytp_ccmp
44 endef
45
46 $(eval $(call KernelPackage,ieee80211))
47
48
49 define KernelPackage/ieee80211-softmac
50 SUBMENU:=$(WIRELESS_MENU)
51 TITLE:=ieee80211 SoftMAC support
52 DEPENDS:=+kmod-ieee80211 @LINUX_2_6_21||@LINUX_2_6_23||@LINUX_2_6_24||@LINUX_2_6_25
53 KCONFIG:=CONFIG_IEEE80211_SOFTMAC
54 FILES:=$(LINUX_DIR)/net/ieee80211/softmac/ieee80211softmac.$(LINUX_KMOD_SUFFIX)
55 AUTOLOAD:=$(call AutoLoad,20,ieee80211softmac)
56 endef
57
58 define KernelPackage/ieee80211-softmac/description
59 Kernel modules for 802.11 SoftMAC support
60 endef
61
62 $(eval $(call KernelPackage,ieee80211-softmac))
63
64
65 define KernelPackage/net-bcm43xx
66 SUBMENU:=$(WIRELESS_MENU)
67 TITLE:=Broadcom BCM43xx driver
68 DEPENDS:=@TARGET_brcm47xx||TARGET_brcm63xx +kmod-ieee80211-softmac
69 KCONFIG:=CONFIG_BCM43XX
70 FILES:=$(LINUX_DIR)/drivers/net/wireless/bcm43xx/bcm43xx.$(LINUX_KMOD_SUFFIX)
71 AUTOLOAD:=$(call AutoLoad,50,bcm43xx)
72 endef
73
74 define KernelPackage/net-bcm43xx/description
75 Kernel support for Broadcom BCM43xx
76 Includes:
77 - bcm43xx
78 endef
79
80 $(eval $(call KernelPackage,net-bcm43xx))
81
82
83 define KernelPackage/net-ipw2100
84 SUBMENU:=$(WIRELESS_MENU)
85 TITLE:=Intel IPW2100 driver
86 DEPENDS:=@PCI_SUPPORT +kmod-ieee80211
87 KCONFIG:=CONFIG_IPW2100
88 FILES:=$(LINUX_DIR)/drivers/net/wireless/ipw2100.$(LINUX_KMOD_SUFFIX)
89 AUTOLOAD:=$(call AutoLoad,50,ipw2100)
90 endef
91
92 define KernelPackage/net-ipw2100/description
93 Kernel support for Intel IPW2100
94 Includes:
95 - ipw2100
96 endef
97
98 $(eval $(call KernelPackage,net-ipw2100))
99
100
101 define KernelPackage/net-ipw2200
102 SUBMENU:=$(WIRELESS_MENU)
103 TITLE:=Intel IPW2200 driver
104 DEPENDS:=@PCI_SUPPORT +kmod-ieee80211
105 KCONFIG:=CONFIG_IPW2200
106 FILES:=$(LINUX_DIR)/drivers/net/wireless/ipw2200.$(LINUX_KMOD_SUFFIX)
107 AUTOLOAD:=$(call AutoLoad,50,ipw2200)
108 endef
109
110 define KernelPackage/net-ipw2200/description
111 Kernel support for Intel IPW2200
112 Includes:
113 - ipw2200
114 endef
115
116 $(eval $(call KernelPackage,net-ipw2200))
117
118
119 define KernelPackage/net-airo
120 SUBMENU:=$(WIRELESS_MENU)
121 TITLE:=Cisco Aironet driver
122 DEPENDS:=@PCI_SUPPORT
123 KCONFIG:=CONFIG_AIRO
124 FILES:=$(LINUX_DIR)/drivers/net/wireless/airo.$(LINUX_KMOD_SUFFIX)
125 AUTOLOAD:=$(call AutoLoad,50,airo)
126 endef
127
128 define KernelPackage/net-airo/description
129 Kernel support for Cisco Aironet cards
130 endef
131
132 $(eval $(call KernelPackage,net-airo))
133
134
135 define KernelPackage/net-hermes
136 SUBMENU:=$(WIRELESS_MENU)
137 TITLE:=Hermes 802.11b chipset support
138 DEPENDS:=@LINUX_2_6 @PCI_SUPPORT||PCMCIA_SUPPORT
139 KCONFIG:=CONFIG_HERMES
140 FILES:= \
141 $(LINUX_DIR)/drivers/net/wireless/hermes.$(LINUX_KMOD_SUFFIX) \
142 $(LINUX_DIR)/drivers/net/wireless/orinoco.$(LINUX_KMOD_SUFFIX) \
143 $(if $(CONFIG_LINUX_2_6_28),$(LINUX_DIR)/drivers/net/wireless/hermes_dld.$(LINUX_KMOD_SUFFIX))
144 AUTOLOAD:=$(if $(CONFIG_LINUX_2_6_28),$(call AutoLoad,50,hermes hermes_dld orinoco),$(call AutoLoad,50,hermes orinoco))
145 endef
146
147 define KernelPackage/net-hermes/description
148 Kernel support for Hermes 802.11b chipsets
149 endef
150
151 $(eval $(call KernelPackage,net-hermes))
152
153
154 define KernelPackage/net-hermes-pci
155 SUBMENU:=$(WIRELESS_MENU)
156 TITLE:=Intersil Prism 2.5 PCI support
157 DEPENDS:=@PCI_SUPPORT kmod-net-hermes
158 KCONFIG:=CONFIG_PCI_HERMES
159 FILES:=$(LINUX_DIR)/drivers/net/wireless/orinoco_pci.$(LINUX_KMOD_SUFFIX)
160 AUTOLOAD:=$(call AutoLoad,55,orinoco_pci)
161 endef
162
163 define KernelPackage/net-hermes-pci/description
164 Kernel modules for Intersil Prism 2.5 PCI support
165 endef
166
167 $(eval $(call KernelPackage,net-hermes-pci))
168
169
170 define KernelPackage/net-hermes-plx
171 SUBMENU:=$(WIRELESS_MENU)
172 TITLE:=PLX9052 based PCI adaptor
173 DEPENDS:=@PCI_SUPPORT kmod-net-hermes
174 KCONFIG:=CONFIG_PLX_HERMES
175 FILES:=$(LINUX_DIR)/drivers/net/wireless/orinoco_plx.$(LINUX_KMOD_SUFFIX)
176 AUTOLOAD:=$(call AutoLoad,55,orinoco_plx)
177 endef
178
179 define KernelPackage/net-hermes-plx/description
180 Kernel modules for Hermes in PLX9052 based PCI adaptors
181 endef
182
183 $(eval $(call KernelPackage,net-hermes-plx))
184
185
186 define KernelPackage/net-prism54
187 SUBMENU:=$(WIRELESS_MENU)
188 TITLE:=Intersil Prism54 support
189 DEPENDS:=@PCI_SUPPORT
190 KCONFIG:=CONFIG_PRISM54
191 FILES:=$(LINUX_DIR)/drivers/net/wireless/prism54/prism54.$(LINUX_KMOD_SUFFIX)
192 AUTOLOAD:=$(call AutoLoad,60,prism54)
193 endef
194
195 define KernelPackage/net-prism54/description
196 Kernel modules for Intersil Prism54 support
197 endef
198
199 # Prism54 FullMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
200 PRISM54_FW:=1.0.4.3.arm
201
202 define Download/net-prism54
203 FILE:=$(PRISM54_FW)
204 URL:=http://daemonizer.de/prism54/prism54-fw/fw-fullmac/
205 MD5SUM:=8bd4310971772a486b9784c77f8a6df9
206 endef
207
208 define KernelPackage/net-prism54/install
209 $(INSTALL_DIR) $(1)/lib/firmware
210 $(INSTALL_DATA) $(DL_DIR)/$(PRISM54_FW) $(1)/lib/firmware/isl3890
211 endef
212
213 $(eval $(call Download,net-prism54))
214 $(eval $(call KernelPackage,net-prism54))
215
This page took 0.061307 seconds and 5 git commands to generate.