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
65 KCONFIG
:=CONFIG_NET_IPIP
66 FILES
:=$(LINUX_DIR
)/net
/ipv4
/ipip.
$(LINUX_KMOD_SUFFIX
)
67 AUTOLOAD
:=$(call AutoLoad
,30,ipip
)
70 define KernelPackage
/ipip
/2.6
71 KCONFIG
+=CONFIG_INET_TUNNEL
72 FILES
+=$(LINUX_DIR
)/net
/ipv4
/tunnel4.
$(LINUX_KMOD_SUFFIX
)
73 AUTOLOAD
+=$(call AutoLoad
,31,tunnel4
)
76 define KernelPackage
/ipip
/description
77 Kernel modules for IP in IP encapsulation
80 $(eval
$(call KernelPackage
,ipip
))
83 define KernelPackage
/ipsec
85 TITLE
:=IPsec related modules
(IPv4 and IPv6
)
91 $(LINUX_DIR
)/net
/key
/af_key.
$(LINUX_KMOD_SUFFIX
) \
92 $(LINUX_DIR
)/net
/xfrm
/xfrm_user.
$(LINUX_KMOD_SUFFIX
)
95 define KernelPackage
/ipsec
/description
96 Kernel modules for IPsec support in both IPv4 and IPv6.
102 $(eval
$(call KernelPackage
,ipsec
))
105 define KernelPackage
/ipsec4
107 TITLE
:=IPsec related modules
(IPv4
)
113 CONFIG_INET_XFRM_TUNNEL
114 FILES
:= $(foreach mod
,ah4 esp4 ipcomp xfrm4_tunnel
, \
115 $(LINUX_DIR
)/net
/ipv4
/$(mod
).
$(LINUX_KMOD_SUFFIX
) \
119 define KernelPackage
/ipsec4
/description
120 Kernel modules for IPsec support in IPv4.
128 $(eval
$(call KernelPackage
,ipsec4
))
131 define KernelPackage
/ipsec6
133 TITLE
:=IPsec related modules
(IPv6
)
138 CONFIG_INET6_IPCOMP \
139 CONFIG_INET6_XFRM_TUNNEL \
141 FILES
:= $(foreach mod
,ah6 esp6 ipcomp6 xfrm6_tunnel tunnel6
, \
142 $(LINUX_DIR
)/net
/ipv6
/$(mod
).
$(LINUX_KMOD_SUFFIX
) \
146 define KernelPackage
/ipsec6
/description
147 Kernel modules for IPsec support in IPv6.
156 $(eval
$(call KernelPackage
,ipsec6
))
159 define KernelPackage
/ipv6
163 FILES
:=$(LINUX_DIR
)/net
/ipv6
/ipv6.
$(LINUX_KMOD_SUFFIX
)
164 AUTOLOAD
:=$(call AutoLoad
,20,ipv6
)
167 define KernelPackage
/ipv6
/2.6
168 KCONFIG
+=CONFIG_IPV6_SIT
169 FILES
+=$(LINUX_DIR
)/net
/ipv6
/sit.
$(LINUX_KMOD_SUFFIX
)
170 AUTOLOAD
+=$(call AutoLoad
,21,sit
)
173 define KernelPackage
/ipv6
/description
174 Kernel modules for IPv6 support
177 $(eval
$(call KernelPackage
,ipv6
))
180 define KernelPackage
/gre
183 KCONFIG
:=CONFIG_NET_IPGRE
184 FILES
=$(LINUX_DIR
)/net
/ipv4
/ip_gre.
$(LINUX_KMOD_SUFFIX
)
187 define KernelPackage
/gre
/description
188 Generic Routing Encapsulation support
191 $(eval
$(call KernelPackage
,gre
))
194 define KernelPackage
/tun
196 TITLE
:=Universal TUN
/TAP driver
198 FILES
:=$(LINUX_DIR
)/drivers
/net
/tun.
$(LINUX_KMOD_SUFFIX
)
199 AUTOLOAD
:=$(call AutoLoad
,30,tun
)
202 define KernelPackage
/tun
/description
203 Kernel support for the TUN
/TAP tunneling device
206 $(eval
$(call KernelPackage
,tun
))
209 define KernelPackage
/ppp
216 $(LINUX_DIR
)/drivers
/net
/ppp_async.
$(LINUX_KMOD_SUFFIX
) \
217 $(LINUX_DIR
)/drivers
/net
/ppp_generic.
$(LINUX_KMOD_SUFFIX
) \
218 $(LINUX_DIR
)/drivers
/net
/slhc.
$(LINUX_KMOD_SUFFIX
)
221 define KernelPackage
/ppp
/2.4
222 AUTOLOAD
:=$(call AutoLoad
,30,slhc ppp_generic ppp_async
)
225 define KernelPackage
/ppp
/2.6
230 $(LINUX_DIR
)/lib
/crc-ccitt.
$(LINUX_KMOD_SUFFIX
)
231 AUTOLOAD
:=$(call AutoLoad
,30,crc-ccitt slhc ppp_generic ppp_async
)
234 define KernelPackage
/ppp
/description
235 Kernel modules for PPP support
238 $(eval
$(call KernelPackage
,ppp
))
241 define KernelPackage
/ppp-synctty
243 TITLE
:=PPP sync tty support
245 KCONFIG
:=CONFIG_PPP_SYNC_TTY
246 FILES
:=$(LINUX_DIR
)/drivers
/net
/ppp_synctty.
$(LINUX_KMOD_SUFFIX
)
247 AUTOLOAD
:=$(call AutoLoad
,40,ppp_synctty
)
250 define KernelPackage
/ppp-synctty
/description
251 Kernel modules for PPP sync tty support
254 $(eval
$(call KernelPackage
,ppp-synctty
))
257 define KernelPackage
/pppoe
261 KCONFIG
:=CONFIG_PPPOE
263 $(LINUX_DIR
)/drivers
/net
/pppoe.
$(LINUX_KMOD_SUFFIX
) \
264 $(LINUX_DIR
)/drivers
/net
/pppox.
$(LINUX_KMOD_SUFFIX
)
267 define KernelPackage
/pppoe
/description
268 Kernel modules for PPPoE
(PPP over Ethernet
) support
271 $(eval
$(call KernelPackage
,pppoe
))
274 define KernelPackage
/pppoa
277 DEPENDS
:=kmod-ppp kmod-atm
278 KCONFIG
:=CONFIG_PPPOATM
279 FILES
:=$(LINUX_DIR
)/net
/atm
/pppoatm.
$(LINUX_KMOD_SUFFIX
)
280 AUTOLOAD
:=$(call AutoLoad
,40,pppoatm
)
283 define KernelPackage
/pppoa
/description
284 Kernel modules for PPPoA
(PPP over ATM
) support
287 $(eval
$(call KernelPackage
,pppoa
))
290 define KernelPackage
/mppe
292 TITLE
:=Microsoft PPP compression
/encryption
296 define KernelPackage
/mppe
/2.4
297 KCONFIG
:=CONFIG_PPP_MPPE_MPPC
298 FILES
:=$(LINUX_DIR
)/drivers
/net
/ppp_mppe_mppc.
$(LINUX_KMOD_SUFFIX
)
299 AUTOLOAD
:=$(call AutoLoad
,31,ppp_mppe_mppc
)
302 define KernelPackage
/mppe
/2.6
303 KCONFIG
:=CONFIG_PPP_MPPE
304 FILES
:=$(LINUX_DIR
)/drivers
/net
/ppp_mppe.
$(LINUX_KMOD_SUFFIX
)
305 AUTOLOAD
:=$(call AutoLoad
,31,ppp_mppe
)
308 define KernelPackage
/mppe
/description
309 Kernel modules for Microsoft PPP compression
/encryption
312 $(eval
$(call KernelPackage
,mppe
))
315 define KernelPackage
/sched
317 TITLE
:=Traffic schedulers
318 KCONFIG
:=CONFIG_NET_SCHED
319 FILES
:=$(LINUX_DIR
)/net
/sched
/*.
$(LINUX_KMOD_SUFFIX
)
322 define KernelPackage
/sched
/description
323 Kernel schedulers for IP traffic
326 $(eval
$(call KernelPackage
,sched
))
329 define KernelPackage
/ax25
336 $(LINUX_DIR
)/net
/ax25
/ax25.
$(LINUX_KMOD_SUFFIX
) \
337 $(LINUX_DIR
)/drivers
/net
/hamradio
/mkiss.
$(LINUX_KMOD_SUFFIX
)
338 AUTOLOAD
:=$(call AutoLoad
,80,ax25 mkiss
)
341 define KernelPackage
/ax25
/description
342 Kernel modules for AX25 support
345 $(eval
$(call KernelPackage
,ax25
))
348 define KernelPackage
/mp-alg
350 TITLE
:=ECMP caching algorithms
353 CONFIG_IP_ROUTE_MULTIPATH_RR \
354 CONFIG_IP_ROUTE_MULTIPATH_RANDOM \
355 CONFIG_IP_ROUTE_MULTIPATH_WRANDOM \
356 CONFIG_IP_ROUTE_MULTIPATH_DRR
358 $(LINUX_DIR
)/net
/ipv4
/multipath_rr.
$(LINUX_KMOD_SUFFIX
) \
359 $(LINUX_DIR
)/net
/ipv4
/multipath_random.
$(LINUX_KMOD_SUFFIX
) \
360 $(LINUX_DIR
)/net
/ipv4
/multipath_wrandom.
$(LINUX_KMOD_SUFFIX
) \
361 $(LINUX_DIR
)/net
/ipv4
/multipath_drr.
$(LINUX_KMOD_SUFFIX
)
362 AUTOLOAD
:=$(call AutoLoad
,35,multipath_rr multipath_random multipath_wrandom multipath_drr
)
365 define KernelPackage
/mp-alg
/description
366 Kernel modules that provide several different algorithms for multipath
367 route selection from the route cache. The iproute
"mpath" argument allows
368 specifying which algorithm to use for routes.
369 quagga
(at least
<=0.99.6) requires a multipath patch to support this
370 cached mp route feature.
373 $(eval
$(call KernelPackage
,mp-alg
))
376 NDMENU
:=Network Devices
378 define KernelPackage
/natsemi
380 TITLE
:=National Semiconductor DP8381x series
381 DEPENDS
:=@LINUX_2_6_X86
382 KCONFIG
:=CONFIG_NATSEMI
383 FILES
:=$(LINUX_DIR
)/drivers
/net
/natsemi.
$(LINUX_KMOD_SUFFIX
)
384 AUTOLOAD
:=$(call AutoLoad
,20,natsemi
)
387 define KernelPackage
/natsemi
/description
388 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
392 $(eval
$(call KernelPackage
,natsemi
))
395 define KernelPackage
/r6040
397 TITLE
:=RDC Fast-Ethernet support
398 DEPENDS
:=@LINUX_2_6_RDC
399 KCONFIG
:=CONFIG_R6040
400 FILES
:=$(LINUX_DIR
)/drivers
/net
/r6040.
$(LINUX_KMOD_SUFFIX
)
403 define KernelPackage
/r6040
/description
404 Kernel modules for RDC Fast-Ethernet adapters.
407 $(eval
$(call KernelPackage
,r6040
))
410 define KernelPackage
/sis900
412 TITLE
:=SiS
900 Ethernet support
413 DEPENDS
:=@LINUX_2_6_X86
414 KCONFIG
:=CONFIG_SIS900
415 FILES
:=$(LINUX_DIR
)/drivers
/net
/sis900.
$(LINUX_KMOD_SUFFIX
)
416 AUTOLOAD
:=$(call AutoLoad
,50,sis900
)
419 define KernelPackage
/sis900
/description
420 Kernel modules for Sis
900 Ethernet adapters.
423 $(eval
$(call KernelPackage
,sis900
))
426 define KernelPackage
/via-rhine
428 TITLE
:=Via Rhine ethernet support
429 DEPENDS
:=@LINUX_2_6_X86
430 KCONFIG
:=CONFIG_VIA_RHINE
431 FILES
:=$(LINUX_DIR
)/drivers
/net
/via-rhine.
$(LINUX_KMOD_SUFFIX
)
432 AUTOLOAD
:=$(call AutoLoad
,50,via-rhine
)
435 define KernelPackage
/via-rhine
/description
436 Kernel modules for Via Rhine Ethernet chipsets.
439 $(eval
$(call KernelPackage
,via-rhine
))
442 define KernelPackage
/via-velocity
444 TITLE
:=VIA Velocity Gigabit Ethernet Adapter kernel support
445 DEPENDS
:=@LINUX_2_6_IXP4XX
446 KCONFIG
:=CONFIG_VIA_VELOCITY
447 FILES
:=$(LINUX_DIR
)/drivers
/net
/via-velocity.
$(LINUX_KMOD_SUFFIX
)
448 AUTOLOAD
:=$(call AutoLoad
,50,via-velocity
)
451 define KernelPackage
/via-velocity
/description
452 Kernel modules for VIA Velocity Gigabit Ethernet chipsets.
455 $(eval
$(call KernelPackage
,via-velocity
))
458 define KernelPackage
/8139too
460 TITLE
:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
461 DEPENDS
:=@LINUX_2_6_X86
462 KCONFIG
:=CONFIG_8139TOO
463 FILES
:=$(LINUX_DIR
)/drivers
/net
/8139too.
$(LINUX_KMOD_SUFFIX
)
464 AUTOLOAD
:=$(call AutoLoad
,50,8139too
)
467 define KernelPackage
/8139too
/description
468 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
471 $(eval
$(call KernelPackage
,8139too
))
474 define KernelPackage
/r8169
476 TITLE
:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
477 DEPENDS
:=@LINUX_2_6_X86
478 KCONFIG
:=CONFIG_R8169 CONFIG_R8169_NAPI
=y CONFIG_R8169_VLAN
=n
479 FILES
:=$(LINUX_DIR
)/drivers
/net
/r8169.
$(LINUX_KMOD_SUFFIX
)
480 AUTOLOAD
:=$(call AutoLoad
,50,r8169
)
483 define KernelPackage
/r8169
/description
484 Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters.
487 $(eval
$(call KernelPackage
,r8169
))
490 define KernelPackage
/ne2k-pci
492 TITLE
:=ne2k-pci Ethernet Adapter kernel support
493 DEPENDS
:=@LINUX_2_6_X86
494 KCONFIG
:=CONFIG_NE2K_PCI
496 $(LINUX_DIR
)/drivers
/net
/ne2k-pci.
$(LINUX_KMOD_SUFFIX
) \
497 $(LINUX_DIR
)/drivers
/net
/8390.
$(LINUX_KMOD_SUFFIX
)
498 AUTOLOAD
:=$(call AutoLoad
,50,8390 ne2k-pci
)
501 define KernelPackage
/ne2k-pci
/description
502 Kernel modules for NE2000 PCI Ethernet Adapter kernel.
505 $(eval
$(call KernelPackage
,ne2k-pci
))
508 define KernelPackage
/ixp4xx-npe
510 TITLE
:=Intel
(R
) IXP4xx ethernet support
511 DEPENDS
:=@LINUX_2_6_IXP4XX
512 KCONFIG
:=CONFIG_IXP4XX_MAC
514 $(LINUX_DIR
)/drivers
/net
/ixp4xx
/ixp4xx_npe.
$(LINUX_KMOD_SUFFIX
) \
515 $(LINUX_DIR
)/drivers
/net
/ixp4xx
/ixp4xx_qmgr.
$(LINUX_KMOD_SUFFIX
) \
516 $(LINUX_DIR
)/drivers
/net
/ixp4xx
/ixp4xx_mac.
$(LINUX_KMOD_SUFFIX
)
517 AUTOLOAD
:=$(call AutoLoad
,20,ixp4xx_npe ixp4xx_qmgr ixp4xx_mac
)
520 define KernelPackage
/ixp4xx-npe
/description
521 Kernel modules for Intel
(R
) IXP4xx onboard ethernet.
524 $(eval
$(call KernelPackage
,ixp4xx-npe
))
527 define KernelPackage
/e100
529 TITLE
:=Intel
(R
) PRO
/100+ cards kernel support
530 DEPENDS
:=@LINUX_2_6_X86
532 FILES
:=$(LINUX_DIR
)/drivers
/net
/e100.
$(LINUX_KMOD_SUFFIX
)
533 AUTOLOAD
:=$(call AutoLoad
,50,e100
)
536 define KernelPackage
/e100
/description
537 Kernel modules for Intel
(R
) PRO
/100+ Ethernet adapters.
540 $(eval
$(call KernelPackage
,e100
))
543 define KernelPackage
/e1000
545 TITLE
:=Intel
(R
) PRO
/1000 cards kernel support
546 DEPENDS
:=@LINUX_2_6_X86
547 KCONFIG
:=CONFIG_E1000
548 FILES
:=$(LINUX_DIR
)/drivers
/net
/e1000
/e1000.
$(LINUX_KMOD_SUFFIX
)
549 AUTOLOAD
:=$(call AutoLoad
,50,e1000
)
552 define KernelPackage
/e1000
/description
553 Kernel modules for Intel
(R
) PRO
/1000 Ethernet adapters.
556 $(eval
$(call KernelPackage
,e1000
))
559 define KernelPackage
/3c59x
561 TITLE
:=3Com
3c590
/3c900 series
(592/595/597) Vortex
/Boomerang
562 DEPENDS
:=@LINUX_2_6_X86
563 KCONFIG
:=CONFIG_3C59X
564 FILES
:=$(LINUX_DIR
)/drivers
/net
/3c59x.
$(LINUX_KMOD_SUFFIX
)
565 AUTOLOAD
:=$(call AutoLoad
,50,3c59x
)
568 define KernelPackage
/3c59x
/description
569 This option enables driver support for a large number of
10mbps and
570 10/100mbps EISA
, PCI and PCMCIA
3Com Ethernet adapters
:
571 - "Vortex" (Fast EtherLink
3c590
/3c592
/3c595
/3c597
) EISA and PCI
572 - "Boomerang" (EtherLink XL
3c900 or
3c905
) PCI
573 - "Cyclone" (3c540
/3c900
/3c905
/3c980
/3c575
/3c656
) PCI and Cardbus
574 - "Tornado" (3c905
) PCI
575 - "Hurricane" (3c555
/3cSOHO
) PCI
578 $(eval
$(call KernelPackage
,3c59x
))