remove linux 2.4 support from several packages
[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
8 WIRELESS_MENU:=Wireless Drivers
9
10 define KernelPackage/lib80211
11 SUBMENU:=$(WIRELESS_MENU)
12 TITLE:=802.11 Networking stack
13 KCONFIG:= \
14 CONFIG_LIB80211 \
15 CONFIG_LIB80211_CRYPT_WEP \
16 CONFIG_LIB80211_CRYPT_TKIP \
17 CONFIG_LIB80211_CRYPT_CCMP
18 FILES:= \
19 $(LINUX_DIR)/net/wireless/lib80211.$(LINUX_KMOD_SUFFIX) \
20 $(LINUX_DIR)/net/wireless/lib80211_crypt_wep.$(LINUX_KMOD_SUFFIX) \
21 $(LINUX_DIR)/net/wireless/lib80211_crypt_ccmp.$(LINUX_KMOD_SUFFIX) \
22 $(LINUX_DIR)/net/wireless/lib80211_crypt_tkip.$(LINUX_KMOD_SUFFIX)
23 AUTOLOAD:=$(call AutoLoad,10, \
24 lib80211 \
25 lib80211_crypt_wep \
26 lib80211_crypt_ccmp \
27 lib80211_crypt_tkip \
28 )
29 endef
30
31 define KernelPackage/lib80211/description
32 Kernel modules for 802.11 Networking stack
33 Includes:
34 - lib80211
35 - lib80211_crypt_wep
36 - lib80211_crypt_tkip
37 - lib80211_crytp_ccmp
38 endef
39
40 $(eval $(call KernelPackage,lib80211))
41
42 define KernelPackage/net-airo
43 SUBMENU:=$(WIRELESS_MENU)
44 TITLE:=Cisco Aironet driver
45 DEPENDS:=@PCI_SUPPORT
46 KCONFIG:=CONFIG_AIRO
47 FILES:=$(LINUX_DIR)/drivers/net/wireless/airo.$(LINUX_KMOD_SUFFIX)
48 AUTOLOAD:=$(call AutoLoad,50,airo)
49 endef
50
51 define KernelPackage/net-airo/description
52 Kernel support for Cisco Aironet cards
53 endef
54
55 $(eval $(call KernelPackage,net-airo))
56
57
58 define KernelPackage/net-hermes
59 SUBMENU:=$(WIRELESS_MENU)
60 TITLE:=Hermes 802.11b chipset support
61 DEPENDS:=@LINUX_2_6 @PCI_SUPPORT||PCMCIA_SUPPORT
62 KCONFIG:=CONFIG_HERMES \
63 CONFIG_HERMES_CACHE_FW_ON_INIT=n
64 FILES:= \
65 $(LINUX_DIR)/drivers/net/wireless/orinoco/orinoco.$(LINUX_KMOD_SUFFIX)
66 AUTOLOAD:=$(call AutoLoad,50,orinoco)
67 endef
68
69 define KernelPackage/net-hermes/description
70 Kernel support for Hermes 802.11b chipsets
71 endef
72
73 $(eval $(call KernelPackage,net-hermes))
74
75
76 define KernelPackage/net-hermes-pci
77 SUBMENU:=$(WIRELESS_MENU)
78 TITLE:=Intersil Prism 2.5 PCI support
79 DEPENDS:=@PCI_SUPPORT +kmod-net-hermes
80 KCONFIG:=CONFIG_PCI_HERMES
81 FILES:=$(LINUX_DIR)/drivers/net/wireless/orinoco/orinoco_pci.$(LINUX_KMOD_SUFFIX)
82 AUTOLOAD:=$(call AutoLoad,55,orinoco_pci)
83 endef
84
85 define KernelPackage/net-hermes-pci/description
86 Kernel modules for Intersil Prism 2.5 PCI support
87 endef
88
89 $(eval $(call KernelPackage,net-hermes-pci))
90
91
92 define KernelPackage/net-hermes-plx
93 SUBMENU:=$(WIRELESS_MENU)
94 TITLE:=PLX9052 based PCI adaptor
95 DEPENDS:=@PCI_SUPPORT +kmod-net-hermes
96 KCONFIG:=CONFIG_PLX_HERMES
97 FILES:=$(LINUX_DIR)/drivers/net/wireless/orinoco/orinoco_plx.$(LINUX_KMOD_SUFFIX)
98 AUTOLOAD:=$(call AutoLoad,55,orinoco_plx)
99 endef
100
101 define KernelPackage/net-hermes-plx/description
102 Kernel modules for Hermes in PLX9052 based PCI adaptors
103 endef
104
105 $(eval $(call KernelPackage,net-hermes-plx))
106
107
108 define KernelPackage/net-hermes-pcmcia
109 SUBMENU:=$(WIRELESS_MENU)
110 TITLE:=Hermes based PCMCIA adaptors
111 DEPENDS:=@PCMCIA_SUPPORT +kmod-net-hermes
112 KCONFIG:=CONFIG_PCMCIA_HERMES
113 FILES:=$(LINUX_DIR)/drivers/net/wireless/orinoco/orinoco_cs.$(LINUX_KMOD_SUFFIX)
114 AUTOLOAD:=$(call AutoLoad,55,orinoco_cs)
115 endef
116
117 define KernelPackage/net-hermes-pcmcia/description
118 Kernel modules for Hermes based PCMCIA adaptors
119 endef
120
121 $(eval $(call KernelPackage,net-hermes-pcmcia))
122
123
124 define KernelPackage/net-prism54
125 SUBMENU:=$(WIRELESS_MENU)
126 TITLE:=Intersil Prism54 support
127 DEPENDS:=@PCI_SUPPORT
128 KCONFIG:=CONFIG_PRISM54
129 FILES:=$(LINUX_DIR)/drivers/net/wireless/prism54/prism54.$(LINUX_KMOD_SUFFIX)
130 AUTOLOAD:=$(call AutoLoad,60,prism54)
131 endef
132
133 define KernelPackage/net-prism54/description
134 Kernel modules for Intersil Prism54 support
135 endef
136
137 # Prism54 FullMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
138 PRISM54_FW:=1.0.4.3.arm
139
140 define Download/net-prism54
141 FILE:=$(PRISM54_FW)
142 URL:=http://daemonizer.de/prism54/prism54-fw/fw-fullmac/
143 MD5SUM:=8bd4310971772a486b9784c77f8a6df9
144 endef
145
146 define KernelPackage/net-prism54/install
147 $(INSTALL_DIR) $(1)/lib/firmware
148 $(INSTALL_DATA) $(DL_DIR)/$(PRISM54_FW) $(1)/lib/firmware/isl3890
149 endef
150
151 $(eval $(call Download,net-prism54))
152 $(eval $(call KernelPackage,net-prism54))
153