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
14 Kernel modules for ATM support
17 $(LINUX_DIR)/net/atm/atm.$(LINUX_KMOD_SUFFIX) \
18 $(LINUX_DIR)/net/atm/br2684.$(LINUX_KMOD_SUFFIX)
21 AUTOLOAD:=$(call AutoLoad,30,atm br2684)
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:=$(LINUX_DIR)/drivers/atm/atmtcp.$(LINUX_KMOD_SUFFIX)
31 KCONFIG:=CONFIG_ATM_TCP CONFIG_ATM_DRIVERS=y
33 AUTOLOAD:=$(call AutoLoad,40,atmtcp)
35 $(eval $(call KernelPackage,atmtcp))
37 define KernelPackage/bonding
38 TITLE:=Ethernet bonding driver
40 Kernel module for NIC bonding.
41 FILES:=$(LINUX_DIR)/drivers/net/bonding/bonding.$(LINUX_KMOD_SUFFIX)
42 KCONFIG:=CONFIG_BONDING
44 AUTOLOAD:=$(call AutoLoad,40,bonding)
46 $(eval $(call KernelPackage,bonding))
48 define KernelPackage/ipip
49 TITLE:=IP in IP encapsulation support
51 Kernel modules for IP in IP encapsulation
52 KCONFIG:=CONFIG_NET_IPIP
56 define KernelPackage/ipip/2.4
57 FILES:=$(LINUX_DIR)/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX)
58 AUTOLOAD:=$(call AutoLoad,30,ipip)
61 define KernelPackage/ipip/2.6
63 $(LINUX_DIR)/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX) \
64 $(LINUX_DIR)/net/ipv4/tunnel4.$(LINUX_KMOD_SUFFIX)
65 AUTOLOAD:=$(call AutoLoad,30,ipip tunnel4)
67 $(eval $(call KernelPackage,ipip))
69 define KernelPackage/ipsec
70 TITLE:=IPsec related modules (IPv4 and IPv6)
72 Kernel modules for IPsec support in both IPv4 and IPv6.\\\
78 KCONFIG:=CONFIG_NET_KEY
80 $(LINUX_DIR)/net/key/af_key.$(LINUX_KMOD_SUFFIX) \
81 $(LINUX_DIR)/net/xfrm/xfrm_user.$(LINUX_KMOD_SUFFIX)
83 $(eval $(call KernelPackage,ipsec))
85 define KernelPackage/ipsec4
86 TITLE:=IPsec related modules (IPv4)
88 Kernel modules for IPsec support in IPv4.\\\
95 KCONFIG:=CONFIG_INET_AH
97 FILES:= $(foreach mod,ah4 esp4 ipcomp xfrm4_tunnel, \
98 $(LINUX_DIR)/net/ipv4/$(mod).$(LINUX_KMOD_SUFFIX) \
101 $(eval $(call KernelPackage,ipsec4))
103 define KernelPackage/ipsec6
104 TITLE:=IPsec related modules (IPv6)
106 Kernel modules for IPsec support in IPv6.\\\
114 KCONFIG:=CONFIG_INET6_AH
116 FILES:= $(foreach mod,ah6 esp6 ipcomp6 xfrm6_tunnel tunnel6, \
117 $(LINUX_DIR)/net/ipv6/$(mod).$(LINUX_KMOD_SUFFIX) \
120 $(eval $(call KernelPackage,ipsec6))
123 define KernelPackage/ipv6
126 Kernel modules for IPv6 support
129 AUTOLOAD:=$(call AutoLoad,20,ipv6)
131 define KernelPackage/ipv6/2.4
132 FILES:=$(LINUX_DIR)/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
134 define KernelPackage/ipv6/2.6
136 $(LINUX_DIR)/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX) \
137 $(LINUX_DIR)/net/ipv6/sit.$(LINUX_KMOD_SUFFIX)
139 $(eval $(call KernelPackage,ipv6))
142 define KernelPackage/gre
145 Generic Routing Encapsulation support
146 KCONFIG:=CONFIG_NET_IPGRE
147 FILES=$(LINUX_DIR)/net/ipv4/ip_gre.$(LINUX_KMOD_SUFFIX)
150 $(eval $(call KernelPackage,gre))
153 define KernelPackage/tun
154 TITLE:=Universal TUN/TAP driver
156 Kernel support for the TUN/TAP tunneling device
158 FILES:=$(LINUX_DIR)/drivers/net/tun.$(LINUX_KMOD_SUFFIX)
160 AUTOLOAD:=$(call AutoLoad,30,tun)
162 $(eval $(call KernelPackage,tun))
165 define KernelPackage/ppp
168 Kernel modules for PPP support
173 define KernelPackage/ppp/2.6
175 $(LINUX_DIR)/drivers/net/ppp_async.ko \
176 $(LINUX_DIR)/drivers/net/ppp_generic.ko \
177 $(LINUX_DIR)/drivers/net/slhc.ko \
178 $(LINUX_DIR)/lib/crc-ccitt.ko
179 AUTOLOAD:=$(call AutoLoad,30,crc-ccitt slhc ppp_generic ppp_async)
182 define KernelPackage/ppp/2.4
184 $(LINUX_DIR)/drivers/net/ppp_async.o \
185 $(LINUX_DIR)/drivers/net/ppp_generic.o \
186 $(LINUX_DIR)/drivers/net/slhc.o
187 AUTOLOAD:=$(call AutoLoad,30,slhc ppp_generic ppp_async)
189 $(eval $(call KernelPackage,ppp))
192 define KernelPackage/pppoe
195 Kernel modules for PPPoE (PPP over Ethernet) support
197 KCONFIG:=CONFIG_PPPOE
199 $(LINUX_DIR)/drivers/net/pppoe.$(LINUX_KMOD_SUFFIX) \
200 $(LINUX_DIR)/drivers/net/pppox.$(LINUX_KMOD_SUFFIX)
203 $(eval $(call KernelPackage,pppoe))
206 define KernelPackage/pppoa
209 Kernel modules for PPPoA (PPP over ATM) support
210 DEPENDS:=kmod-ppp kmod-atm
211 KCONFIG:=CONFIG_PPPOATM
212 FILES:=$(LINUX_DIR)/net/atm/pppoatm.$(LINUX_KMOD_SUFFIX)
213 AUTOLOAD:=$(call AutoLoad,40,pppoatm)
216 $(eval $(call KernelPackage,pppoa))
219 define KernelPackage/mppe
220 TITLE:=Microsoft PPP compression/encryption
221 DESCRIPTION:=Kernel modules for Microsoft PPP compression/encryption
223 KCONFIG:=CONFIG_PPP_MPPE_MPPC CONFIG_PPP_MPPE
227 define KernelPackage/mppe/2.4
228 FILES:=$(LINUX_DIR)/drivers/net/ppp_mppe_mppc.$(LINUX_KMOD_SUFFIX)
229 AUTOLOAD:=$(call AutoLoad,31,ppp_mppe_mppc)
232 define KernelPackage/mppe/2.6
233 FILES:=$(LINUX_DIR)/drivers/net/ppp_mppe.$(LINUX_KMOD_SUFFIX)
234 AUTOLOAD:=$(call AutoLoad,31,ppp_mppe)
236 $(eval $(call KernelPackage,mppe))
239 define KernelPackage/sched
240 TITLE:=Traffic schedulers
242 Kernel schedulers for IP traffic
243 FILES:=$(LINUX_DIR)/net/sched/*.$(LINUX_KMOD_SUFFIX)
246 $(eval $(call KernelPackage,sched))
250 define KernelPackage/ax25
252 DESCRIPTION:=Kernel modules for AX25 support
254 KCONFIG:=CONFIG_AX25 CONFIG_MKISS
256 $(LINUX_DIR)/net/ax25/ax25.$(LINUX_KMOD_SUFFIX) \
257 $(LINUX_DIR)/drivers/net/hamradio/mkiss.$(LINUX_KMOD_SUFFIX)
258 AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss)
260 $(eval $(call KernelPackage,ax25))
263 define KernelPackage/mp-alg
264 TITLE:=ECMP caching algorithms
267 Kernel modules that provide several different algorithms for multipath \\\
268 route selection from the route cache. The iproute "mpath" argument allows \\\
269 specifying which algorithm to use for routes. \\\
270 quagga (at least <=0.99.6) requires a multipath patch to support this \\\
271 cached mp route feature.
273 KCONFIG:=CONFIG_IP_ROUTE_MULTIPATH_RR CONFIG_IP_ROUTE_MULTIPATH_RANDOM CONFIG_IP_ROUTE_MULTIPATH_WRANDOM CONFIG_IP_ROUTE_MULTIPATH_DRR
274 FILES:=$(LINUX_DIR)/net/ipv4/multipath_*.$(LINUX_KMOD_SUFFIX)
275 AUTOLOAD:=$(call AutoLoad,35,multipath_rr multipath_random multipath_wrandom multipath_drr)
277 $(eval $(call KernelPackage,mp-alg))
280 NDMENU:=Network Devices
282 define KernelPackage/natsemi
283 TITLE:=National Semiconductor DP8381x series
285 Kernel modules for National Semiconductor DP8381x series PCI Ethernet \\\
287 FILES:=$(LINUX_DIR)/drivers/net/natsemi.$(LINUX_KMOD_SUFFIX)
288 KCONFIG:=CONFIG_NATSEMI
289 DEPENDS:=@LINUX_2_6_X86
291 AUTOLOAD:=$(call AutoLoad,20,natsemi)
293 $(eval $(call KernelPackage,natsemi))
295 define KernelPackage/r6040
296 TITLE:=RDC Fast-Ethernet support
298 Kernel modules for RDC Fast-Ethernet adapters.
299 FILES:=$(LINUX_DIR)/drivers/net/r6040.$(LINUX_KMOD_SUFFIX)
300 KCONFIG:=CONFIG_R6040
301 DEPENDS:=@LINUX_2_6_RDC
304 $(eval $(call KernelPackage,r6040))
306 define KernelPackage/sis900
307 TITLE:=SiS 900 Ethernet support
309 Kernel modules for Sis 900 Ethernet adapters.
310 FILES:=$(LINUX_DIR)/drivers/net/sis900.$(LINUX_KMOD_SUFFIX)
311 KCONFIG:=CONFIG_SIS900
312 DEPENDS:=@LINUX_2_6_X86
314 AUTOLOAD:=$(call AutoLoad,50,sis900)
316 $(eval $(call KernelPackage,sis900))
318 define KernelPackage/via-rhine
319 TITLE:=Via Rhine ethernet support
321 Kernel modules for Via Rhine Ethernet chipsets.
322 FILES:=$(LINUX_DIR)/drivers/net/via-rhine.$(LINUX_KMOD_SUFFIX)
323 KCONFIG:=CONFIG_VIA_RHINE
324 DEPENDS:=@LINUX_2_6_X86
326 AUTOLOAD:=$(call AutoLoad,50,via-rhine)
328 $(eval $(call KernelPackage,via-rhine))
330 define KernelPackage/via-velocity
331 TITLE:=VIA Velocity Gigabit Ethernet Adapter kernel support
333 Kernel modules for VIA Velocity Gigabit Ethernet chipsets.
334 FILES:=$(LINUX_DIR)/drivers/net/via-velocity.$(LINUX_KMOD_SUFFIX)
335 KCONFIG:=CONFIG_VIA_VELOCITY
336 DEPENDS:=@LINUX_2_6_IXP4XX
338 AUTOLOAD:=$(call AutoLoad,50,via-velocity)
340 $(eval $(call KernelPackage,via-velocity))
342 define KernelPackage/8139too
343 TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
345 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
346 FILES:=$(LINUX_DIR)/drivers/net/8139too.$(LINUX_KMOD_SUFFIX)
347 KCONFIG:=CONFIG_8139TOO
348 DEPENDS:=@LINUX_2_6_X86
350 AUTOLOAD:=$(call AutoLoad,50,8139too)
352 $(eval $(call KernelPackage,8139too))
354 define KernelPackage/r8169
355 TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
357 Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters.
358 FILES:=$(LINUX_DIR)/drivers/net/r8169.$(LINUX_KMOD_SUFFIX)
359 KCONFIG:=CONFIG_R8169 CONFIG_R8169_NAPI=y CONFIG_R8169_VLAN=n
360 DEPENDS:=@LINUX_2_6_X86
362 AUTOLOAD:=$(call AutoLoad,50,r8169)
364 $(eval $(call KernelPackage,r8169))
366 define KernelPackage/ne2k-pci
367 TITLE:=ne2k-pci Ethernet Adapter kernel support
369 ne2k-pci Ethernet Adapter kernel support.
370 FILES:=$(LINUX_DIR)/drivers/net/ne2k-pci.$(LINUX_KMOD_SUFFIX) \
371 $(LINUX_DIR)/drivers/net/8390.$(LINUX_KMOD_SUFFIX)
372 KCONFIG:=CONFIG_NE2K_PCI
373 DEPENDS:=@LINUX_2_6_X86
375 AUTOLOAD:=$(call AutoLoad,50,8390 ne2k-pci)
377 $(eval $(call KernelPackage,ne2k-pci))
379 define KernelPackage/ixp4xx-npe
380 TITLE:=Intel(R) IXP4xx ethernet support
382 Kernel modules for Intel(R) IXP4xx onboard ethernet.
383 FILES:=$(LINUX_DIR)/drivers/net/ixp4xx/ixp4xx_npe.$(LINUX_KMOD_SUFFIX) \
384 $(LINUX_DIR)/drivers/net/ixp4xx/ixp4xx_qmgr.$(LINUX_KMOD_SUFFIX) \
385 $(LINUX_DIR)/drivers/net/ixp4xx/ixp4xx_mac.$(LINUX_KMOD_SUFFIX)
386 KCONFIG:=CONFIG_IXP4XX_MAC
387 DEPENDS:=@LINUX_2_6_IXP4XX
389 AUTOLOAD:=$(call AutoLoad,20,ixp4xx_npe ixp4xx_qmgr ixp4xx_mac)
391 $(eval $(call KernelPackage,ixp4xx-npe))
393 define KernelPackage/e100
394 TITLE:=Intel(R) PRO/100+ cards kernel support
396 Kernel modules for Intel(R) PRO/100+ Ethernet adapters.
397 FILES:=$(LINUX_DIR)/drivers/net/e100.$(LINUX_KMOD_SUFFIX)
399 DEPENDS:=@LINUX_2_6_X86
401 AUTOLOAD:=$(call AutoLoad,50,e100)
403 $(eval $(call KernelPackage,e100))
405 define KernelPackage/e1000
406 TITLE:=Intel(R) PRO/1000 cards kernel support
408 Kernel modules for Intel(R) PRO/1000 Ethernet adapters.
409 FILES:=$(LINUX_DIR)/drivers/net/e1000/e1000.$(LINUX_KMOD_SUFFIX)
410 KCONFIG:=CONFIG_E1000
411 DEPENDS:=@LINUX_2_6_X86
413 AUTOLOAD:=$(call AutoLoad,50,e1000)
415 $(eval $(call KernelPackage,e1000))
417 define KernelPackage/3c59x
418 TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
420 This option enables driver support for a large number of 10mbps and \\\
421 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters: \\\
422 - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI \\\
423 - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI \\\
424 - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus \\\
425 - "Tornado" (3c905) PCI \\\
426 - "Hurricane" (3c555/3cSOHO) PCI
427 FILES:=$(LINUX_DIR)/drivers/net/3c59x.$(LINUX_KMOD_SUFFIX)
428 KCONFIG:=CONFIG_3C59X
429 DEPENDS:=@LINUX_2_6_X86
431 AUTOLOAD:=$(call AutoLoad,50,3c59x)
433 $(eval $(call KernelPackage,3c59x))