The package kmod-net-prism54 misses the firmware file in /lib/firmware.
[openwrt/svn-archive/archive.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 # $Id$
8
9 WIRELESS_MENU:=Wireless Drivers
10
11 # NOTE: dependency on 2.6 was removed since it was inherited by kmod-hostap
12 # and prevented it from even showing up in menuconfig on 2.4
13 define KernelPackage/ieee80211
14 SUBMENU:=$(WIRELESS_MENU)
15 TITLE:=802.11 Networking stack
16 DEPENDS:=+kmod-crypto-arc4 +kmod-crypto-aes +kmod-crypto-michael-mic
17 KCONFIG:= \
18 CONFIG_IEEE80211 \
19 CONFIG_IEEE80211_CRYPT_WEP \
20 CONFIG_IEEE80211_CRYPT_CCMP \
21 CONFIG_IEEE80211_CRYPT_TKIP
22 FILES:= \
23 $(LINUX_DIR)/net/ieee80211/ieee80211_crypt.$(LINUX_KMOD_SUFFIX) \
24 $(LINUX_DIR)/net/ieee80211/ieee80211.$(LINUX_KMOD_SUFFIX) \
25 $(LINUX_DIR)/net/ieee80211/ieee80211_crypt_wep.$(LINUX_KMOD_SUFFIX) \
26 $(LINUX_DIR)/net/ieee80211/ieee80211_crypt_tkip.$(LINUX_KMOD_SUFFIX) \
27 $(LINUX_DIR)/net/ieee80211/ieee80211_crypt_ccmp.$(LINUX_KMOD_SUFFIX)
28 AUTOLOAD:=$(call AutoLoad,10, \
29 ieee80211_crypt \
30 ieee80211 \
31 ieee80211_crypt_wep \
32 ieee80211_crypt_tkip \
33 ieee80211_crypt_ccmp \
34 )
35 endef
36
37 define KernelPackage/ieee80211/description
38 Kernel modules for 802.11 Networking stack
39 Includes:
40 - ieee80211_crypt
41 - ieee80211
42 - ieee80211_crypt_wep
43 - ieee80211_crypt_tkip
44 - ieee80211_crytp_ccmp
45 endef
46
47 $(eval $(call KernelPackage,ieee80211))
48
49
50 define KernelPackage/ieee80211-softmac
51 SUBMENU:=$(WIRELESS_MENU)
52 TITLE:=ieee80211 SoftMAC support
53 DEPENDS:=+kmod-ieee80211
54 KCONFIG:=CONFIG_IEEE80211_SOFTMAC
55 FILES:=$(LINUX_DIR)/net/ieee80211/softmac/ieee80211softmac.$(LINUX_KMOD_SUFFIX)
56 AUTOLOAD:=$(call AutoLoad,20,ieee80211softmac)
57 endef
58
59 define KernelPackage/ieee80211-softmac/description
60 Kernel modules for 802.11 SoftMAC support
61 endef
62
63 $(eval $(call KernelPackage,ieee80211-softmac))
64
65
66 define KernelPackage/net-bcm43xx
67 SUBMENU:=$(WIRELESS_MENU)
68 TITLE:=Broadcom BCM43xx driver
69 DEPENDS:=@TARGET_brcm47xx||TARGET_brcm63xx +kmod-ieee80211-softmac
70 KCONFIG:=CONFIG_BCM43XX
71 FILES:=$(LINUX_DIR)/drivers/net/wireless/bcm43xx/bcm43xx.$(LINUX_KMOD_SUFFIX)
72 AUTOLOAD:=$(call AutoLoad,50,bcm43xx)
73 endef
74
75 define KernelPackage/net-bcm43xx/description
76 Kernel support for Broadcom BCM43xx
77 Includes:
78 - bcm43xx
79 endef
80
81 $(eval $(call KernelPackage,net-bcm43xx))
82
83
84 define KernelPackage/net-ipw2100
85 SUBMENU:=$(WIRELESS_MENU)
86 TITLE:=Intel IPW2100 driver
87 DEPENDS:=@PCI_SUPPORT +kmod-ieee80211
88 KCONFIG:=CONFIG_IPW2100
89 FILES:=$(LINUX_DIR)/drivers/net/wireless/ipw2100.$(LINUX_KMOD_SUFFIX)
90 AUTOLOAD:=$(call AutoLoad,50,ipw2100)
91 endef
92
93 define KernelPackage/net-ipw2100/description
94 Kernel support for Intel IPW2100
95 Includes:
96 - ipw2100
97 endef
98
99 $(eval $(call KernelPackage,net-ipw2100))
100
101
102 define KernelPackage/net-ipw2200
103 SUBMENU:=$(WIRELESS_MENU)
104 TITLE:=Intel IPW2200 driver
105 DEPENDS:=@PCI_SUPPORT +kmod-ieee80211
106 KCONFIG:=CONFIG_IPW2200
107 FILES:=$(LINUX_DIR)/drivers/net/wireless/ipw2200.$(LINUX_KMOD_SUFFIX)
108 AUTOLOAD:=$(call AutoLoad,50,ipw2200)
109 endef
110
111 define KernelPackage/net-ipw2200/description
112 Kernel support for Intel IPW2200
113 Includes:
114 - ipw2200
115 endef
116
117 $(eval $(call KernelPackage,net-ipw2200))
118
119
120 define KernelPackage/net-airo
121 SUBMENU:=$(WIRELESS_MENU)
122 TITLE:=Cisco Aironet driver
123 DEPENDS:=@PCI_SUPPORT
124 KCONFIG:=CONFIG_AIRO
125 FILES:=$(LINUX_DIR)/drivers/net/wireless/airo.$(LINUX_KMOD_SUFFIX)
126 AUTOLOAD:=$(call AutoLoad,50,airo)
127 endef
128
129 define KernelPackage/net-airo/description
130 Kernel support for Cisco Aironet cards
131 endef
132
133 $(eval $(call KernelPackage,net-airo))
134
135
136 define KernelPackage/net-hermes
137 SUBMENU:=$(WIRELESS_MENU)
138 TITLE:=Hermes 802.11b chipset support
139 DEPENDS:=@LINUX_2_6 @PCI_SUPPORT||PCMCIA_SUPPORT
140 KCONFIG:=CONFIG_HERMES
141 FILES:= \
142 $(LINUX_DIR)/drivers/net/wireless/hermes.$(LINUX_KMOD_SUFFIX) \
143 $(LINUX_DIR)/drivers/net/wireless/orinoco.$(LINUX_KMOD_SUFFIX)
144 AUTOLOAD:=$(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:=p54pcifm_1.0.4.3.arm
201 PRISM54_FW:=1.0.4.3.arm
202
203 define Download/net-prism54
204 FILE:=$(PRISM54_FW)
205 # URL:=http://jbnote.free.fr/prism54usb/data/firmwares/
206 URL:=http://daemonizer.de/prism54/prism54-fw/fw-fullmac/
207 MD5SUM:=8bd4310971772a486b9784c77f8a6df9
208 endef
209
210 define KernelPackage/net-prism54/install
211 $(INSTALL_DIR) $(1)/lib/firmware
212 $(INSTALL_DATA) $(DL_DIR)/$(PRISM54_FW) $(1)/lib/firmware/isl3890
213 endef
214
215 $(eval $(call Download,net-prism54))
216 $(eval $(call KernelPackage,net-prism54))
217