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 $(LINUX_DIR
)/net
/atm
/atm.
$(LINUX_KMOD_SUFFIX
) \
18 $(LINUX_DIR
)/net
/atm
/br2684.
$(LINUX_KMOD_SUFFIX
)
19 KCONFIG
:=$(CONFIG_ATM
)
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
)
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 DEPENDS
:=@LINUX_2_6_X86
42 FILES
:=$(LINUX_DIR
)/drivers
/net
/bonding
/bonding.
$(LINUX_KMOD_SUFFIX
)
43 KCONFIG
:=$(CONFIG_BONDING
)
45 AUTOLOAD
:=$(call AutoLoad
,40,bonding
)
47 $(eval
$(call KernelPackage
,bonding
))
49 define KernelPackage
/ipip
50 TITLE
:=IP in IP encapsulation support
52 Kernel modules for IP in IP encapsulation
53 KCONFIG
:=$(CONFIG_NET_IPIP
)
56 $(eval
$(call KernelPackage
,ipip
))
58 define KernelPackage
/ipip
/2.4
59 FILES
:=$(LINUX_DIR
)/net
/ipv4
/ipip.
$(LINUX_KMOD_SUFFIX
)
60 AUTOLOAD
:=$(call AutoLoad
,30,ipip
)
63 define KernelPackage
/ipip
/2.6
65 $(LINUX_DIR
)/net
/ipv4
/ipip.
$(LINUX_KMOD_SUFFIX
) \
66 $(LINUX_DIR
)/net
/ipv4
/tunnel4.
$(LINUX_KMOD_SUFFIX
)
67 AUTOLOAD
:=$(call AutoLoad
,30,ipip tunnel4
)
71 define KernelPackage
/ipsec
72 TITLE
:=IPsec related modules
(IPv4 and IPv6
)
74 Kernel modules for IPsec support in both IPv4 and IPv6.
\\\
80 KCONFIG
:=$(CONFIG_NET_KEY
)
82 $(LINUX_DIR
)/net
/key
/af_key.
$(LINUX_KMOD_SUFFIX
) \
83 $(LINUX_DIR
)/net
/xfrm
/xfrm_user.
$(LINUX_KMOD_SUFFIX
)
85 $(eval
$(call KernelPackage
,ipsec
))
87 define KernelPackage
/ipsec4
88 TITLE
:=IPsec related modules
(IPv4
)
90 Kernel modules for IPsec support in IPv4.
\\\
97 KCONFIG
:=$(CONFIG_INET_AH
)
99 FILES
:= $(foreach mod
,ah4 esp4 ipcomp xfrm4_tunnel
, \
100 $(LINUX_DIR
)/net
/ipv4
/$(mod
).
$(LINUX_KMOD_SUFFIX
) \
103 $(eval
$(call KernelPackage
,ipsec4
))
105 define KernelPackage
/ipsec6
106 TITLE
:=IPsec related modules
(IPv6
)
108 Kernel modules for IPsec support in IPv6.
\\\
115 KCONFIG
:=$(CONFIG_INET6_AH
)
117 FILES
:= $(foreach mod
,ah6 esp6 ipcomp6 xfrm6_tunnel
, \
118 $(LINUX_DIR
)/net
/ipv6
/$(mod
).
$(LINUX_KMOD_SUFFIX
) \
121 $(eval
$(call KernelPackage
,ipsec6
))
124 define KernelPackage
/ipv6
127 Kernel modules for IPv6 support
128 KCONFIG
:=$(CONFIG_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
157 KCONFIG
:=$(CONFIG_TUN
)
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
169 KCONFIG
:=$(CONFIG_PPP
)
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
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
)
227 define KernelPackage
/mppe
/2.4
228 FILES
:=$(LINUX_DIR
)/drivers
/net
/ppp_mppe_mppc.
$(LINUX_KMOD_SUFFIX
)
231 define KernelPackage
/mppe
/2.6
232 FILES
:=$(LINUX_DIR
)/drivers
/net
/ppp_mppe.
$(LINUX_KMOD_SUFFIX
)
234 $(eval
$(call KernelPackage
,mppe
))
237 define KernelPackage
/sched
238 TITLE
:=Traffic schedulers
240 Kernel schedulers for IP traffic
241 FILES
:=$(LINUX_DIR
)/net
/sched
/*.
$(LINUX_KMOD_SUFFIX
)
244 $(eval
$(call KernelPackage
,sched
))
248 define KernelPackage
/ax25
250 DESCRIPTION
:=Kernel modules for AX25 support
252 KCONFIG
:=$(CONFIG_AX25
)
254 $(LINUX_DIR
)/net
/ax25
/ax25.
$(LINUX_KMOD_SUFFIX
) \
255 $(LINUX_DIR
)/drivers
/net
/hamradio
/mkiss.
$(LINUX_KMOD_SUFFIX
)
256 AUTOLOAD
:=$(call AutoLoad
,80,ax25 mkiss
)
258 $(eval
$(call KernelPackage
,ax25
))
261 define KernelPackage
/mp-alg
262 TITLE
:=ECMP caching algorithms
264 Kernel modules that provide several different algorithms for multipath
\\\
265 route selection from the route cache. The iproute
"mpath" argument allows
\\\
266 specifying which algorithm to use for routes.
\\\
267 quagga
(at least
<=0.99.6) requires a multipath patch to support this
\\\
268 cached mp route feature.
271 $(CONFIG_IP_ROUTE_MULTIPATH_RR
) \
272 $(CONFIG_IP_ROUTE_MULTIPATH_RANDOM
) \
273 $(CONFIG_IP_ROUTE_MULTIPATH_WRANDOM
) \
274 $(CONFIG_IP_ROUTE_MULTIPATH_DRR
)
275 FILES
:=$(LINUX_DIR
)/net
/ipv4
/multipath_
*.
$(LINUX_KMOD_SUFFIX
)
276 AUTOLOAD
:=$(call AutoLoad
,35,multipath_rr multipath_random multipath_wrandom multipath_drr
)
278 $(eval
$(call KernelPackage
,mp-alg
))
282 NDMENU
:=Network Devices
284 define KernelPackage
/natsemi
285 TITLE
:=National Semiconductor DP8381x series
287 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
\\\
289 FILES
:=$(LINUX_DIR
)/drivers
/net
/natsemi.
$(LINUX_KMOD_SUFFIX
)
290 KCONFIG
:=$(CONFIG_NATSEMI
)
291 DEPENDS
:=@LINUX_2_6_X86
293 AUTOLOAD
:=$(call AutoLoad
,20,natsemi
)
295 $(eval
$(call KernelPackage
,natsemi
))
297 define KernelPackage
/sis900
298 TITLE
:=SiS
900 Ethernet support
300 Kernel modules for Sis
900 Ethernet adapters.
301 FILES
:=$(LINUX_DIR
)/drivers
/net
/sis900.
$(LINUX_KMOD_SUFFIX
)
302 KCONFIG
:=$(CONFIG_SIS900
)
303 DEPENDS
:=@LINUX_2_6_X86
305 AUTOLOAD
:=$(call AutoLoad
,50,sis900
)
307 $(eval
$(call KernelPackage
,sis900
))
309 define KernelPackage
/via-rhine
310 TITLE
:=Via Rhine ethernet support
312 Kernel modules for Via Rhine Ethernet chipsets.
313 FILES
:=$(LINUX_DIR
)/drivers
/net
/via-rhine.
$(LINUX_KMOD_SUFFIX
)
314 KCONFIG
:=$(CONFIG_VIA_RHINE
)
315 DEPENDS
:=@LINUX_2_6_X86
317 AUTOLOAD
:=$(call AutoLoad
,50,via-rhine
)
319 $(eval
$(call KernelPackage
,via-rhine
))
321 define KernelPackage
/8139too
322 TITLE
:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
324 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
325 FILES
:=$(LINUX_DIR
)/drivers
/net
/8139too.
$(LINUX_KMOD_SUFFIX
)
326 KCONFIG
:=$(CONFIG_8139TOO
)
327 DEPENDS
:=@LINUX_2_6_X86
329 AUTOLOAD
:=$(call AutoLoad
,50,8139too
)
331 $(eval
$(call KernelPackage
,8139too
))
333 define KernelPackage
/r8169
334 TITLE
:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
336 Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters.
337 FILES
:=$(LINUX_DIR
)/drivers
/net
/r8169.
$(LINUX_KMOD_SUFFIX
)
338 KCONFIG
:=$(CONFIG_R8169
)
339 DEPENDS
:=@LINUX_2_6_X86
341 AUTOLOAD
:=$(call AutoLoad
,50,r8169
)
343 $(eval
$(call KernelPackage
,r8169
))
345 define KernelPackage
/ne2k-pci
346 TITLE
:=ne2k-pci Ethernet Adapter kernel support
348 ne2k-pci Ethernet Adapter kernel support.
349 FILES
:=$(LINUX_DIR
)/drivers
/net
/ne2k-pci.
$(LINUX_KMOD_SUFFIX
) \
350 $(LINUX_DIR
)/drivers
/net
/8390.
$(LINUX_KMOD_SUFFIX
)
351 KCONFIG
:=$(CONFIG_NE2K_PCI
)
352 DEPENDS
:=@LINUX_2_6_X86
354 AUTOLOAD
:=$(call AutoLoad
,50,8390 ne2k-pci
)
356 $(eval
$(call KernelPackage
,ne2k-pci
))
358 define KernelPackage
/ixp4xx-npe
359 TITLE
:=Intel
(R
) IXP4xx ethernet support
361 Kernel modules for Intel
(R
) IXP4xx onboard ethernet.
362 FILES
:=$(LINUX_DIR
)/drivers
/net
/ixp4xx
/ixp4xx_npe.
$(LINUX_KMOD_SUFFIX
) \
363 $(LINUX_DIR
)/drivers
/net
/ixp4xx
/ixp4xx_qmgr.
$(LINUX_KMOD_SUFFIX
) \
364 $(LINUX_DIR
)/drivers
/net
/ixp4xx
/ixp4xx_mac.
$(LINUX_KMOD_SUFFIX
)
365 KCONFIG
:=$(CONFIG_IXP4XX_MAC
)
366 DEPENDS
:=@LINUX_2_6_IXP4XX
368 AUTOLOAD
:=$(call AutoLoad
,20,ixp4xx_npe ixp4xx_qmgr ixp4xx_mac
)
370 $(eval
$(call KernelPackage
,ixp4xx-npe
))
372 define KernelPackage
/e100
373 TITLE
:=Intel
(R
) PRO
/100+ cards kernel support
375 Kernel modules for Intel
(R
) PRO
/100+ Ethernet adapters.
376 FILES
:=$(LINUX_DIR
)/drivers
/net
/e100.
$(LINUX_KMOD_SUFFIX
)
377 KCONFIG
:=$(CONFIG_E100
)
378 DEPENDS
:=@LINUX_2_6_X86
380 AUTOLOAD
:=$(call AutoLoad
,50,e100
)
382 $(eval
$(call KernelPackage
,e100
))
384 define KernelPackage
/e1000
385 TITLE
:=Intel
(R
) PRO
/1000 cards kernel support
387 Kernel modules for Intel
(R
) PRO
/1000 Ethernet adapters.
388 FILES
:=$(LINUX_DIR
)/drivers
/net
/e1000
/e1000.
$(LINUX_KMOD_SUFFIX
)
389 KCONFIG
:=$(CONFIG_E1000
)
390 DEPENDS
:=@LINUX_2_6_X86
392 AUTOLOAD
:=$(call AutoLoad
,50,e1000
)
394 $(eval
$(call KernelPackage
,e1000
))
396 define KernelPackage
/3c59x
397 TITLE
:=3Com
3c590
/3c900 series
(592/595/597) Vortex
/Boomerang
399 This option enables driver support for a large number of
10mbps and
\\\
400 10/100mbps EISA
, PCI and PCMCIA
3Com Ethernet adapters
: \\\
401 - "Vortex" (Fast EtherLink
3c590
/3c592
/3c595
/3c597
) EISA and PCI
\\\
402 - "Boomerang" (EtherLink XL
3c900 or
3c905
) PCI
\\\
403 - "Cyclone" (3c540
/3c900
/3c905
/3c980
/3c575
/3c656
) PCI and Cardbus
\\\
404 - "Tornado" (3c905
) PCI
\\\
405 - "Hurricane" (3c555
/3cSOHO
) PCI
406 FILES
:=$(LINUX_DIR
)/drivers
/net
/3c59x.
$(LINUX_KMOD_SUFFIX
)
407 KCONFIG
:=$(CONFIG_3C59X
)
408 DEPENDS
:=@LINUX_2_6_X86
410 AUTOLOAD
:=$(call AutoLoad
,50,3c59x
)
412 $(eval
$(call KernelPackage
,3c59x
))