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
)
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
/mppe
298 TITLE
:=Microsoft PPP compression
/encryption
301 CONFIG_PPP_MPPE_MPPC \
305 define KernelPackage
/mppe
/2.4
306 # KCONFIG:=CONFIG_PPP_MPPE_MPPC
307 FILES
:=$(LINUX_DIR
)/drivers
/net
/ppp_mppe_mppc.
$(LINUX_KMOD_SUFFIX
)
308 AUTOLOAD
:=$(call AutoLoad
,31,ppp_mppe_mppc
)
311 define KernelPackage
/mppe
/2.6
312 # KCONFIG:=CONFIG_PPP_MPPE
313 FILES
:=$(LINUX_DIR
)/drivers
/net
/ppp_mppe.
$(LINUX_KMOD_SUFFIX
)
314 AUTOLOAD
:=$(call AutoLoad
,31,ppp_mppe
)
317 define KernelPackage
/mppe
/description
318 Kernel modules for Microsoft PPP compression
/encryption
321 $(eval
$(call KernelPackage
,mppe
))
324 define KernelPackage
/sched
326 TITLE
:=Traffic schedulers
327 KCONFIG
:=CONFIG_NET_SCHED
328 FILES
:=$(LINUX_DIR
)/net
/sched
/*.
$(LINUX_KMOD_SUFFIX
)
331 define KernelPackage
/sched
/description
332 Kernel schedulers for IP traffic
335 $(eval
$(call KernelPackage
,sched
))
338 define KernelPackage
/ax25
345 $(LINUX_DIR
)/net
/ax25
/ax25.
$(LINUX_KMOD_SUFFIX
) \
346 $(LINUX_DIR
)/drivers
/net
/hamradio
/mkiss.
$(LINUX_KMOD_SUFFIX
)
347 AUTOLOAD
:=$(call AutoLoad
,80,ax25 mkiss
)
350 define KernelPackage
/ax25
/description
351 Kernel modules for AX25 support
354 $(eval
$(call KernelPackage
,ax25
))
357 define KernelPackage
/mp-alg
359 TITLE
:=ECMP caching algorithms
362 CONFIG_IP_ROUTE_MULTIPATH_RR \
363 CONFIG_IP_ROUTE_MULTIPATH_RANDOM \
364 CONFIG_IP_ROUTE_MULTIPATH_WRANDOM \
365 CONFIG_IP_ROUTE_MULTIPATH_DRR
367 $(LINUX_DIR
)/net
/ipv4
/multipath_rr.
$(LINUX_KMOD_SUFFIX
) \
368 $(LINUX_DIR
)/net
/ipv4
/multipath_random.
$(LINUX_KMOD_SUFFIX
) \
369 $(LINUX_DIR
)/net
/ipv4
/multipath_wrandom.
$(LINUX_KMOD_SUFFIX
) \
370 $(LINUX_DIR
)/net
/ipv4
/multipath_drr.
$(LINUX_KMOD_SUFFIX
)
371 AUTOLOAD
:=$(call AutoLoad
,35,multipath_rr multipath_random multipath_wrandom multipath_drr
)
374 define KernelPackage
/mp-alg
/description
375 Kernel modules that provide several different algorithms for multipath
376 route selection from the route cache. The iproute
"mpath" argument allows
377 specifying which algorithm to use for routes.
378 quagga
(at least
<=0.99.6) requires a multipath patch to support this
379 cached mp route feature.
382 $(eval
$(call KernelPackage
,mp-alg
))
385 NDMENU
:=Network Devices
387 define KernelPackage
/natsemi
389 TITLE
:=National Semiconductor DP8381x series
390 DEPENDS
:=@LINUX_2_6_X86
391 KCONFIG
:=CONFIG_NATSEMI
392 FILES
:=$(LINUX_DIR
)/drivers
/net
/natsemi.
$(LINUX_KMOD_SUFFIX
)
393 AUTOLOAD
:=$(call AutoLoad
,20,natsemi
)
396 define KernelPackage
/natsemi
/description
397 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
401 $(eval
$(call KernelPackage
,natsemi
))
404 define KernelPackage
/r6040
406 TITLE
:=RDC Fast-Ethernet support
407 DEPENDS
:=@LINUX_2_6_RDC
408 KCONFIG
:=CONFIG_R6040
409 FILES
:=$(LINUX_DIR
)/drivers
/net
/r6040.
$(LINUX_KMOD_SUFFIX
)
412 define KernelPackage
/r6040
/description
413 Kernel modules for RDC Fast-Ethernet adapters.
416 $(eval
$(call KernelPackage
,r6040
))
419 define KernelPackage
/sis900
421 TITLE
:=SiS
900 Ethernet support
422 DEPENDS
:=@LINUX_2_6_X86
423 KCONFIG
:=CONFIG_SIS900
424 FILES
:=$(LINUX_DIR
)/drivers
/net
/sis900.
$(LINUX_KMOD_SUFFIX
)
425 AUTOLOAD
:=$(call AutoLoad
,50,sis900
)
428 define KernelPackage
/sis900
/description
429 Kernel modules for Sis
900 Ethernet adapters.
432 $(eval
$(call KernelPackage
,sis900
))
435 define KernelPackage
/via-rhine
437 TITLE
:=Via Rhine ethernet support
438 DEPENDS
:=@LINUX_2_6_X86
439 KCONFIG
:=CONFIG_VIA_RHINE
440 FILES
:=$(LINUX_DIR
)/drivers
/net
/via-rhine.
$(LINUX_KMOD_SUFFIX
)
441 AUTOLOAD
:=$(call AutoLoad
,50,via-rhine
)
444 define KernelPackage
/via-rhine
/description
445 Kernel modules for Via Rhine Ethernet chipsets.
448 $(eval
$(call KernelPackage
,via-rhine
))
451 define KernelPackage
/via-velocity
453 TITLE
:=VIA Velocity Gigabit Ethernet Adapter kernel support
454 DEPENDS
:=@LINUX_2_6_IXP4XX
455 KCONFIG
:=CONFIG_VIA_VELOCITY
456 FILES
:=$(LINUX_DIR
)/drivers
/net
/via-velocity.
$(LINUX_KMOD_SUFFIX
)
457 AUTOLOAD
:=$(call AutoLoad
,50,via-velocity
)
460 define KernelPackage
/via-velocity
/description
461 Kernel modules for VIA Velocity Gigabit Ethernet chipsets.
464 $(eval
$(call KernelPackage
,via-velocity
))
467 define KernelPackage
/8139too
469 TITLE
:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
470 DEPENDS
:=@LINUX_2_6_X86
471 KCONFIG
:=CONFIG_8139TOO
472 FILES
:=$(LINUX_DIR
)/drivers
/net
/8139too.
$(LINUX_KMOD_SUFFIX
)
473 AUTOLOAD
:=$(call AutoLoad
,50,8139too
)
476 define KernelPackage
/8139too
/description
477 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
480 $(eval
$(call KernelPackage
,8139too
))
483 define KernelPackage
/r8169
485 TITLE
:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
486 DEPENDS
:=@LINUX_2_6_X86
487 KCONFIG
:=CONFIG_R8169 CONFIG_R8169_NAPI
=y CONFIG_R8169_VLAN
=n
488 FILES
:=$(LINUX_DIR
)/drivers
/net
/r8169.
$(LINUX_KMOD_SUFFIX
)
489 AUTOLOAD
:=$(call AutoLoad
,50,r8169
)
492 define KernelPackage
/r8169
/description
493 Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters.
496 $(eval
$(call KernelPackage
,r8169
))
499 define KernelPackage
/ne2k-pci
501 TITLE
:=ne2k-pci Ethernet Adapter kernel support
502 DEPENDS
:=@LINUX_2_6_X86
503 KCONFIG
:=CONFIG_NE2K_PCI
505 $(LINUX_DIR
)/drivers
/net
/ne2k-pci.
$(LINUX_KMOD_SUFFIX
) \
506 $(LINUX_DIR
)/drivers
/net
/8390.
$(LINUX_KMOD_SUFFIX
)
507 AUTOLOAD
:=$(call AutoLoad
,50,8390 ne2k-pci
)
510 define KernelPackage
/ne2k-pci
/description
511 Kernel modules for NE2000 PCI Ethernet Adapter kernel.
514 $(eval
$(call KernelPackage
,ne2k-pci
))
517 define KernelPackage
/ixp4xx-npe
519 TITLE
:=Intel
(R
) IXP4xx ethernet support
520 DEPENDS
:=@LINUX_2_6_IXP4XX
521 KCONFIG
:=CONFIG_IXP4XX_MAC
523 $(LINUX_DIR
)/drivers
/net
/ixp4xx
/ixp4xx_npe.
$(LINUX_KMOD_SUFFIX
) \
524 $(LINUX_DIR
)/drivers
/net
/ixp4xx
/ixp4xx_qmgr.
$(LINUX_KMOD_SUFFIX
) \
525 $(LINUX_DIR
)/drivers
/net
/ixp4xx
/ixp4xx_mac.
$(LINUX_KMOD_SUFFIX
)
526 AUTOLOAD
:=$(call AutoLoad
,20,ixp4xx_npe ixp4xx_qmgr ixp4xx_mac
)
529 define KernelPackage
/ixp4xx-npe
/description
530 Kernel modules for Intel
(R
) IXP4xx onboard ethernet.
533 $(eval
$(call KernelPackage
,ixp4xx-npe
))
536 define KernelPackage
/e100
538 TITLE
:=Intel
(R
) PRO
/100+ cards kernel support
539 DEPENDS
:=@LINUX_2_6_X86
541 FILES
:=$(LINUX_DIR
)/drivers
/net
/e100.
$(LINUX_KMOD_SUFFIX
)
542 AUTOLOAD
:=$(call AutoLoad
,50,e100
)
545 define KernelPackage
/e100
/description
546 Kernel modules for Intel
(R
) PRO
/100+ Ethernet adapters.
549 $(eval
$(call KernelPackage
,e100
))
552 define KernelPackage
/e1000
554 TITLE
:=Intel
(R
) PRO
/1000 cards kernel support
555 DEPENDS
:=@LINUX_2_6_X86
556 KCONFIG
:=CONFIG_E1000
557 FILES
:=$(LINUX_DIR
)/drivers
/net
/e1000
/e1000.
$(LINUX_KMOD_SUFFIX
)
558 AUTOLOAD
:=$(call AutoLoad
,50,e1000
)
561 define KernelPackage
/e1000
/description
562 Kernel modules for Intel
(R
) PRO
/1000 Ethernet adapters.
565 $(eval
$(call KernelPackage
,e1000
))
568 define KernelPackage
/3c59x
570 TITLE
:=3Com
3c590
/3c900 series
(592/595/597) Vortex
/Boomerang
571 DEPENDS
:=@LINUX_2_6_X86
572 KCONFIG
:=CONFIG_3C59X
573 FILES
:=$(LINUX_DIR
)/drivers
/net
/3c59x.
$(LINUX_KMOD_SUFFIX
)
574 AUTOLOAD
:=$(call AutoLoad
,50,3c59x
)
577 define KernelPackage
/3c59x
/description
578 This option enables driver support for a large number of
10mbps and
579 10/100mbps EISA
, PCI and PCMCIA
3Com Ethernet adapters
:
580 - "Vortex" (Fast EtherLink
3c590
/3c592
/3c595
/3c597
) EISA and PCI
581 - "Boomerang" (EtherLink XL
3c900 or
3c905
) PCI
582 - "Cyclone" (3c540
/3c900
/3c905
/3c980
/3c575
/3c656
) PCI and Cardbus
583 - "Tornado" (3c905
) PCI
584 - "Hurricane" (3c555
/3cSOHO
) PCI
587 $(eval
$(call KernelPackage
,3c59x
))