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 $(MODULES_DIR
)/kernel
/net
/atm
/atm.
$(LINUX_KMOD_SUFFIX
) \
18 $(MODULES_DIR
)/kernel
/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
:=$(MODULES_DIR
)/kernel
/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
:=$(MODULES_DIR
)/kernel
/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
:=$(MODULES_DIR
)/kernel
/net
/ipv4
/ipip.
$(LINUX_KMOD_SUFFIX
)
60 AUTOLOAD
:=$(call AutoLoad
,30,ipip
)
63 define KernelPackage
/ipip
/2.6
65 $(MODULES_DIR
)/kernel
/net
/ipv4
/ipip.
$(LINUX_KMOD_SUFFIX
) \
66 $(MODULES_DIR
)/kernel
/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 $(MODULES_DIR
)/kernel
/net
/key
/af_key.
$(LINUX_KMOD_SUFFIX
) \
83 $(MODULES_DIR
)/kernel
/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 $(MODULES_DIR
)/kernel
/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 $(MODULES_DIR
)/kernel
/net
/ipv6
/{ah6
,esp6
,ipcomp6
,xfrm6_tunnel
}.
$(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
:=$(MODULES_DIR
)/kernel
/net
/ipv6
/ipv6.
$(LINUX_KMOD_SUFFIX
)
134 define KernelPackage
/ipv6
/2.6
136 $(MODULES_DIR
)/kernel
/net
/ipv6
/ipv6.
$(LINUX_KMOD_SUFFIX
) \
137 $(MODULES_DIR
)/kernel
/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
=$(MODULES_DIR
)/kernel
/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
:=$(MODULES_DIR
)/kernel
/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 $(MODULES_DIR
)/kernel
/drivers
/net
/ppp_async.ko \
176 $(MODULES_DIR
)/kernel
/drivers
/net
/ppp_generic.ko \
177 $(MODULES_DIR
)/kernel
/drivers
/net
/slhc.ko \
178 $(MODULES_DIR
)/kernel
/lib
/crc-ccitt.ko
179 AUTOLOAD
:=$(call AutoLoad
,30,crc-ccitt slhc ppp_generic ppp_async
)
182 define KernelPackage
/ppp
/2.4
184 $(MODULES_DIR
)/kernel
/drivers
/net
/ppp_async.o \
185 $(MODULES_DIR
)/kernel
/drivers
/net
/ppp_generic.o \
186 $(MODULES_DIR
)/kernel
/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 $(MODULES_DIR
)/kernel
/drivers
/net
/pppoe.
$(LINUX_KMOD_SUFFIX
) \
200 $(MODULES_DIR
)/kernel
/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
:=$(MODULES_DIR
)/kernel
/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
:=$(MODULES_DIR
)/kernel
/drivers
/net
/ppp_mppe_mppc.
$(LINUX_KMOD_SUFFIX
)
231 define KernelPackage
/mppe
/2.6
232 FILES
:=$(MODULES_DIR
)/kernel
/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
:=$(MODULES_DIR
)/kernel
/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 $(MODULES_DIR
)/kernel
/net
/ax25
/ax25.
$(LINUX_KMOD_SUFFIX
) \
255 $(MODULES_DIR
)/kernel
/drivers
/net
/hamradio
/mkiss.
$(LINUX_KMOD_SUFFIX
)
256 AUTOLOAD
:=$(call AutoLoad
,80,ax25 mkiss
)
258 $(eval
$(call KernelPackage
,ax25
))
263 NDMENU
:=Network Devices
265 define KernelPackage
/natsemi
266 TITLE
:=National Semiconductor DP8381x series
268 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
\\\
270 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/natsemi.
$(LINUX_KMOD_SUFFIX
)
271 KCONFIG
:=$(CONFIG_NATSEMI
)
272 DEPENDS
:=@LINUX_2_6_X86
274 AUTOLOAD
:=$(call AutoLoad
,20,natsemi
)
276 $(eval
$(call KernelPackage
,natsemi
))
278 define KernelPackage
/sis900
279 TITLE
:=SiS
900 Ethernet support
281 Kernel modules for Sis
900 Ethernet adapters.
282 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/sis900.
$(LINUX_KMOD_SUFFIX
)
283 KCONFIG
:=$(CONFIG_SIS900
)
284 DEPENDS
:=@LINUX_2_6_X86
286 AUTOLOAD
:=$(call AutoLoad
,50,sis900
)
288 $(eval
$(call KernelPackage
,sis900
))
290 define KernelPackage
/via-rhine
291 TITLE
:=Via Rhine ethernet support
293 Kernel modules for Via Rhine Ethernet chipsets.
294 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/via-rhine.
$(LINUX_KMOD_SUFFIX
)
295 KCONFIG
:=$(CONFIG_VIA_RHINE
)
296 DEPENDS
:=@LINUX_2_6_X86
298 AUTOLOAD
:=$(call AutoLoad
,50,via-rhine
)
300 $(eval
$(call KernelPackage
,via-rhine
))
302 define KernelPackage
/8139too
303 TITLE
:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
305 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
306 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/8139too.
$(LINUX_KMOD_SUFFIX
)
307 KCONFIG
:=$(CONFIG_8139TOO
)
308 DEPENDS
:=@LINUX_2_6_X86
310 AUTOLOAD
:=$(call AutoLoad
,50,8139too
)
312 $(eval
$(call KernelPackage
,8139too
))
314 define KernelPackage
/r8169
315 TITLE
:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
317 Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters.
318 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/r8169.
$(LINUX_KMOD_SUFFIX
)
319 KCONFIG
:=$(CONFIG_R8169
)
320 DEPENDS
:=@LINUX_2_6_X86
322 AUTOLOAD
:=$(call AutoLoad
,50,r8169
)
324 $(eval
$(call KernelPackage
,r8169
))
326 define KernelPackage
/ne2k-pci
327 TITLE
:=ne2k-pci Ethernet Adapter kernel support
329 ne2k-pci Ethernet Adapter kernel support.
330 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/ne2k-pci.
$(LINUX_KMOD_SUFFIX
) \
331 $(MODULES_DIR
)/kernel
/drivers
/net
/8390.
$(LINUX_KMOD_SUFFIX
)
332 KCONFIG
:=$(CONFIG_NE2K_PCI
)
333 DEPENDS
:=@LINUX_2_6_X86
335 AUTOLOAD
:=$(call AutoLoad
,50,8390 ne2k-pci
)
337 $(eval
$(call KernelPackage
,ne2k-pci
))
339 define KernelPackage
/ixp4xx-npe
340 TITLE
:=Intel
(R
) IXP4xx ethernet support
342 Kernel modules for Intel
(R
) IXP4xx onboard ethernet.
343 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/ixp4xx
/ixp4xx_npe.
$(LINUX_KMOD_SUFFIX
) \
344 $(MODULES_DIR
)/kernel
/drivers
/net
/ixp4xx
/ixp4xx_qmgr.
$(LINUX_KMOD_SUFFIX
) \
345 $(MODULES_DIR
)/kernel
/drivers
/net
/ixp4xx
/ixp4xx_mac.
$(LINUX_KMOD_SUFFIX
)
346 KCONFIG
:=$(CONFIG_IXP4XX_MAC
)
347 DEPENDS
:=@LINUX_2_6_IXP4XX
349 AUTOLOAD
:=$(call AutoLoad
,20,ixp4xx_npe ixp4xx_qmgr ixp4xx_mac
)
351 $(eval
$(call KernelPackage
,ixp4xx-npe
))
353 define KernelPackage
/e100
354 TITLE
:=Intel
(R
) PRO
/100+ cards kernel support
356 Kernel modules for Intel
(R
) PRO
/100+ Ethernet adapters.
357 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/e100.
$(LINUX_KMOD_SUFFIX
)
358 KCONFIG
:=$(CONFIG_E100
)
359 DEPENDS
:=@LINUX_2_6_X86
361 AUTOLOAD
:=$(call AutoLoad
,50,e100
)
363 $(eval
$(call KernelPackage
,e100
))
365 define KernelPackage
/e1000
366 TITLE
:=Intel
(R
) PRO
/1000 cards kernel support
368 Kernel modules for Intel
(R
) PRO
/1000 Ethernet adapters.
369 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/e1000
/e1000.
$(LINUX_KMOD_SUFFIX
)
370 KCONFIG
:=$(CONFIG_E1000
)
371 DEPENDS
:=@LINUX_2_6_X86
373 AUTOLOAD
:=$(call AutoLoad
,50,e1000
)
375 $(eval
$(call KernelPackage
,e1000
))
377 define KernelPackage
/3c59x
378 TITLE
:=3Com
3c590
/3c900 series
(592/595/597) Vortex
/Boomerang
380 This option enables driver support for a large number of
10mbps and
\\\
381 10/100mbps EISA
, PCI and PCMCIA
3Com Ethernet adapters
: \\\
382 - "Vortex" (Fast EtherLink
3c590
/3c592
/3c595
/3c597
) EISA and PCI
\\\
383 - "Boomerang" (EtherLink XL
3c900 or
3c905
) PCI
\\\
384 - "Cyclone" (3c540
/3c900
/3c905
/3c980
/3c575
/3c656
) PCI and Cardbus
\\\
385 - "Tornado" (3c905
) PCI
\\\
386 - "Hurricane" (3c555
/3cSOHO
) PCI
387 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/3c59x.
$(LINUX_KMOD_SUFFIX
)
388 KCONFIG
:=$(CONFIG_3C59X
)
389 DEPENDS
:=@LINUX_2_6_X86
391 AUTOLOAD
:=$(call AutoLoad
,50,3c59x
)
393 $(eval
$(call KernelPackage
,3c59x
))