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
))
38 define KernelPackage
/ipip
39 TITLE
:=IP in IP encapsulation support
41 Kernel modules for IP in IP encapsulation
42 KCONFIG
:=$(CONFIG_NET_IPIP
)
45 $(eval
$(call KernelPackage
,ipip
))
47 define KernelPackage
/ipip
/2.4
48 FILES
:=$(MODULES_DIR
)/kernel
/net
/ipv4
/ipip.
$(LINUX_KMOD_SUFFIX
)
49 AUTOLOAD
:=$(call AutoLoad
,30,ipip
)
52 define KernelPackage
/ipip
/2.6
54 $(MODULES_DIR
)/kernel
/net
/ipv4
/ipip.
$(LINUX_KMOD_SUFFIX
) \
55 $(MODULES_DIR
)/kernel
/net
/ipv4
/tunnel4.
$(LINUX_KMOD_SUFFIX
)
56 AUTOLOAD
:=$(call AutoLoad
,30,ipip tunnel4
)
60 define KernelPackage
/ipsec
61 TITLE
:=IPsec related modules
(IPv4 and IPv6
)
63 Kernel modules for IPsec support in both IPv4 and IPv6.
\\\
69 KCONFIG
:=$(CONFIG_NET_KEY
)
71 $(MODULES_DIR
)/kernel
/net
/key
/af_key.
$(LINUX_KMOD_SUFFIX
) \
72 $(MODULES_DIR
)/kernel
/net
/xfrm
/xfrm_user.
$(LINUX_KMOD_SUFFIX
)
74 $(eval
$(call KernelPackage
,ipsec
))
76 define KernelPackage
/ipsec4
77 TITLE
:=IPsec related modules
(IPv4
)
79 Kernel modules for IPsec support in IPv4.
\\\
86 KCONFIG
:=$(CONFIG_INET_AH
)
88 FILES
:= $(foreach mod
,ah4 esp4 ipcomp xfrm4_tunnel
, \
89 $(MODULES_DIR
)/kernel
/net
/ipv4
/$(mod
).
$(LINUX_KMOD_SUFFIX
) \
92 $(eval
$(call KernelPackage
,ipsec4
))
94 define KernelPackage
/ipsec6
95 TITLE
:=IPsec related modules
(IPv6
)
97 Kernel modules for IPsec support in IPv6.
\\\
104 KCONFIG
:=$(CONFIG_INET6_AH
)
106 FILES
:= $(foreach mod
,ah6 esp6 ipcomp6 xfrm6_tunnel
, \
107 $(MODULES_DIR
)/kernel
/net
/ipv6
/{ah6
,esp6
,ipcomp6
,xfrm6_tunnel
}.
$(LINUX_KMOD_SUFFIX
) \
110 $(eval
$(call KernelPackage
,ipsec6
))
113 define KernelPackage
/ipv6
116 Kernel modules for IPv6 support
117 KCONFIG
:=$(CONFIG_IPV6
)
118 FILES
:=$(MODULES_DIR
)/kernel
/net
/ipv6
/ipv6.
$(LINUX_KMOD_SUFFIX
)
121 $(eval
$(call KernelPackage
,ipv6
))
124 define KernelPackage
/gre
127 Generic Routing Encapsulation support
128 KCONFIG
=$(CONFIG_NET_IPGRE
)
129 FILES
=$(MODULES_DIR
)/kernel
/net
/ipv4
/ip_gre.
$(LINUX_KMOD_SUFFIX
)
132 $(eval
$(call KernelPackage
,gre
))
135 define KernelPackage
/tun
136 TITLE
:=Universal TUN
/TAP driver
138 Kernel support for the TUN
/TAP tunneling device
139 KCONFIG
:=$(CONFIG_TUN
)
140 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/tun.
$(LINUX_KMOD_SUFFIX
)
142 AUTOLOAD
:=$(call AutoLoad
,30,tun
)
144 $(eval
$(call KernelPackage
,tun
))
147 define KernelPackage
/ppp
150 Kernel modules for PPP support
151 KCONFIG
:=$(CONFIG_PPP
)
155 define KernelPackage
/ppp
/2.6
157 $(MODULES_DIR
)/kernel
/drivers
/net
/ppp_async.ko \
158 $(MODULES_DIR
)/kernel
/drivers
/net
/ppp_generic.ko \
159 $(MODULES_DIR
)/kernel
/drivers
/net
/slhc.ko \
160 $(MODULES_DIR
)/kernel
/lib
/crc-ccitt.ko
161 AUTOLOAD
:=$(call AutoLoad
,30,crc-ccitt slhc ppp_generic ppp_async
)
164 define KernelPackage
/ppp
/2.4
166 $(MODULES_DIR
)/kernel
/drivers
/net
/ppp_async.o \
167 $(MODULES_DIR
)/kernel
/drivers
/net
/ppp_generic.o \
168 $(MODULES_DIR
)/kernel
/drivers
/net
/slhc.o
169 AUTOLOAD
:=$(call AutoLoad
,30,slhc ppp_generic ppp_async
)
171 $(eval
$(call KernelPackage
,ppp
))
174 define KernelPackage
/pppoe
177 Kernel modules for PPPoE
(PPP over Ethernet
) support
179 KCONFIG
:=$(CONFIG_PPPOE
)
181 $(MODULES_DIR
)/kernel
/drivers
/net
/pppoe.
$(LINUX_KMOD_SUFFIX
) \
182 $(MODULES_DIR
)/kernel
/drivers
/net
/pppox.
$(LINUX_KMOD_SUFFIX
)
185 $(eval
$(call KernelPackage
,pppoe
))
188 define KernelPackage
/pppoa
191 Kernel modules for PPPoA
(PPP over ATM
) support
193 KCONFIG
:=$(CONFIG_PPPOATM
)
194 FILES
:=$(MODULES_DIR
)/kernel
/net
/atm
/pppoatm.
$(LINUX_KMOD_SUFFIX
)
195 AUTOLOAD
:=$(call AutoLoad
,40,pppoatm
)
198 $(eval
$(call KernelPackage
,pppoa
))
201 define KernelPackage
/mppe
202 TITLE
:=Microsoft PPP compression
/encryption
203 DESCRIPTION
:=Kernel modules for Microsoft PPP compression
/encryption
205 KCONFIG
:=$(CONFIG_PPP_MPPE
)
209 define KernelPackage
/mppe
/2.4
210 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/ppp_mppe_mppc.
$(LINUX_KMOD_SUFFIX
)
213 define KernelPackage
/mppe
/2.6
214 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/ppp_mppe.
$(LINUX_KMOD_SUFFIX
)
216 $(eval
$(call KernelPackage
,mppe
))
219 define KernelPackage
/sched
220 TITLE
:=Traffic schedulers
222 Kernel schedulers for IP traffic
223 FILES
:=$(MODULES_DIR
)/kernel
/net
/sched
/*.
$(LINUX_KMOD_SUFFIX
)
226 $(eval
$(call KernelPackage
,sched
))
230 define KernelPackage
/ax25
232 DESCRIPTION
:=Kernel modules for AX25 support
234 KCONFIG
:=$(CONFIG_AX25
)
236 $(MODULES_DIR
)/kernel
/net
/ax25
/ax25.
$(LINUX_KMOD_SUFFIX
) \
237 $(MODULES_DIR
)/kernel
/drivers
/net
/hamradio
/mkiss.
$(LINUX_KMOD_SUFFIX
)
238 AUTOLOAD
:=$(call AutoLoad
,80,ax25 mkiss
)
240 $(eval
$(call KernelPackage
,ax25
))
245 NDMENU
:=Network Devices
247 define KernelPackage
/natsemi
248 TITLE
:=National Semiconductor DP8381x series
250 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
\\\
252 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/natsemi.
$(LINUX_KMOD_SUFFIX
)
253 KCONFIG
:=$(CONFIG_NATSEMI
)
254 DEPENDS
:=@LINUX_2_6_X86
257 AUTOLOAD
:=$(call AutoLoad
,20,natsemi
)
259 $(eval
$(call KernelPackage
,natsemi
))
261 define KernelPackage
/sis900
262 TITLE
:=SiS
900 Ethernet support
264 Kernel modules for Sis
900 Ethernet adapters.
265 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/sis900.
$(LINUX_KMOD_SUFFIX
)
266 KCONFIG
:=$(CONFIG_SIS900
)
267 DEPENDS
:=@LINUX_2_6_X86
269 AUTOLOAD
:=$(call AutoLoad
,50,sis900
)
271 $(eval
$(call KernelPackage
,sis900
))
273 define KernelPackage
/via-rhine
274 TITLE
:=Via Rhine ethernet support
276 Kernel modules for Via Rhine Ethernet chipsets.
277 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/via-rhine.
$(LINUX_KMOD_SUFFIX
)
278 KCONFIG
:=$(CONFIG_VIA_RHINE
)
279 DEPENDS
:=@LINUX_2_6_X86
281 AUTOLOAD
:=$(call AutoLoad
,50,via-rhine
)
283 $(eval
$(call KernelPackage
,via-rhine
))
285 define KernelPackage
/8139too
286 TITLE
:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
288 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
289 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/8139too.
$(LINUX_KMOD_SUFFIX
)
290 KCONFIG
:=$(CONFIG_8139TOO
)
291 DEPENDS
:=@LINUX_2_6_X86
293 AUTOLOAD
:=$(call AutoLoad
,50,8139too
)
295 $(eval
$(call KernelPackage
,8139too
))
297 define KernelPackage
/r8169
298 TITLE
:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
300 Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters.
301 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/r8169.
$(LINUX_KMOD_SUFFIX
)
302 KCONFIG
:=$(CONFIG_R8169
)
303 DEPENDS
:=@LINUX_2_6_X86
305 AUTOLOAD
:=$(call AutoLoad
,50,r8169
)
307 $(eval
$(call KernelPackage
,r8169
))
309 define KernelPackage
/ne2k-pci
310 TITLE
:=ne2k-pci Ethernet Adapter kernel support
312 ne2k-pci Ethernet Adapter kernel support.
313 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/ne2k-pci.
$(LINUX_KMOD_SUFFIX
) \
314 $(MODULES_DIR
)/kernel
/drivers
/net
/8390.
$(LINUX_KMOD_SUFFIX
)
315 KCONFIG
:=$(CONFIG_NE2K-PCI
)
316 DEPENDS
:=@LINUX_2_6_X86
318 AUTOLOAD
:=$(call AutoLoad
,50,8390 ne2k-pci
)
320 $(eval
$(call KernelPackage
,ne2k-pci
))
322 define KernelPackage
/ixp4xx-npe
323 TITLE
:=Intel
(R
) IXP4xx ethernet support
325 Kernel modules for Intel
(R
) IXP4xx onboard ethernet.
326 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/ixp4xx
/ixp4xx_npe.
$(LINUX_KMOD_SUFFIX
) \
327 $(MODULES_DIR
)/kernel
/drivers
/net
/ixp4xx
/ixp4xx_qmgr.
$(LINUX_KMOD_SUFFIX
) \
328 $(MODULES_DIR
)/kernel
/drivers
/net
/ixp4xx
/ixp4xx_mac.
$(LINUX_KMOD_SUFFIX
)
329 KCONFIG
:=$(CONFIG_IXP4XX_MAC
)
330 DEPENDS
:=@LINUX_2_6_IXP4XX
332 AUTOLOAD
:=$(call AutoLoad
,20,ixp4xx_npe ixp4xx_qmgr ixp4xx_mac
)
334 $(eval
$(call KernelPackage
,ixp4xx-npe
))
336 define KernelPackage
/e100
337 TITLE
:=Intel
(R
) PRO
/100+ cards kernel support
339 Kernel modules for Intel
(R
) PRO
/100+ Ethernet adapters.
340 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/e100.
$(LINUX_KMOD_SUFFIX
)
341 KCONFIG
:=$(CONFIG_E100
)
342 DEPENDS
:=@LINUX_2_6_X86
344 AUTOLOAD
:=$(call AutoLoad
,50,e100
)
346 $(eval
$(call KernelPackage
,e100
))
348 define KernelPackage
/e1000
349 TITLE
:=Intel
(R
) PRO
/1000 cards kernel support
351 Kernel modules for Intel
(R
) PRO
/1000 Ethernet adapters.
352 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/e1000
/e1000.
$(LINUX_KMOD_SUFFIX
)
353 KCONFIG
:=$(CONFIG_E1000
)
354 DEPENDS
:=@LINUX_2_6_X86
357 $(eval
$(call KernelPackage
,e1000
))
359 define KernelPackage
/3c59x
360 TITLE
:=3Com
3c590
/3c900 series
(592/595/597) Vortex
/Boomerang
362 This option enables driver support for a large number of
10mbps and
\\\
363 10/100mbps EISA
, PCI and PCMCIA
3Com Ethernet adapters
: \\\
364 - "Vortex" (Fast EtherLink
3c590
/3c592
/3c595
/3c597
) EISA and PCI
\\\
365 - "Boomerang" (EtherLink XL
3c900 or
3c905
) PCI
\\\
366 - "Cyclone" (3c540
/3c900
/3c905
/3c980
/3c575
/3c656
) PCI and Cardbus
\\\
367 - "Tornado" (3c905
) PCI
\\\
368 - "Hurricane" (3c555
/3cSOHO
) PCI
369 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/3c59x.
$(LINUX_KMOD_SUFFIX
)
370 KCONFIG
:=$(CONFIG_3C59X
)
371 DEPENDS
:=@LINUX_2_6_X86
373 AUTOLOAD
:=$(call AutoLoad
,50,3c59x
)
375 $(eval
$(call KernelPackage
,3c59x
))