bbd694bf3ed1c37d29f4e16cdd4d74424181ba3b
[openwrt/svn-archive/archive.git] / package / kernel / modules / network.mk
1 #
2 # Copyright (C) 2006 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 NSMENU:=Network Support
10
11 define KernelPackage/atm
12 TITLE:=ATM support
13 DEPENDS:=@ATM_SUPPORT
14 DESCRIPTION:= \
15 Kernel modules for ATM support
16 FILES:= \
17 $(MODULES_DIR)/kernel/net/atm/atm.$(LINUX_KMOD_SUFFIX) \
18 $(MODULES_DIR)/kernel/net/atm/br2684.$(LINUX_KMOD_SUFFIX)
19 KCONFIG:=$(CONFIG_ATM)
20 SUBMENU:=$(NSMENU)
21 AUTOLOAD:=$(call AutoLoad,30,atm)
22 endef
23 $(eval $(call KernelPackage,atm))
24
25 define KernelPackage/atmtcp
26 TITLE:=ATM over TCP
27 DESCRIPTION:= \
28 Kernel module for ATM over TCP support
29 DEPENDS:=@LINUX_2_6 kmod-atm
30 FILES:=$(MODULES_DIR)/kernel/drivers/atm/atmtcp.$(LINUX_KMOD_SUFFIX)
31 KCONFIG:=$(CONFIG_ATM_TCP)
32 SUBMENU:=$(NSMENU)
33 AUTOLOAD:=$(call AutoLoad,40,atmtcp)
34 endef
35 $(eval $(call KernelPackage,atmtcp))
36
37 define KernelPackage/ipip
38 TITLE:=IP in IP encapsulation support
39 DESCRIPTION:=\
40 Kernel modules for IP in IP encapsulation
41 KCONFIG:=$(CONFIG_NET_IPIP)
42 SUBMENU:=$(NSMENU)
43 endef
44 $(eval $(call KernelPackage,ipip))
45
46 define KernelPackage/ipip/2.4
47 FILES:=$(MODULES_DIR)/kernel/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX)
48 AUTOLOAD:=$(call AutoLoad,30,ipip)
49 endef
50
51 define KernelPackage/ipip/2.6
52 FILES:= \
53 $(MODULES_DIR)/kernel/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX) \
54 $(MODULES_DIR)/kernel/net/ipv4/tunnel4.$(LINUX_KMOD_SUFFIX)
55 AUTOLOAD:=$(call AutoLoad,30,ipip tunnel4)
56 endef
57
58 define KernelPackage/ipv6
59 TITLE:=IPv6 support
60 DESCRIPTION:=\
61 Kernel modules for IPv6 support
62 KCONFIG:=$(CONFIG_IPV6)
63 FILES:=$(MODULES_DIR)/kernel/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
64 SUBMENU:=$(NSMENU)
65 endef
66 $(eval $(call KernelPackage,ipv6))
67
68
69 define KernelPackage/gre
70 TITLE:=GRE support
71 DESCRIPTION:=\
72 Generic Routing Encapsulation support
73 KCONFIG=$(CONFIG_NET_IPGRE)
74 FILES=$(MODULES_DIR)/kernel/net/ipv4/ip_gre.$(LINUX_KMOD_SUFFIX)
75 SUBMENU:=$(NSMENU)
76 endef
77 $(eval $(call KernelPackage,gre))
78
79
80 define KernelPackage/tun
81 TITLE:=Universal TUN/TAP driver
82 DESCRIPTION:=\
83 Kernel support for the TUN/TAP tunneling device
84 KCONFIG:=$(CONFIG_TUN)
85 FILES:=$(MODULES_DIR)/kernel/drivers/net/tun.$(LINUX_KMOD_SUFFIX)
86 SUBMENU:=$(NSMENU)
87 AUTOLOAD:=$(call AutoLoad,30,tun)
88 endef
89 $(eval $(call KernelPackage,tun))
90
91
92 define KernelPackage/ppp
93 TITLE:=PPP modules
94 DESCRIPTION:=\
95 Kernel modules for PPP support
96 KCONFIG:=$(CONFIG_PPP)
97 SUBMENU:=$(NSMENU)
98 endef
99
100 define KernelPackage/ppp/2.6
101 FILES:= \
102 $(MODULES_DIR)/kernel/drivers/net/ppp_async.ko \
103 $(MODULES_DIR)/kernel/drivers/net/ppp_generic.ko \
104 $(MODULES_DIR)/kernel/drivers/net/slhc.ko \
105 $(MODULES_DIR)/kernel/lib/crc-ccitt.ko
106 AUTOLOAD:=$(call AutoLoad,30,crc-ccitt)
107 endef
108
109 define KernelPackage/ppp/2.4
110 FILES:= \
111 $(MODULES_DIR)/kernel/drivers/net/ppp_async.o \
112 $(MODULES_DIR)/kernel/drivers/net/ppp_generic.o \
113 $(MODULES_DIR)/kernel/drivers/net/slhc.o
114 endef
115 $(eval $(call KernelPackage,ppp))
116
117
118 define KernelPackage/pppoe
119 TITLE:=PPPoE support
120 DESCRIPTION:=\
121 Kernel modules for PPPoE (PPP over Ethernet) support
122 DEPENDS:=kmod-ppp
123 KCONFIG:=$(CONFIG_PPPOE)
124 FILES:= \
125 $(MODULES_DIR)/kernel/drivers/net/pppoe.$(LINUX_KMOD_SUFFIX) \
126 $(MODULES_DIR)/kernel/drivers/net/pppox.$(LINUX_KMOD_SUFFIX)
127 SUBMENU:=$(NSMENU)
128 endef
129 $(eval $(call KernelPackage,pppoe))
130
131
132 define KernelPackage/pppoa
133 TITLE:=PPPoA support
134 DESCRIPTION:=\
135 Kernel modules for PPPoA (PPP over ATM) support
136 DEPENDS:=kmod-ppp
137 KCONFIG:=$(CONFIG_PPPOATM)
138 FILES:=$(MODULES_DIR)/kernel/net/atm/pppoatm.$(LINUX_KMOD_SUFFIX)
139 SUBMENU:=$(NSMENU)
140 endef
141 $(eval $(call KernelPackage,pppoa))
142
143
144 define KernelPackage/mppe
145 TITLE:=Microsoft PPP compression/encryption
146 DESCRIPTION:=Kernel modules for Microsoft PPP compression/encryption
147 DEPENDS:=kmod-ppp
148 KCONFIG:=$(CONFIG_PPP_MPPE)
149 SUBMENU:=$(NSMENU)
150 endef
151
152 define KernelPackage/mppe/2.4
153 FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_mppe_mppc.$(LINUX_KMOD_SUFFIX)
154 endef
155
156 define KernelPackage/mppe/2.6
157 FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_mppe.$(LINUX_KMOD_SUFFIX)
158 endef
159 $(eval $(call KernelPackage,mppe))
160
161
162 define KernelPackage/sched
163 TITLE:=Traffic schedulers
164 DESCRIPTION:=\
165 Kernel schedulers for IP traffic
166 FILES:=$(MODULES_DIR)/kernel/net/sched/*.$(LINUX_KMOD_SUFFIX)
167 SUBMENU:=$(NSMENU)
168 endef
169 $(eval $(call KernelPackage,sched))
170
171
172 define KernelPackage/ieee80211softmac
173 TITLE:=802.11 Networking stack
174 DESCRIPTION:=\\\
175 \\\
176 Includes: \\\
177 - ieee80211_crypt \\\
178 - ieee80211 \\\
179 - ieee80211_crypt_wep \\\
180 - ieee80211_crypt_tkip \\\
181 - ieee80211_crytp_ccmp \\\
182 - ieee80211softmac
183 DEPENDS:=@LINUX_2_6
184 KCONFIG:=$(CONFIG_IEEE80211_SOFTMAC)
185 FILES:= \
186 $(MODULES_DIR)/kernel/net/ieee80211/*.$(LINUX_KMOD_SUFFIX) \
187 $(MODULES_DIR)/kernel/net/ieee80211/softmac/*.$(LINUX_KMOD_SUFFIX)
188 AUTOLOAD:=$(call AutoLoad,10, \
189 ieee80211_crypt \
190 ieee80211 \
191 ieee80211_crypt_wep \
192 ieee80211_crypt_tkip \
193 ieee80211_crypt_ccmp \
194 ieee80211softmac \
195 )
196 SUBMENU:=$(NSMENU)
197 endef
198 $(eval $(call KernelPackage,ieee80211softmac))
199
200
201
202 NDMENU:=Network Devices
203
204 define KernelPackage/natsemi
205 TITLE:=National Semiconductor DP8381x series
206 DESCRIPTION:=\
207 Kernel modules for National Semiconductor DP8381x series PCI Ethernet \\\
208 adapters.
209 FILES:=$(MODULES_DIR)/kernel/drivers/net/natsemi.$(LINUX_KMOD_SUFFIX)
210 KCONFIG:=$(CONFIG_NATSEMI)
211 DEPENDS:=@LINUX_2_6_X86
212 DEFAULT:=y
213 SUBMENU:=$(NDMENU)
214 AUTOLOAD:=$(call AutoLoad,20,natsemi)
215 endef
216 $(eval $(call KernelPackage,natsemi))
217
218 define KernelPackage/sis900
219 TITLE:=SiS 900 Ethernet support
220 DESCRIPTION:=\
221 Kernel modules for Sis 900 Ethernet adapters.
222 FILES:=$(MODULES_DIR)/kernel/drivers/net/sis900.$(LINUX_KMOD_SUFFIX)
223 KCONFIG:=$(CONFIG_SIS900)
224 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
225 SUBMENU:=$(NDMENU)
226 endef
227 $(eval $(call KernelPackage,sis900))
228
229 define KernelPackage/via-rhine
230 TITLE:=Via Rhine ethernet support
231 DESCRIPTION:=\
232 Kernel modules for Via Rhine Ethernet chipsets.
233 FILES:=$(MODULES_DIR)/kernel/drivers/net/via-rhine.$(LINUX_KMOD_SUFFIX)
234 KCONFIG:=$(CONFIG_VIA_RHINE)
235 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
236 SUBMENU:=$(NDMENU)
237 endef
238 $(eval $(call KernelPackage,via-rhine))
239
240 define KernelPackage/8139too
241 TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
242 DESCRIPTION:=\
243 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
244 FILES:=$(MODULES_DIR)/kernel/drivers/net/8139too.$(LINUX_KMOD_SUFFIX)
245 KCONFIG:=$(CONFIG_8139TOO)
246 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
247 SUBMENU:=$(NDMENU)
248 endef
249 $(eval $(call KernelPackage,8139too))
250
251 define KernelPackage/e100
252 TITLE:=Intel(R) PRO/100+ cards kernel support
253 DESCRIPTION:=\
254 Kernel modules for Intel(R) PRO/100+ Ethernet adapters.
255 FILES:=$(MODULES_DIR)/kernel/drivers/net/e100.$(LINUX_KMOD_SUFFIX)
256 KCONFIG:=$(CONFIG_E100)
257 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
258 SUBMENU:=$(NDMENU)
259 endef
260 $(eval $(call KernelPackage,e100))
261
262 define KernelPackage/3c59x
263 TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
264 DESCRIPTION:=\
265 This option enables driver support for a large number of 10mbps and \\\
266 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters: \\\
267 - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI \\\
268 - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI \\\
269 - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus \\\
270 - "Tornado" (3c905) PCI \\\
271 - "Hurricane" (3c555/3cSOHO) PCI
272 FILES:=$(MODULES_DIR)/kernel/drivers/net/3c59x.$(LINUX_KMOD_SUFFIX)
273 KCONFIG:=$(CONFIG_3C59X)
274 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
275 SUBMENU:=$(NDMENU)
276 endef
277 $(eval $(call KernelPackage,3c59x))