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
)
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
)
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
170 $(eval
$(call KernelPackage
,ppp
))
173 define KernelPackage
/pppoe
176 Kernel modules for PPPoE
(PPP over Ethernet
) support
178 KCONFIG
:=$(CONFIG_PPPOE
)
180 $(MODULES_DIR
)/kernel
/drivers
/net
/pppoe.
$(LINUX_KMOD_SUFFIX
) \
181 $(MODULES_DIR
)/kernel
/drivers
/net
/pppox.
$(LINUX_KMOD_SUFFIX
)
184 $(eval
$(call KernelPackage
,pppoe
))
187 define KernelPackage
/pppoa
190 Kernel modules for PPPoA
(PPP over ATM
) support
192 KCONFIG
:=$(CONFIG_PPPOATM
)
193 FILES
:=$(MODULES_DIR
)/kernel
/net
/atm
/pppoatm.
$(LINUX_KMOD_SUFFIX
)
196 $(eval
$(call KernelPackage
,pppoa
))
199 define KernelPackage
/mppe
200 TITLE
:=Microsoft PPP compression
/encryption
201 DESCRIPTION
:=Kernel modules for Microsoft PPP compression
/encryption
203 KCONFIG
:=$(CONFIG_PPP_MPPE
)
207 define KernelPackage
/mppe
/2.4
208 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/ppp_mppe_mppc.
$(LINUX_KMOD_SUFFIX
)
211 define KernelPackage
/mppe
/2.6
212 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/ppp_mppe.
$(LINUX_KMOD_SUFFIX
)
214 $(eval
$(call KernelPackage
,mppe
))
217 define KernelPackage
/sched
218 TITLE
:=Traffic schedulers
220 Kernel schedulers for IP traffic
221 FILES
:=$(MODULES_DIR
)/kernel
/net
/sched
/*.
$(LINUX_KMOD_SUFFIX
)
224 $(eval
$(call KernelPackage
,sched
))
228 define KernelPackage
/ax25
230 DESCRIPTION
:=Kernel modules for AX25 support
232 KCONFIG
:=$(CONFIG_AX25
)
234 $(MODULES_DIR
)/kernel
/net
/ax25
/ax25.
$(LINUX_KMOD_SUFFIX
) \
235 $(MODULES_DIR
)/kernel
/drivers
/net
/hamradio
/mkiss.
$(LINUX_KMOD_SUFFIX
)
236 AUTOLOAD
:=$(call AutoLoad
,80,ax25 mkiss
)
238 $(eval
$(call KernelPackage
,ax25
))
243 NDMENU
:=Network Devices
245 define KernelPackage
/natsemi
246 TITLE
:=National Semiconductor DP8381x series
248 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
\\\
250 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/natsemi.
$(LINUX_KMOD_SUFFIX
)
251 KCONFIG
:=$(CONFIG_NATSEMI
)
252 DEPENDS
:=@LINUX_2_6_X86
255 AUTOLOAD
:=$(call AutoLoad
,20,natsemi
)
257 $(eval
$(call KernelPackage
,natsemi
))
259 define KernelPackage
/sis900
260 TITLE
:=SiS
900 Ethernet support
262 Kernel modules for Sis
900 Ethernet adapters.
263 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/sis900.
$(LINUX_KMOD_SUFFIX
)
264 KCONFIG
:=$(CONFIG_SIS900
)
265 DEPENDS
:=@LINUX_2_6_X86||LINUX_2_4_X86
268 $(eval
$(call KernelPackage
,sis900
))
270 define KernelPackage
/via-rhine
271 TITLE
:=Via Rhine ethernet support
273 Kernel modules for Via Rhine Ethernet chipsets.
274 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/via-rhine.
$(LINUX_KMOD_SUFFIX
)
275 KCONFIG
:=$(CONFIG_VIA_RHINE
)
276 DEPENDS
:=@LINUX_2_6_X86||LINUX_2_4_X86
279 $(eval
$(call KernelPackage
,via-rhine
))
281 define KernelPackage
/8139too
282 TITLE
:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
284 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
285 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/8139too.
$(LINUX_KMOD_SUFFIX
)
286 KCONFIG
:=$(CONFIG_8139TOO
)
287 DEPENDS
:=@LINUX_2_6_X86||LINUX_2_4_X86
290 $(eval
$(call KernelPackage
,8139too
))
292 define KernelPackage
/e100
293 TITLE
:=Intel
(R
) PRO
/100+ cards kernel support
295 Kernel modules for Intel
(R
) PRO
/100+ Ethernet adapters.
296 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/e100.
$(LINUX_KMOD_SUFFIX
)
297 KCONFIG
:=$(CONFIG_E100
)
298 DEPENDS
:=@LINUX_2_6_X86||LINUX_2_4_X86
301 $(eval
$(call KernelPackage
,e100
))
303 define KernelPackage
/3c59x
304 TITLE
:=3Com
3c590
/3c900 series
(592/595/597) Vortex
/Boomerang
306 This option enables driver support for a large number of
10mbps and
\\\
307 10/100mbps EISA
, PCI and PCMCIA
3Com Ethernet adapters
: \\\
308 - "Vortex" (Fast EtherLink
3c590
/3c592
/3c595
/3c597
) EISA and PCI
\\\
309 - "Boomerang" (EtherLink XL
3c900 or
3c905
) PCI
\\\
310 - "Cyclone" (3c540
/3c900
/3c905
/3c980
/3c575
/3c656
) PCI and Cardbus
\\\
311 - "Tornado" (3c905
) PCI
\\\
312 - "Hurricane" (3c555
/3cSOHO
) PCI
313 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/3c59x.
$(LINUX_KMOD_SUFFIX
)
314 KCONFIG
:=$(CONFIG_3C59X
)
315 DEPENDS
:=@LINUX_2_6_X86||LINUX_2_4_X86
318 $(eval
$(call KernelPackage
,3c59x
))