2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 NSMENU:=Network Support
11 define KernelPackage/atm
15 Kernel modules for ATM support
17 $(MODULES_DIR)/kernel/net/atm/atm.$(LINUX_KMOD_SUFFIX) \
18 $(MODULES_DIR)/kernel/net/atm/br2684.$(LINUX_KMOD_SUFFIX)
19 KCONFIG:=$(CONFIG_ATM)
21 AUTOLOAD:=$(call AutoLoad,30,atm)
23 $(eval $(call KernelPackage,atm))
25 define KernelPackage/atmtcp
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)
33 AUTOLOAD:=$(call AutoLoad,40,atmtcp)
35 $(eval $(call KernelPackage,atmtcp))
38 define KernelPackage/ipip
39 TITLE:=IP in IP encapsulation support
41 Kernel modules for IP in IP encapsulation
42 KCONFIG:=$(CONFIG_NET_IPIP)
45 $(eval $(call KernelPackage,ipip))
47 define KernelPackage/ipip/2.4
48 FILES:=$(MODULES_DIR)/kernel/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX)
49 AUTOLOAD:=$(call AutoLoad,30,ipip)
52 define KernelPackage/ipip/2.6
54 $(MODULES_DIR)/kernel/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX) \
55 $(MODULES_DIR)/kernel/net/ipv4/tunnel4.$(LINUX_KMOD_SUFFIX)
56 AUTOLOAD:=$(call AutoLoad,30,ipip tunnel4)
60 define KernelPackage/ipsec
61 TITLE:=IPsec related modules (IPv4 and IPv6)
63 Kernel modules for IPsec support in both IPv4 and IPv6.\\\
70 $(MODULES_DIR)/kernel/net/key/af_key.$(LINUX_KMOD_SUFFIX) \
71 $(MODULES_DIR)/kernel/net/xfrm/xfrm_user.$(LINUX_KMOD_SUFFIX)
73 $(eval $(call KernelPackage,ipsec))
75 define KernelPackage/ipsec4
76 TITLE:=IPsec related modules (IPv4)
78 Kernel modules for IPsec support in IPv4.\\\
87 $(MODULES_DIR)/kernel/net/ipv4/{ah4,esp4,ipcomp,xfrm4_tunnel}.$(LINUX_KMOD_SUFFIX)
89 $(eval $(call KernelPackage,ipsec4))
91 define KernelPackage/ipsec6
92 TITLE:=IPsec related modules (IPv6)
94 Kernel modules for IPsec support in IPv6.\\\
103 $(MODULES_DIR)/kernel/net/ipv6/{ah6,esp6,ipcomp6,xfrm6_tunnel}.$(LINUX_KMOD_SUFFIX)
105 $(eval $(call KernelPackage,ipsec6))
108 define KernelPackage/ipv6
111 Kernel modules for IPv6 support
112 KCONFIG:=$(CONFIG_IPV6)
113 FILES:=$(MODULES_DIR)/kernel/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
116 $(eval $(call KernelPackage,ipv6))
119 define KernelPackage/gre
122 Generic Routing Encapsulation support
123 KCONFIG=$(CONFIG_NET_IPGRE)
124 FILES=$(MODULES_DIR)/kernel/net/ipv4/ip_gre.$(LINUX_KMOD_SUFFIX)
127 $(eval $(call KernelPackage,gre))
130 define KernelPackage/tun
131 TITLE:=Universal TUN/TAP driver
133 Kernel support for the TUN/TAP tunneling device
134 KCONFIG:=$(CONFIG_TUN)
135 FILES:=$(MODULES_DIR)/kernel/drivers/net/tun.$(LINUX_KMOD_SUFFIX)
137 AUTOLOAD:=$(call AutoLoad,30,tun)
139 $(eval $(call KernelPackage,tun))
142 define KernelPackage/ppp
145 Kernel modules for PPP support
146 KCONFIG:=$(CONFIG_PPP)
150 define KernelPackage/ppp/2.6
152 $(MODULES_DIR)/kernel/drivers/net/ppp_async.ko \
153 $(MODULES_DIR)/kernel/drivers/net/ppp_generic.ko \
154 $(MODULES_DIR)/kernel/drivers/net/slhc.ko \
155 $(MODULES_DIR)/kernel/lib/crc-ccitt.ko
156 AUTOLOAD:=$(call AutoLoad,30,crc-ccitt)
159 define KernelPackage/ppp/2.4
161 $(MODULES_DIR)/kernel/drivers/net/ppp_async.o \
162 $(MODULES_DIR)/kernel/drivers/net/ppp_generic.o \
163 $(MODULES_DIR)/kernel/drivers/net/slhc.o
165 $(eval $(call KernelPackage,ppp))
168 define KernelPackage/pppoe
171 Kernel modules for PPPoE (PPP over Ethernet) support
173 KCONFIG:=$(CONFIG_PPPOE)
175 $(MODULES_DIR)/kernel/drivers/net/pppoe.$(LINUX_KMOD_SUFFIX) \
176 $(MODULES_DIR)/kernel/drivers/net/pppox.$(LINUX_KMOD_SUFFIX)
179 $(eval $(call KernelPackage,pppoe))
182 define KernelPackage/pppoa
185 Kernel modules for PPPoA (PPP over ATM) support
187 KCONFIG:=$(CONFIG_PPPOATM)
188 FILES:=$(MODULES_DIR)/kernel/net/atm/pppoatm.$(LINUX_KMOD_SUFFIX)
191 $(eval $(call KernelPackage,pppoa))
194 define KernelPackage/mppe
195 TITLE:=Microsoft PPP compression/encryption
196 DESCRIPTION:=Kernel modules for Microsoft PPP compression/encryption
198 KCONFIG:=$(CONFIG_PPP_MPPE)
202 define KernelPackage/mppe/2.4
203 FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_mppe_mppc.$(LINUX_KMOD_SUFFIX)
206 define KernelPackage/mppe/2.6
207 FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_mppe.$(LINUX_KMOD_SUFFIX)
209 $(eval $(call KernelPackage,mppe))
212 define KernelPackage/sched
213 TITLE:=Traffic schedulers
215 Kernel schedulers for IP traffic
216 FILES:=$(MODULES_DIR)/kernel/net/sched/*.$(LINUX_KMOD_SUFFIX)
219 $(eval $(call KernelPackage,sched))
222 define KernelPackage/ieee80211softmac
223 TITLE:=802.11 Networking stack
227 - ieee80211_crypt \\\
229 - ieee80211_crypt_wep \\\
230 - ieee80211_crypt_tkip \\\
231 - ieee80211_crytp_ccmp \\\
234 KCONFIG:=$(CONFIG_IEEE80211_SOFTMAC)
236 $(MODULES_DIR)/kernel/net/ieee80211/*.$(LINUX_KMOD_SUFFIX) \
237 $(MODULES_DIR)/kernel/net/ieee80211/softmac/*.$(LINUX_KMOD_SUFFIX)
238 AUTOLOAD:=$(call AutoLoad,10, \
241 ieee80211_crypt_wep \
242 ieee80211_crypt_tkip \
243 ieee80211_crypt_ccmp \
248 $(eval $(call KernelPackage,ieee80211softmac))
252 NDMENU:=Network Devices
254 define KernelPackage/natsemi
255 TITLE:=National Semiconductor DP8381x series
257 Kernel modules for National Semiconductor DP8381x series PCI Ethernet \\\
259 FILES:=$(MODULES_DIR)/kernel/drivers/net/natsemi.$(LINUX_KMOD_SUFFIX)
260 KCONFIG:=$(CONFIG_NATSEMI)
261 DEPENDS:=@LINUX_2_6_X86
264 AUTOLOAD:=$(call AutoLoad,20,natsemi)
266 $(eval $(call KernelPackage,natsemi))
268 define KernelPackage/sis900
269 TITLE:=SiS 900 Ethernet support
271 Kernel modules for Sis 900 Ethernet adapters.
272 FILES:=$(MODULES_DIR)/kernel/drivers/net/sis900.$(LINUX_KMOD_SUFFIX)
273 KCONFIG:=$(CONFIG_SIS900)
274 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
277 $(eval $(call KernelPackage,sis900))
279 define KernelPackage/via-rhine
280 TITLE:=Via Rhine ethernet support
282 Kernel modules for Via Rhine Ethernet chipsets.
283 FILES:=$(MODULES_DIR)/kernel/drivers/net/via-rhine.$(LINUX_KMOD_SUFFIX)
284 KCONFIG:=$(CONFIG_VIA_RHINE)
285 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
288 $(eval $(call KernelPackage,via-rhine))
290 define KernelPackage/8139too
291 TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
293 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
294 FILES:=$(MODULES_DIR)/kernel/drivers/net/8139too.$(LINUX_KMOD_SUFFIX)
295 KCONFIG:=$(CONFIG_8139TOO)
296 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
299 $(eval $(call KernelPackage,8139too))
301 define KernelPackage/e100
302 TITLE:=Intel(R) PRO/100+ cards kernel support
304 Kernel modules for Intel(R) PRO/100+ Ethernet adapters.
305 FILES:=$(MODULES_DIR)/kernel/drivers/net/e100.$(LINUX_KMOD_SUFFIX)
306 KCONFIG:=$(CONFIG_E100)
307 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
310 $(eval $(call KernelPackage,e100))
312 define KernelPackage/3c59x
313 TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
315 This option enables driver support for a large number of 10mbps and \\\
316 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters: \\\
317 - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI \\\
318 - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI \\\
319 - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus \\\
320 - "Tornado" (3c905) PCI \\\
321 - "Hurricane" (3c555/3cSOHO) PCI
322 FILES:=$(MODULES_DIR)/kernel/drivers/net/3c59x.$(LINUX_KMOD_SUFFIX)
323 KCONFIG:=$(CONFIG_3C59X)
324 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
327 $(eval $(call KernelPackage,3c59x))