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
19 $(LINUX_DIR)/net/atm/atm.$(LINUX_KMOD_SUFFIX) \
20 $(LINUX_DIR)/net/atm/br2684.$(LINUX_KMOD_SUFFIX)
21 AUTOLOAD:=$(call AutoLoad,30,atm br2684)
24 define KernelPackage/atm/description
25 Kernel modules for ATM support
28 $(eval $(call KernelPackage,atm))
31 define KernelPackage/atmtcp
34 DEPENDS:=@LINUX_2_6 kmod-atm
35 KCONFIG:=CONFIG_ATM_TCP CONFIG_ATM_DRIVERS=y
36 FILES:=$(LINUX_DIR)/drivers/atm/atmtcp.$(LINUX_KMOD_SUFFIX)
37 AUTOLOAD:=$(call AutoLoad,40,atmtcp)
40 define KernelPackage/atmtcp/description
41 Kernel module for ATM over TCP support
44 $(eval $(call KernelPackage,atmtcp))
47 define KernelPackage/bonding
49 TITLE:=Ethernet bonding driver
50 KCONFIG:=CONFIG_BONDING
51 FILES:=$(LINUX_DIR)/drivers/net/bonding/bonding.$(LINUX_KMOD_SUFFIX)
52 AUTOLOAD:=$(call AutoLoad,40,bonding)
55 define KernelPackage/bonding/description
56 Kernel module for NIC bonding.
59 $(eval $(call KernelPackage,bonding))
62 define KernelPackage/ipip
64 TITLE:=IP in IP encapsulation support
68 FILES:=$(LINUX_DIR)/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX)
69 AUTOLOAD:=$(call AutoLoad,30,ipip)
72 define KernelPackage/ipip/2.6
73 # KCONFIG+=CONFIG_INET_TUNNEL
74 FILES+=$(LINUX_DIR)/net/ipv4/tunnel4.$(LINUX_KMOD_SUFFIX)
75 AUTOLOAD+=$(call AutoLoad,31,tunnel4)
78 define KernelPackage/ipip/description
79 Kernel modules for IP in IP encapsulation
82 $(eval $(call KernelPackage,ipip))
85 define KernelPackage/ipsec
87 TITLE:=IPsec related modules (IPv4 and IPv6)
88 DEPENDS:=@LINUX_2_6 +kmod-crypto
93 $(LINUX_DIR)/net/key/af_key.$(LINUX_KMOD_SUFFIX) \
94 $(LINUX_DIR)/net/xfrm/xfrm_user.$(LINUX_KMOD_SUFFIX)
97 define KernelPackage/ipsec/description
98 Kernel modules for IPsec support in both IPv4 and IPv6.
104 $(eval $(call KernelPackage,ipsec))
107 define KernelPackage/ipsec4
109 TITLE:=IPsec related modules (IPv4)
115 CONFIG_INET_XFRM_TUNNEL
116 FILES:= $(foreach mod,ah4 esp4 ipcomp xfrm4_tunnel, \
117 $(LINUX_DIR)/net/ipv4/$(mod).$(LINUX_KMOD_SUFFIX) \
121 define KernelPackage/ipsec4/description
122 Kernel modules for IPsec support in IPv4.
130 $(eval $(call KernelPackage,ipsec4))
133 define KernelPackage/ipsec6
135 TITLE:=IPsec related modules (IPv6)
140 CONFIG_INET6_IPCOMP \
141 CONFIG_INET6_XFRM_TUNNEL \
143 FILES:= $(foreach mod,ah6 esp6 ipcomp6 xfrm6_tunnel tunnel6, \
144 $(LINUX_DIR)/net/ipv6/$(mod).$(LINUX_KMOD_SUFFIX) \
148 define KernelPackage/ipsec6/description
149 Kernel modules for IPsec support in IPv6.
158 $(eval $(call KernelPackage,ipsec6))
161 define KernelPackage/ipv6
167 FILES:=$(LINUX_DIR)/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
168 AUTOLOAD:=$(call AutoLoad,20,ipv6)
171 define KernelPackage/ipv6/2.6
172 # KCONFIG+=CONFIG_IPV6_SIT
173 FILES+=$(LINUX_DIR)/net/ipv6/sit.$(LINUX_KMOD_SUFFIX)
174 AUTOLOAD+=$(call AutoLoad,21,sit)
177 define KernelPackage/ipv6/description
178 Kernel modules for IPv6 support
181 $(eval $(call KernelPackage,ipv6))
184 define KernelPackage/gre
187 KCONFIG:=CONFIG_NET_IPGRE
188 FILES=$(LINUX_DIR)/net/ipv4/ip_gre.$(LINUX_KMOD_SUFFIX)
191 define KernelPackage/gre/description
192 Generic Routing Encapsulation support
195 $(eval $(call KernelPackage,gre))
198 define KernelPackage/tun
200 TITLE:=Universal TUN/TAP driver
202 FILES:=$(LINUX_DIR)/drivers/net/tun.$(LINUX_KMOD_SUFFIX)
203 AUTOLOAD:=$(call AutoLoad,30,tun)
206 define KernelPackage/tun/description
207 Kernel support for the TUN/TAP tunneling device
210 $(eval $(call KernelPackage,tun))
213 define KernelPackage/ppp
222 $(LINUX_DIR)/drivers/net/ppp_async.$(LINUX_KMOD_SUFFIX) \
223 $(LINUX_DIR)/drivers/net/ppp_generic.$(LINUX_KMOD_SUFFIX) \
224 $(LINUX_DIR)/drivers/net/slhc.$(LINUX_KMOD_SUFFIX)
227 define KernelPackage/ppp/2.4
228 AUTOLOAD:=$(call AutoLoad,30,slhc ppp_generic ppp_async)
231 define KernelPackage/ppp/2.6
236 $(LINUX_DIR)/lib/crc-ccitt.$(LINUX_KMOD_SUFFIX)
237 AUTOLOAD:=$(call AutoLoad,30,crc-ccitt slhc ppp_generic ppp_async)
240 define KernelPackage/ppp/description
241 Kernel modules for PPP support
244 $(eval $(call KernelPackage,ppp))
247 define KernelPackage/ppp-synctty
249 TITLE:=PPP sync tty support
251 KCONFIG:=CONFIG_PPP_SYNC_TTY
252 FILES:=$(LINUX_DIR)/drivers/net/ppp_synctty.$(LINUX_KMOD_SUFFIX)
253 AUTOLOAD:=$(call AutoLoad,40,ppp_synctty)
256 define KernelPackage/ppp-synctty/description
257 Kernel modules for PPP sync tty support
260 $(eval $(call KernelPackage,ppp-synctty))
263 define KernelPackage/pppoe
267 KCONFIG:=CONFIG_PPPOE
269 $(LINUX_DIR)/drivers/net/pppoe.$(LINUX_KMOD_SUFFIX) \
270 $(LINUX_DIR)/drivers/net/pppox.$(LINUX_KMOD_SUFFIX)
273 define KernelPackage/pppoe/description
274 Kernel modules for PPPoE (PPP over Ethernet) support
277 $(eval $(call KernelPackage,pppoe))
280 define KernelPackage/pppoa
283 DEPENDS:=kmod-ppp +kmod-atm
284 KCONFIG:=CONFIG_PPPOATM
285 FILES:=$(LINUX_DIR)/net/atm/pppoatm.$(LINUX_KMOD_SUFFIX)
286 AUTOLOAD:=$(call AutoLoad,40,pppoatm)
289 define KernelPackage/pppoa/description
290 Kernel modules for PPPoA (PPP over ATM) support
293 $(eval $(call KernelPackage,pppoa))
296 define KernelPackage/ipoa
300 KCONFIG:=CONFIG_ATM_CLIP
301 FILES:=$(LINUX_DIR)/net/atm/clip.$(LINUX_KMOD_SUFFIX)
302 AUTOLOAD:=$(call AutoLoad,40,clip)
305 define KernelPackage/ipoa/description
306 Kernel modules for IPoA (IP over ATM) support
309 $(eval $(call KernelPackage,ipoa))
312 define KernelPackage/mppe
314 TITLE:=Microsoft PPP compression/encryption
315 DEPENDS:=kmod-ppp +kmod-crypto
317 CONFIG_PPP_MPPE_MPPC \
321 define KernelPackage/mppe/2.4
322 # KCONFIG:=CONFIG_PPP_MPPE_MPPC
323 FILES:=$(LINUX_DIR)/drivers/net/ppp_mppe_mppc.$(LINUX_KMOD_SUFFIX)
324 AUTOLOAD:=$(call AutoLoad,31,ppp_mppe_mppc)
327 define KernelPackage/mppe/2.6
328 # KCONFIG:=CONFIG_PPP_MPPE
329 FILES:=$(LINUX_DIR)/drivers/net/ppp_mppe.$(LINUX_KMOD_SUFFIX)
330 AUTOLOAD:=$(call AutoLoad,31,ppp_mppe)
333 define KernelPackage/mppe/description
334 Kernel modules for Microsoft PPP compression/encryption
337 $(eval $(call KernelPackage,mppe))
340 define KernelPackage/sched
342 TITLE:=Traffic schedulers
343 KCONFIG:=CONFIG_NET_SCHED
344 FILES:=$(LINUX_DIR)/net/sched/*.$(LINUX_KMOD_SUFFIX)
347 define KernelPackage/sched/description
348 Kernel schedulers for IP traffic
351 $(eval $(call KernelPackage,sched))
354 define KernelPackage/ax25
361 $(LINUX_DIR)/net/ax25/ax25.$(LINUX_KMOD_SUFFIX) \
362 $(LINUX_DIR)/drivers/net/hamradio/mkiss.$(LINUX_KMOD_SUFFIX)
363 AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss)
366 define KernelPackage/ax25/description
367 Kernel modules for AX25 support
370 $(eval $(call KernelPackage,ax25))
373 define KernelPackage/mp-alg
375 TITLE:=ECMP caching algorithms
378 CONFIG_IP_ROUTE_MULTIPATH_RR \
379 CONFIG_IP_ROUTE_MULTIPATH_RANDOM \
380 CONFIG_IP_ROUTE_MULTIPATH_WRANDOM \
381 CONFIG_IP_ROUTE_MULTIPATH_DRR
383 $(LINUX_DIR)/net/ipv4/multipath_rr.$(LINUX_KMOD_SUFFIX) \
384 $(LINUX_DIR)/net/ipv4/multipath_random.$(LINUX_KMOD_SUFFIX) \
385 $(LINUX_DIR)/net/ipv4/multipath_wrandom.$(LINUX_KMOD_SUFFIX) \
386 $(LINUX_DIR)/net/ipv4/multipath_drr.$(LINUX_KMOD_SUFFIX)
387 AUTOLOAD:=$(call AutoLoad,35,multipath_rr multipath_random multipath_wrandom multipath_drr)
390 define KernelPackage/mp-alg/description
391 Kernel modules that provide several different algorithms for multipath
392 route selection from the route cache. The iproute "mpath" argument allows
393 specifying which algorithm to use for routes.
394 quagga (at least <=0.99.6) requires a multipath patch to support this
395 cached mp route feature.
398 $(eval $(call KernelPackage,mp-alg))
401 NDMENU:=Network Devices
403 define KernelPackage/natsemi
405 TITLE:=National Semiconductor DP8381x series
407 KCONFIG:=CONFIG_NATSEMI
408 FILES:=$(LINUX_DIR)/drivers/net/natsemi.$(LINUX_KMOD_SUFFIX)
409 AUTOLOAD:=$(call AutoLoad,20,natsemi)
412 define KernelPackage/natsemi/description
413 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
417 $(eval $(call KernelPackage,natsemi))
420 define KernelPackage/r6040
422 TITLE:=RDC Fast-Ethernet support
424 KCONFIG:=CONFIG_R6040
425 FILES:=$(LINUX_DIR)/drivers/net/r6040.$(LINUX_KMOD_SUFFIX)
428 define KernelPackage/r6040/description
429 Kernel modules for RDC Fast-Ethernet adapters.
432 $(eval $(call KernelPackage,r6040))
435 define KernelPackage/sis900
437 TITLE:=SiS 900 Ethernet support
439 KCONFIG:=CONFIG_SIS900
440 FILES:=$(LINUX_DIR)/drivers/net/sis900.$(LINUX_KMOD_SUFFIX)
441 AUTOLOAD:=$(call AutoLoad,50,sis900)
444 define KernelPackage/sis900/description
445 Kernel modules for Sis 900 Ethernet adapters.
448 $(eval $(call KernelPackage,sis900))
451 define KernelPackage/via-rhine
453 TITLE:=Via Rhine ethernet support
455 KCONFIG:=CONFIG_VIA_RHINE
456 FILES:=$(LINUX_DIR)/drivers/net/via-rhine.$(LINUX_KMOD_SUFFIX)
457 AUTOLOAD:=$(call AutoLoad,50,via-rhine)
460 define KernelPackage/via-rhine/description
461 Kernel modules for Via Rhine Ethernet chipsets.
464 $(eval $(call KernelPackage,via-rhine))
467 define KernelPackage/via-velocity
469 TITLE:=VIA Velocity Gigabit Ethernet Adapter kernel support
470 DEPENDS:=@TARGET_ixp4xx
471 KCONFIG:=CONFIG_VIA_VELOCITY
472 FILES:=$(LINUX_DIR)/drivers/net/via-velocity.$(LINUX_KMOD_SUFFIX)
473 AUTOLOAD:=$(call AutoLoad,50,via-velocity)
476 define KernelPackage/via-velocity/description
477 Kernel modules for VIA Velocity Gigabit Ethernet chipsets.
480 $(eval $(call KernelPackage,via-velocity))
483 define KernelPackage/8139too
485 TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
487 KCONFIG:=CONFIG_8139TOO
488 FILES:=$(LINUX_DIR)/drivers/net/8139too.$(LINUX_KMOD_SUFFIX)
489 AUTOLOAD:=$(call AutoLoad,50,8139too)
492 define KernelPackage/8139too/description
493 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
496 $(eval $(call KernelPackage,8139too))
499 define KernelPackage/r8169
501 TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
503 KCONFIG:=CONFIG_R8169 CONFIG_R8169_NAPI=y CONFIG_R8169_VLAN=n
504 FILES:=$(LINUX_DIR)/drivers/net/r8169.$(LINUX_KMOD_SUFFIX)
505 AUTOLOAD:=$(call AutoLoad,50,r8169)
508 define KernelPackage/r8169/description
509 Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters.
512 $(eval $(call KernelPackage,r8169))
515 define KernelPackage/ne2k-pci
517 TITLE:=ne2k-pci Ethernet Adapter kernel support
519 KCONFIG:=CONFIG_NE2K_PCI
521 $(LINUX_DIR)/drivers/net/ne2k-pci.$(LINUX_KMOD_SUFFIX) \
522 $(LINUX_DIR)/drivers/net/8390.$(LINUX_KMOD_SUFFIX)
523 AUTOLOAD:=$(call AutoLoad,50,8390 ne2k-pci)
526 define KernelPackage/ne2k-pci/description
527 Kernel modules for NE2000 PCI Ethernet Adapter kernel.
530 $(eval $(call KernelPackage,ne2k-pci))
533 define KernelPackage/ixp4xx-npe
535 TITLE:=Intel(R) IXP4xx ethernet support
536 DEPENDS:=@TARGET_ixp4xx
537 KCONFIG:=CONFIG_IXP4XX_MAC
539 $(LINUX_DIR)/drivers/net/ixp4xx/ixp4xx_npe.$(LINUX_KMOD_SUFFIX) \
540 $(LINUX_DIR)/drivers/net/ixp4xx/ixp4xx_qmgr.$(LINUX_KMOD_SUFFIX) \
541 $(LINUX_DIR)/drivers/net/ixp4xx/ixp4xx_mac.$(LINUX_KMOD_SUFFIX)
542 AUTOLOAD:=$(call AutoLoad,20,ixp4xx_npe ixp4xx_qmgr ixp4xx_mac)
545 define KernelPackage/ixp4xx-npe/description
546 Kernel modules for Intel(R) IXP4xx onboard ethernet.
549 $(eval $(call KernelPackage,ixp4xx-npe))
552 define KernelPackage/e100
554 TITLE:=Intel(R) PRO/100+ cards kernel support
557 FILES:=$(LINUX_DIR)/drivers/net/e100.$(LINUX_KMOD_SUFFIX)
558 AUTOLOAD:=$(call AutoLoad,50,e100)
561 define KernelPackage/e100/description
562 Kernel modules for Intel(R) PRO/100+ Ethernet adapters.
565 $(eval $(call KernelPackage,e100))
568 define KernelPackage/e1000
570 TITLE:=Intel(R) PRO/1000 cards kernel support
572 KCONFIG:=CONFIG_E1000
573 FILES:=$(LINUX_DIR)/drivers/net/e1000/e1000.$(LINUX_KMOD_SUFFIX)
574 AUTOLOAD:=$(call AutoLoad,50,e1000)
577 define KernelPackage/e1000/description
578 Kernel modules for Intel(R) PRO/1000 Ethernet adapters.
581 $(eval $(call KernelPackage,e1000))
584 define KernelPackage/3c59x
586 TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
588 KCONFIG:=CONFIG_3C59X
589 FILES:=$(LINUX_DIR)/drivers/net/3c59x.$(LINUX_KMOD_SUFFIX)
590 AUTOLOAD:=$(call AutoLoad,50,3c59x)
593 define KernelPackage/3c59x/description
594 This option enables driver support for a large number of 10mbps and
595 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters:
596 - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI
597 - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI
598 - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus
599 - "Tornado" (3c905) PCI
600 - "Hurricane" (3c555/3cSOHO) PCI
603 $(eval $(call KernelPackage,3c59x))