32448d4811d52f832c2d96f5f43d28509a79e688
[openwrt.git] / package / kernel / modules / netsupport.mk
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 NETWORK_SUPPORT_MENU:=Network Support
9
10 define KernelPackage/atm
11 SUBMENU:=$(NETWORK_SUPPORT_MENU)
12 TITLE:=ATM support
13 DEPENDS:=@LINUX_2_6
14 KCONFIG:= \
15 CONFIG_ATM \
16 CONFIG_ATM_BR2684
17 FILES:= \
18 $(LINUX_DIR)/net/atm/atm.$(LINUX_KMOD_SUFFIX) \
19 $(LINUX_DIR)/net/atm/br2684.$(LINUX_KMOD_SUFFIX)
20 AUTOLOAD:=$(call AutoLoad,30,atm br2684)
21 endef
22
23 define KernelPackage/atm/description
24 Kernel modules for ATM support
25 endef
26
27 $(eval $(call KernelPackage,atm))
28
29
30 define KernelPackage/atmtcp
31 SUBMENU:=$(NETWORK_SUPPORT_MENU)
32 TITLE:=ATM over TCP
33 DEPENDS:=@LINUX_2_6 kmod-atm
34 KCONFIG:=CONFIG_ATM_TCP CONFIG_ATM_DRIVERS=y
35 FILES:=$(LINUX_DIR)/drivers/atm/atmtcp.$(LINUX_KMOD_SUFFIX)
36 AUTOLOAD:=$(call AutoLoad,40,atmtcp)
37 endef
38
39 define KernelPackage/atmtcp/description
40 Kernel module for ATM over TCP support
41 endef
42
43 $(eval $(call KernelPackage,atmtcp))
44
45
46 define KernelPackage/appletalk
47 SUBMENU:=$(NETWORK_SUPPORT_MENU)
48 TITLE:=Appletalk protocol support
49 DEPENDS:=@LINUX_2_6
50 KCONFIG:= \
51 CONFIG_ATALK \
52 CONFIG_DEV_APPLETALK \
53 CONFIG_IPDDP \
54 CONFIG_IPDDP_ENCAP=y \
55 CONFIG_IPDDP_DECAP=y
56 FILES:= \
57 $(LINUX_DIR)/net/appletalk/appletalk.$(LINUX_KMOD_SUFFIX) \
58 $(LINUX_DIR)/drivers/net/appletalk/ipddp.$(LINUX_KMOD_SUFFIX)
59 AUTOLOAD:=$(call AutoLoad,40,appletalk ipddp)
60 endef
61
62 define KernelPackage/appletalk/description
63 Kernel module for AppleTalk protocol.
64 endef
65
66 $(eval $(call KernelPackage,appletalk))
67
68
69 define KernelPackage/bonding
70 SUBMENU:=$(NETWORK_SUPPORT_MENU)
71 TITLE:=Ethernet bonding driver
72 KCONFIG:=CONFIG_BONDING
73 FILES:=$(LINUX_DIR)/drivers/net/bonding/bonding.$(LINUX_KMOD_SUFFIX)
74 AUTOLOAD:=$(call AutoLoad,40,bonding)
75 endef
76
77 define KernelPackage/bonding/description
78 Kernel module for NIC bonding.
79 endef
80
81 $(eval $(call KernelPackage,bonding))
82
83
84 define KernelPackage/capi
85 SUBMENU:=$(NETWORK_SUPPORT_MENU)
86 TITLE:=CAPI (ISDN) Support
87 DEPENDS:=@LINUX_2_6
88 KCONFIG:= \
89 CONFIG_ISDN_CAPI \
90 CONFIG_ISDN_CAPI_CAPI20 \
91 CONFIG_ISDN_CAPIFS \
92 CONFIG_ISDN_CAPI_CAPIFS
93 FILES:= \
94 $(LINUX_DIR)/drivers/isdn/capi/kernelcapi.$(LINUX_KMOD_SUFFIX) \
95 $(LINUX_DIR)/drivers/isdn/capi/capifs.$(LINUX_KMOD_SUFFIX) \
96 $(LINUX_DIR)/drivers/isdn/capi/capi.$(LINUX_KMOD_SUFFIX)
97 AUTOLOAD:=$(call AutoLoad,30,kernelcapi capifs capi)
98 endef
99
100 define KernelPackage/capi/description
101 Kernel module for basic CAPI (ISDN) support
102 endef
103
104 $(eval $(call KernelPackage,capi))
105
106 define KernelPackage/misdn
107 SUBMENU:=$(NETWORK_SUPPORT_MENU)
108 TITLE:=mISDN (ISDN) Support
109 KCONFIG:= \
110 CONFIG_ISDN=y \
111 CONFIG_MISDN \
112 CONFIG_MISDN_DSP \
113 CONFIG_MISDN_L1OIP
114 FILES:= \
115 $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_core.$(LINUX_KMOD_SUFFIX) \
116 $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_dsp.$(LINUX_KMOD_SUFFIX) \
117 $(LINUX_DIR)/drivers/isdn/mISDN/l1oip.$(LINUX_KMOD_SUFFIX)
118 AUTOLOAD:=$(call AutoLoad,30,mISDN_core mISDN_dsp l1oip)
119 endef
120
121 define KernelPackage/misdn/description
122 Modular ISDN driver support
123 endef
124
125 $(eval $(call KernelPackage,misdn))
126
127
128 define KernelPackage/isdn4linux
129 SUBMENU:=$(NETWORK_SUPPORT_MENU)
130 TITLE:=Old ISDN4Linux (deprecated)
131 DEPENDS:=@LINUX_2_6
132 KCONFIG:= \
133 CONFIG_ISDN=y \
134 CONFIG_ISDN_I4L \
135 CONFIG_ISDN_PPP=y \
136 CONFIG_ISDN_PPP_VJ=y \
137 CONFIG_ISDN_MPP=y \
138 CONFIG_IPPP_FILTER=y \
139 CONFIG_ISDN_PPP_BSDCOMP \
140 CONFIG_ISDN_CAPI_MIDDLEWARE=y \
141 CONFIG_ISDN_CAPI_CAPIFS_BOOL=y \
142 CONFIG_ISDN_AUDIO=y \
143 CONFIG_ISDN_TTY_FAX=y \
144 CONFIG_ISDN_X25=y \
145 CONFIG_ISDN_DIVERSION
146 FILES:= \
147 $(LINUX_DIR)/drivers/isdn/divert/dss1_divert.$(LINUX_KMOD_SUFFIX) \
148 $(LINUX_DIR)/drivers/isdn/i4l/isdn.$(LINUX_KMOD_SUFFIX) \
149 $(LINUX_DIR)/drivers/isdn/i4l/isdn_bsdcomp.$(LINUX_KMOD_SUFFIX)
150 AUTOLOAD:=$(call AutoLoad,40,isdn isdn_bsdcomp dss1_divert)
151 endef
152
153 define KernelPackage/isdn4linux/description
154 This driver allows you to use an ISDN adapter for networking
155 endef
156
157 $(eval $(call KernelPackage,isdn4linux))
158
159
160 define KernelPackage/ipip
161 SUBMENU:=$(NETWORK_SUPPORT_MENU)
162 TITLE:=IP-in-IP encapsulation
163 DEPENDS:=+LINUX_2_6:kmod-iptunnel4
164 KCONFIG:=CONFIG_NET_IPIP
165 FILES:=$(LINUX_DIR)/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX)
166 AUTOLOAD:=$(call AutoLoad,32,ipip)
167 endef
168
169 define KernelPackage/ipip/description
170 Kernel modules for IP-in-IP encapsulation
171 endef
172
173 $(eval $(call KernelPackage,ipip))
174
175
176 IPSEC-m:= \
177 key/af_key \
178 xfrm/xfrm_ipcomp \
179 xfrm/xfrm_user \
180
181 define KernelPackage/ipsec
182 SUBMENU:=$(NETWORK_SUPPORT_MENU)
183 TITLE:=IPsec related modules (IPv4 and IPv6)
184 DEPENDS:=@LINUX_2_6 +kmod-crypto-core +kmod-crypto-des +kmod-crypto-hmac +kmod-crypto-md5 +kmod-crypto-sha1
185 KCONFIG:= \
186 CONFIG_NET_KEY \
187 CONFIG_XFRM_USER \
188 CONFIG_XFRM_IPCOMP
189 FILES:=$(foreach mod,$(IPSEC-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
190 AUTOLOAD:=$(call AutoLoad,30,$(notdir $(IPSEC-m)))
191 endef
192
193 define KernelPackage/ipsec/description
194 Kernel modules for IPsec support in both IPv4 and IPv6.
195 Includes:
196 - af_key
197 - xfrm_ipcomp
198 - xfrm_user
199 endef
200
201 $(eval $(call KernelPackage,ipsec))
202
203
204 IPSEC4-m:= \
205 ipv4/ah4 \
206 ipv4/esp4 \
207 ipv4/xfrm4_mode_beet \
208 ipv4/xfrm4_mode_transport \
209 ipv4/xfrm4_mode_tunnel \
210 ipv4/xfrm4_tunnel \
211 ipv4/ipcomp \
212
213 define KernelPackage/ipsec4
214 SUBMENU:=$(NETWORK_SUPPORT_MENU)
215 TITLE:=IPsec related modules (IPv4)
216 DEPENDS:=kmod-ipsec +kmod-iptunnel4
217 KCONFIG:= \
218 CONFIG_INET_AH \
219 CONFIG_INET_ESP \
220 CONFIG_INET_IPCOMP \
221 CONFIG_INET_XFRM_MODE_BEET \
222 CONFIG_INET_XFRM_MODE_TRANSPORT \
223 CONFIG_INET_XFRM_MODE_TUNNEL \
224 CONFIG_INET_XFRM_TUNNEL
225 FILES:=$(foreach mod,$(IPSEC4-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
226 AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC4-m)))
227 endef
228
229 define KernelPackage/ipsec4/description
230 Kernel modules for IPsec support in IPv4.
231 Includes:
232 - ah4
233 - esp4
234 - ipcomp
235 - xfrm4_mode_beet
236 - xfrm4_mode_transport
237 - xfrm4_mode_tunnel
238 - xfrm4_tunnel
239 endef
240
241 $(eval $(call KernelPackage,ipsec4))
242
243
244 IPSEC6-m:= \
245 ipv6/ah6 \
246 ipv6/esp6 \
247 ipv6/xfrm6_mode_beet \
248 ipv6/xfrm6_mode_transport \
249 ipv6/xfrm6_mode_tunnel \
250 ipv6/xfrm6_tunnel \
251 ipv6/ipcomp6 \
252
253 define KernelPackage/ipsec6
254 SUBMENU:=$(NETWORK_SUPPORT_MENU)
255 TITLE:=IPsec related modules (IPv6)
256 DEPENDS:=kmod-ipsec +kmod-iptunnel6
257 KCONFIG:= \
258 CONFIG_INET6_AH \
259 CONFIG_INET6_ESP \
260 CONFIG_INET6_IPCOMP \
261 CONFIG_INET6_XFRM_MODE_BEET \
262 CONFIG_INET6_XFRM_MODE_TRANSPORT \
263 CONFIG_INET6_XFRM_MODE_TUNNEL \
264 CONFIG_INET6_XFRM_TUNNEL
265 FILES:=$(foreach mod,$(IPSEC6-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
266 AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC6-m)))
267 endef
268
269 define KernelPackage/ipsec6/description
270 Kernel modules for IPsec support in IPv6.
271 Includes:
272 - ah6
273 - esp6
274 - ipcomp6
275 - xfrm6_mode_beet
276 - xfrm6_mode_transport
277 - xfrm6_mode_tunnel
278 - xfrm6_tunnel
279 endef
280
281 $(eval $(call KernelPackage,ipsec6))
282
283
284 # NOTE: tunnel4 is not selectable by itself, so enable ipip for that
285 define KernelPackage/iptunnel4
286 SUBMENU:=$(NETWORK_SUPPORT_MENU)
287 TITLE:=IPv4 tunneling
288 DEPENDS:=@LINUX_2_6
289 KCONFIG:= \
290 CONFIG_NET_IPIP \
291 CONFIG_INET_TUNNEL
292 FILES:=$(LINUX_DIR)/net/ipv4/tunnel4.$(LINUX_KMOD_SUFFIX)
293 AUTOLOAD:=$(call AutoLoad,31,tunnel4)
294 endef
295
296 define KernelPackage/iptunnel4/description
297 Kernel modules for IPv4 tunneling
298 endef
299
300 $(eval $(call KernelPackage,iptunnel4))
301
302
303 define KernelPackage/iptunnel6
304 SUBMENU:=$(NETWORK_SUPPORT_MENU)
305 TITLE:=IPv6 tunneling
306 DEPENDS:= @LINUX_2_6 +kmod-ipv6
307 KCONFIG:= \
308 CONFIG_INET6_TUNNEL
309 FILES:=$(LINUX_DIR)/net/ipv6/tunnel6.$(LINUX_KMOD_SUFFIX)
310 AUTOLOAD:=$(call AutoLoad,31,tunnel6)
311 endef
312
313 define KernelPackage/iptunnel6/description
314 Kernel modules for IPv6 tunneling
315 endef
316
317 $(eval $(call KernelPackage,iptunnel6))
318
319
320 define KernelPackage/ipv6
321 SUBMENU:=$(NETWORK_SUPPORT_MENU)
322 TITLE:=IPv6 support
323 KCONFIG:= \
324 CONFIG_IPV6 \
325 CONFIG_IPV6_PRIVACY=y \
326 CONFIG_IPV6_MULTIPLE_TABLES=y \
327 CONFIG_IPV6_MROUTE=y \
328 CONFIG_IPV6_PIMSM_V2=n \
329 CONFIG_IPV6_SUBTREES=y
330 FILES:=$(LINUX_DIR)/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
331 AUTOLOAD:=$(call AutoLoad,20,ipv6)
332 endef
333
334 define KernelPackage/ipv6/description
335 Kernel modules for IPv6 support
336 endef
337
338 $(eval $(call KernelPackage,ipv6))
339
340
341 define KernelPackage/sit
342 SUBMENU:=$(NETWORK_SUPPORT_MENU)
343 DEPENDS:=+kmod-ipv6 +kmod-iptunnel4
344 TITLE:=IPv6-in-IPv4 tunnelling
345 KCONFIG:=CONFIG_IPV6 CONFIG_IPV6_SIT
346 FILES:=$(LINUX_DIR)/net/ipv6/sit.$(LINUX_KMOD_SUFFIX)
347 AUTOLOAD:=$(call AutoLoad,32,sit)
348 endef
349
350 define KernelPackage/sit/description
351 Kernel modules for IPv6-in-IPv4 tunnelling
352 endef
353
354 $(eval $(call KernelPackage,sit))
355
356
357 define KernelPackage/ip6-tunnel
358 SUBMENU:=$(NETWORK_SUPPORT_MENU)
359 TITLE:=IP-in-IPv6 tunnelling
360 DEPENDS:= @LINUX_2_6 +kmod-ipv6 +kmod-iptunnel6
361 KCONFIG:= CONFIG_IPV6_TUNNEL
362 FILES:= $(foreach mod,ip6_tunnel, \
363 $(LINUX_DIR)/net/ipv6/$(mod).$(LINUX_KMOD_SUFFIX) \
364 )
365 AUTOLOAD:=$(call AutoLoad,32,ip6_tunnel)
366 endef
367
368 define KernelPackage/ip6-tunnel/description
369 Kernel modules for IPv6-in-IPv6 and IPv4-in-IPv6 tunnelling
370 endef
371
372 $(eval $(call KernelPackage,ip6-tunnel))
373
374
375 define KernelPackage/gre
376 SUBMENU:=$(NETWORK_SUPPORT_MENU)
377 TITLE:=GRE support
378 KCONFIG:=CONFIG_NET_IPGRE
379 FILES=$(LINUX_DIR)/net/ipv4/ip_gre.$(LINUX_KMOD_SUFFIX)
380 endef
381
382 define KernelPackage/gre/description
383 Generic Routing Encapsulation support
384 endef
385
386 $(eval $(call KernelPackage,gre))
387
388
389 define KernelPackage/tun
390 SUBMENU:=$(NETWORK_SUPPORT_MENU)
391 TITLE:=Universal TUN/TAP driver
392 KCONFIG:=CONFIG_TUN
393 FILES:=$(LINUX_DIR)/drivers/net/tun.$(LINUX_KMOD_SUFFIX)
394 AUTOLOAD:=$(call AutoLoad,30,tun)
395 endef
396
397 define KernelPackage/tun/description
398 Kernel support for the TUN/TAP tunneling device
399 endef
400
401 $(eval $(call KernelPackage,tun))
402
403
404 define KernelPackage/ppp
405 SUBMENU:=$(NETWORK_SUPPORT_MENU)
406 TITLE:=PPP modules
407 DEPENDS:=+LINUX_2_6:kmod-crc-ccitt
408 KCONFIG:= \
409 CONFIG_PPP \
410 CONFIG_PPP_ASYNC \
411 CONFIG_SLHC
412 FILES:= \
413 $(LINUX_DIR)/drivers/net/ppp_async.$(LINUX_KMOD_SUFFIX) \
414 $(LINUX_DIR)/drivers/net/ppp_generic.$(LINUX_KMOD_SUFFIX) \
415 $(LINUX_DIR)/drivers/net/slhc.$(LINUX_KMOD_SUFFIX)
416 AUTOLOAD:=$(call AutoLoad,30,slhc ppp_generic ppp_async)
417 endef
418
419 define KernelPackage/ppp/description
420 Kernel modules for PPP support
421 endef
422
423 $(eval $(call KernelPackage,ppp))
424
425
426 define KernelPackage/ppp-synctty
427 SUBMENU:=$(NETWORK_SUPPORT_MENU)
428 TITLE:=PPP sync tty support
429 DEPENDS:=kmod-ppp
430 KCONFIG:=CONFIG_PPP_SYNC_TTY
431 FILES:=$(LINUX_DIR)/drivers/net/ppp_synctty.$(LINUX_KMOD_SUFFIX)
432 AUTOLOAD:=$(call AutoLoad,40,ppp_synctty)
433 endef
434
435 define KernelPackage/ppp-synctty/description
436 Kernel modules for PPP sync tty support
437 endef
438
439 $(eval $(call KernelPackage,ppp-synctty))
440
441
442 define KernelPackage/pppoe
443 SUBMENU:=$(NETWORK_SUPPORT_MENU)
444 TITLE:=PPPoE support
445 DEPENDS:=kmod-ppp
446 KCONFIG:=CONFIG_PPPOE
447 FILES:= \
448 $(LINUX_DIR)/drivers/net/pppoe.$(LINUX_KMOD_SUFFIX) \
449 $(LINUX_DIR)/drivers/net/pppox.$(LINUX_KMOD_SUFFIX)
450 AUTOLOAD:=$(call AutoLoad,40,pppox pppoe)
451 endef
452
453 define KernelPackage/pppoe/description
454 Kernel modules for PPPoE (PPP over Ethernet) support
455 endef
456
457 $(eval $(call KernelPackage,pppoe))
458
459
460 define KernelPackage/pppoa
461 SUBMENU:=$(NETWORK_SUPPORT_MENU)
462 TITLE:=PPPoA support
463 DEPENDS:=kmod-ppp +kmod-atm
464 KCONFIG:=CONFIG_PPPOATM CONFIG_ATM_DRIVERS=y
465 FILES:=$(LINUX_DIR)/net/atm/pppoatm.$(LINUX_KMOD_SUFFIX)
466 AUTOLOAD:=$(call AutoLoad,40,pppoatm)
467 endef
468
469 define KernelPackage/pppoa/description
470 Kernel modules for PPPoA (PPP over ATM) support
471 endef
472
473 $(eval $(call KernelPackage,pppoa))
474
475 define KernelPackage/pppol2tp
476 SUBMENU:=$(NETWORK_SUPPORT_MENU)
477 TITLE:=PPPoL2TP support
478 DEPENDS:=@LINUX_2_6 kmod-ppp +kmod-pppoe
479 KCONFIG:=CONFIG_PPPOL2TP
480 FILES:=$(LINUX_DIR)/drivers/net/pppol2tp.$(LINUX_KMOD_SUFFIX)
481 AUTOLOAD:=$(call AutoLoad,40,pppol2tp)
482 endef
483
484 define KernelPackage/pppol2tp/description
485 Kernel modules for PPPoL2TP (PPP over L2TP) support
486 endef
487
488 $(eval $(call KernelPackage,pppol2tp))
489
490
491 define KernelPackage/ipoa
492 SUBMENU:=$(NETWORK_SUPPORT_MENU)
493 TITLE:=IPoA support
494 DEPENDS:=kmod-atm
495 KCONFIG:=CONFIG_ATM_CLIP
496 FILES:=$(LINUX_DIR)/net/atm/clip.$(LINUX_KMOD_SUFFIX)
497 AUTOLOAD:=$(call AutoLoad,40,clip)
498 endef
499
500 define KernelPackage/ipoa/description
501 Kernel modules for IPoA (IP over ATM) support
502 endef
503
504 $(eval $(call KernelPackage,ipoa))
505
506
507 define KernelPackage/mppe
508 SUBMENU:=$(NETWORK_SUPPORT_MENU)
509 TITLE:=Microsoft PPP compression/encryption
510 DEPENDS:=kmod-ppp +kmod-crypto-core +kmod-crypto-arc4 +kmod-crypto-sha1
511 KCONFIG:= \
512 CONFIG_PPP_MPPE_MPPC \
513 CONFIG_PPP_MPPE
514 FILES:=$(LINUX_DIR)/drivers/net/ppp_mppe.$(LINUX_KMOD_SUFFIX)
515 AUTOLOAD:=$(call AutoLoad,31,ppp_mppe)
516 endef
517
518 define KernelPackage/mppe/description
519 Kernel modules for Microsoft PPP compression/encryption
520 endef
521
522 $(eval $(call KernelPackage,mppe))
523
524
525 define KernelPackage/sched
526 SUBMENU:=$(NETWORK_SUPPORT_MENU)
527 TITLE:=Traffic schedulers
528 KCONFIG:= \
529 CONFIG_NET_SCHED=y \
530 CONFIG_NET_SCH_DSMARK \
531 CONFIG_NET_SCH_ESFQ \
532 CONFIG_NET_SCH_ESFQ_NFCT=y \
533 CONFIG_NET_SCH_FIFO \
534 CONFIG_NET_SCH_GRED \
535 CONFIG_NET_SCH_HFSC \
536 CONFIG_NET_SCH_HTB \
537 CONFIG_NET_SCH_INGRESS \
538 CONFIG_NET_SCH_PRIO \
539 CONFIG_NET_SCH_RED \
540 CONFIG_NET_SCH_TBF \
541 CONFIG_NET_SCH_SFQ \
542 CONFIG_NET_SCH_TEQL \
543 CONFIG_NET_CLS=y \
544 CONFIG_NET_CLS_ACT=y \
545 CONFIG_NET_CLS_BASIC \
546 CONFIG_NET_CLS_FLOW \
547 CONFIG_NET_CLS_FW \
548 CONFIG_NET_CLS_ROUTE4 \
549 CONFIG_NET_CLS_TCINDEX \
550 CONFIG_NET_CLS_U32 \
551 CONFIG_NET_ACT_MIRRED \
552 CONFIG_NET_ACT_IPT \
553 CONFIG_NET_ACT_POLICE \
554 CONFIG_NET_EMATCH=y \
555 CONFIG_NET_EMATCH_CMP \
556 CONFIG_NET_EMATCH_NBYTE \
557 CONFIG_NET_EMATCH_U32 \
558 CONFIG_NET_EMATCH_META \
559 CONFIG_NET_EMATCH_TEXT
560 FILES:=$(LINUX_DIR)/net/sched/*.$(LINUX_KMOD_SUFFIX)
561 endef
562
563 define KernelPackage/sched/description
564 Kernel schedulers for IP traffic
565 endef
566
567 $(eval $(call KernelPackage,sched))
568
569
570 define KernelPackage/ax25
571 SUBMENU:=$(NETWORK_SUPPORT_MENU)
572 TITLE:=AX25 support
573 KCONFIG:= \
574 CONFIG_AX25 \
575 CONFIG_MKISS
576 FILES:= \
577 $(LINUX_DIR)/net/ax25/ax25.$(LINUX_KMOD_SUFFIX) \
578 $(LINUX_DIR)/drivers/net/hamradio/mkiss.$(LINUX_KMOD_SUFFIX)
579 AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss)
580 $(call AddDepends/crc16)
581 endef
582
583 define KernelPackage/ax25/description
584 Kernel modules for AX25 support
585 endef
586
587 $(eval $(call KernelPackage,ax25))
588
589
590 define KernelPackage/mp-alg
591 SUBMENU:=$(NETWORK_SUPPORT_MENU)
592 TITLE:=ECMP caching algorithms
593 DEPENDS:=@LINUX_2_6
594 KCONFIG:= \
595 CONFIG_IP_ROUTE_MULTIPATH_RR \
596 CONFIG_IP_ROUTE_MULTIPATH_RANDOM \
597 CONFIG_IP_ROUTE_MULTIPATH_WRANDOM \
598 CONFIG_IP_ROUTE_MULTIPATH_DRR
599 FILES:= \
600 $(LINUX_DIR)/net/ipv4/multipath_rr.$(LINUX_KMOD_SUFFIX) \
601 $(LINUX_DIR)/net/ipv4/multipath_random.$(LINUX_KMOD_SUFFIX) \
602 $(LINUX_DIR)/net/ipv4/multipath_wrandom.$(LINUX_KMOD_SUFFIX) \
603 $(LINUX_DIR)/net/ipv4/multipath_drr.$(LINUX_KMOD_SUFFIX)
604 AUTOLOAD:=$(call AutoLoad,35,multipath_rr multipath_random multipath_wrandom multipath_drr)
605 endef
606
607 define KernelPackage/mp-alg/description
608 Kernel modules that provide several different algorithms for multipath
609 route selection from the route cache. The iproute "mpath" argument allows
610 specifying which algorithm to use for routes.
611 quagga (at least <=0.99.6) requires a multipath patch to support this
612 cached mp route feature.
613 endef
614
615 $(eval $(call KernelPackage,mp-alg))
616
617
618 define KernelPackage/pktgen
619 SUBMENU:=$(NETWORK_SUPPORT_MENU)
620 TITLE:=Network packet generator
621 DEPENDS:=@LINUX_2_6
622 KCONFIG:=CONFIG_NET_PKTGEN
623 FILES:=$(LINUX_DIR)/net/core/pktgen.$(LINUX_KMOD_SUFFIX)
624 AUTOLOAD:=$(call AutoLoad,99,pktgen)
625 endef
626
627 define KernelPackage/pktgen/description
628 Kernel modules for the Network Packet Generator
629 endef
630
631 $(eval $(call KernelPackage,pktgen))
632
This page took 0.091674 seconds and 3 git commands to generate.