fix trailing backslash error introduced in r13115 - fixes kernel config issues
[openwrt/svn-archive/archive.git] / package / kernel / modules / network.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 # $Id$
8
9 NETWORK_SUPPORT_MENU:=Network Support
10
11 define KernelPackage/atm
12 SUBMENU:=$(NETWORK_SUPPORT_MENU)
13 TITLE:=ATM support
14 DEPENDS:=@LINUX_2_6
15 KCONFIG:= \
16 CONFIG_ATM \
17 CONFIG_ATM_BR2684
18 FILES:= \
19 $(LINUX_DIR)/net/atm/atm.$(LINUX_KMOD_SUFFIX) \
20 $(LINUX_DIR)/net/atm/br2684.$(LINUX_KMOD_SUFFIX)
21 AUTOLOAD:=$(call AutoLoad,30,atm br2684)
22 endef
23
24 define KernelPackage/atm/description
25 Kernel modules for ATM support
26 endef
27
28 $(eval $(call KernelPackage,atm))
29
30
31 define KernelPackage/atmtcp
32 SUBMENU:=$(NETWORK_SUPPORT_MENU)
33 TITLE:=ATM over TCP
34 DEPENDS:=@LINUX_2_6 kmod-atm
35 KCONFIG:=CONFIG_ATM_TCP CONFIG_ATM_DRIVERS=y
36 FILES:=$(LINUX_DIR)/drivers/atm/atmtcp.$(LINUX_KMOD_SUFFIX)
37 AUTOLOAD:=$(call AutoLoad,40,atmtcp)
38 endef
39
40 define KernelPackage/atmtcp/description
41 Kernel module for ATM over TCP support
42 endef
43
44 $(eval $(call KernelPackage,atmtcp))
45
46
47 define KernelPackage/bonding
48 SUBMENU:=$(NETWORK_SUPPORT_MENU)
49 TITLE:=Ethernet bonding driver
50 KCONFIG:=CONFIG_BONDING
51 FILES:=$(LINUX_DIR)/drivers/net/bonding/bonding.$(LINUX_KMOD_SUFFIX)
52 AUTOLOAD:=$(call AutoLoad,40,bonding)
53 endef
54
55 define KernelPackage/bonding/description
56 Kernel module for NIC bonding.
57 endef
58
59 $(eval $(call KernelPackage,bonding))
60
61
62 define KernelPackage/capi
63 SUBMENU:=$(NETWORK_SUPPORT_MENU)
64 TITLE:=CAPI (ISDN) Support
65 DEPENDS:=@LINUX_2_6
66 KCONFIG:= \
67 CONFIG_ISDN \
68 CONFIG_ISDN_CAPI \
69 CONFIG_ISDN_CAPI_CAPI20 \
70 CONFIG_ISDN_CAPIFS
71 FILES:= \
72 $(LINUX_DIR)/drivers/isdn/capi/kernelcapi.$(LINUX_KMOD_SUFFIX) \
73 $(LINUX_DIR)/drivers/isdn/capi/capi.$(LINUX_KMOD_SUFFIX) \
74 $(LINUX_DIR)/drivers/isdn/capi/capifs.$(LINUX_KMOD_SUFFIX)
75 AUTOLOAD:=$(call AutoLoad,30,kernelcapi capi)
76 endef
77
78 define KernelPackage/capi/description
79 Kernel module for basic CAPI (ISDN) support
80 endef
81
82 $(eval $(call KernelPackage,capi))
83
84
85 define KernelPackage/ipip
86 SUBMENU:=$(NETWORK_SUPPORT_MENU)
87 TITLE:=IP-in-IP encapsulation
88 DEPENDS:=+kmod-iptunnel4
89 KCONFIG:=CONFIG_NET_IPIP
90 FILES:=$(LINUX_DIR)/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX)
91 AUTOLOAD:=$(call AutoLoad,30,ipip)
92 endef
93
94 define KernelPackage/ipip/description
95 Kernel modules for IP-in-IP encapsulation
96 endef
97
98 $(eval $(call KernelPackage,ipip))
99
100
101 define KernelPackage/ipsec
102 SUBMENU:=$(NETWORK_SUPPORT_MENU)
103 TITLE:=IPsec related modules (IPv4 and IPv6)
104 DEPENDS:=@LINUX_2_6 +kmod-crypto-core +kmod-crypto-des +kmod-crypto-hmac +kmod-crypto-md5 +kmod-crypto-sha1
105 KCONFIG:= \
106 CONFIG_NET_KEY \
107 CONFIG_XFRM_USER
108 FILES:= \
109 $(LINUX_DIR)/net/key/af_key.$(LINUX_KMOD_SUFFIX) \
110 $(LINUX_DIR)/net/xfrm/xfrm_user.$(LINUX_KMOD_SUFFIX)
111 endef
112
113 define KernelPackage/ipsec/description
114 Kernel modules for IPsec support in both IPv4 and IPv6.
115 Includes:
116 - af_key
117 - xfrm_user
118 endef
119
120 $(eval $(call KernelPackage,ipsec))
121
122
123 define KernelPackage/ipsec4
124 SUBMENU:=$(NETWORK_SUPPORT_MENU)
125 TITLE:=IPsec related modules (IPv4)
126 DEPENDS:=kmod-ipsec +kmod-iptunnel4 +kmod-crypto-aead
127 KCONFIG:= \
128 CONFIG_INET_AH \
129 CONFIG_INET_ESP \
130 CONFIG_INET_IPCOMP \
131 CONFIG_INET_XFRM_MODE_BEET \
132 CONFIG_INET_XFRM_MODE_TRANSPORT \
133 CONFIG_INET_XFRM_MODE_TUNNEL \
134 CONFIG_INET_XFRM_TUNNEL
135 FILES:= $(foreach mod,ah4 esp4 ipcomp xfrm4_mode_beet xfrm4_mode_transport xfrm4_mode_tunnel xfrm4_tunnel , \
136 $(LINUX_DIR)/net/ipv4/$(mod).$(LINUX_KMOD_SUFFIX) \
137 )
138 endef
139
140 define KernelPackage/ipsec4/description
141 Kernel modules for IPsec support in IPv4.
142 Includes:
143 - ah4
144 - esp4
145 - ipcomp
146 - xfrm4_mode_beet
147 - xfrm4_mode_transport
148 - xfrm4_mode_tunnel
149 - xfrm4_tunnel
150 endef
151
152 $(eval $(call KernelPackage,ipsec4))
153
154
155 define KernelPackage/ipsec6
156 SUBMENU:=$(NETWORK_SUPPORT_MENU)
157 TITLE:=IPsec related modules (IPv6)
158 DEPENDS:=kmod-ipsec +kmod-iptunnel6 +kmod-crypto-aead
159 KCONFIG:= \
160 CONFIG_INET6_AH \
161 CONFIG_INET6_ESP \
162 CONFIG_INET6_IPCOMP \
163 CONFIG_INET6_XFRM_MODE_BEET \
164 CONFIG_INET6_XFRM_MODE_TRANSPORT \
165 CONFIG_INET6_XFRM_MODE_TUNNEL \
166 CONFIG_INET6_XFRM_TUNNEL
167 FILES:= $(foreach mod,ah6 esp6 ipcomp6 xfrm6_mode_beet xfrm6_mode_transport xfrm6_mode_tunnel xfrm6_tunnel, \
168 $(LINUX_DIR)/net/ipv6/$(mod).$(LINUX_KMOD_SUFFIX) \
169 )
170 endef
171
172 define KernelPackage/ipsec6/description
173 Kernel modules for IPsec support in IPv6.
174 Includes:
175 - ah6
176 - esp6
177 - ipcomp6
178 - xfrm6_mode_beet
179 - xfrm6_mode_transport
180 - xfrm6_mode_tunnel
181 - xfrm6_tunnel
182 endef
183
184 $(eval $(call KernelPackage,ipsec6))
185
186
187 # NOTE: tunnel4 is not selectable by itself, so enable ipip for that
188 define KernelPackage/iptunnel4
189 SUBMENU:=$(NETWORK_SUPPORT_MENU)
190 TITLE:=IPv4 tunneling
191 DEPENDS:= @LINUX_2_6
192 KCONFIG:= \
193 CONFIG_NET_IPIP \
194 CONFIG_INET_TUNNEL
195 FILES:= $(foreach mod,tunnel4, \
196 $(LINUX_DIR)/net/ipv4/$(mod).$(LINUX_KMOD_SUFFIX) \
197 )
198 AUTOLOAD:=$(call AutoLoad,31,tunnel4)
199 endef
200
201 define KernelPackage/iptunnel4/description
202 Kernel modules for IPv4 tunneling
203 endef
204
205 $(eval $(call KernelPackage,iptunnel4))
206
207
208 define KernelPackage/iptunnel6
209 SUBMENU:=$(NETWORK_SUPPORT_MENU)
210 TITLE:=IPv6 tunneling
211 DEPENDS:= @LINUX_2_6 +kmod-ipv6
212 KCONFIG:= \
213 CONFIG_INET6_TUNNEL
214 FILES:= $(foreach mod,tunnel6, \
215 $(LINUX_DIR)/net/ipv6/$(mod).$(LINUX_KMOD_SUFFIX) \
216 )
217 AUTOLOAD:=$(call AutoLoad,31,tunnel6)
218 endef
219
220 define KernelPackage/iptunnel6/description
221 Kernel modules for IPv6 tunneling
222 endef
223
224 $(eval $(call KernelPackage,iptunnel6))
225
226
227 define KernelPackage/ipv6
228 SUBMENU:=$(NETWORK_SUPPORT_MENU)
229 TITLE:=IPv6 support
230 KCONFIG:= \
231 CONFIG_IPV6 \
232 CONFIG_IPV6_PRIVACY=y \
233 CONFIG_IPV6_MULTIPLE_TABLES=y \
234 CONFIG_IPV6_SUBTREES=y
235 FILES:=$(LINUX_DIR)/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
236 AUTOLOAD:=$(call AutoLoad,20,ipv6)
237 endef
238
239 define KernelPackage/ipv6/description
240 Kernel modules for IPv6 support
241 endef
242
243 $(eval $(call KernelPackage,ipv6))
244
245
246 define KernelPackage/sit
247 SUBMENU:=$(NETWORK_SUPPORT_MENU)
248 DEPENDS:=+kmod-iptunnel4
249 TITLE:=IPv6-in-IPv4 tunnelling
250 endef
251
252 # sit is compiled in the 2.4 ipv6 stack
253 define KernelPackage/sit/2.4
254 DEPENDS:= @LINUX_2_4 +kmod-ipv6
255 KCONFIG:=CONFIG_IPV6
256 endef
257
258 define KernelPackage/sit/2.6
259 DEPENDS:= @LINUX_2_6 +kmod-ipv6 +kmod-iptunnel4
260 KCONFIG+=CONFIG_IPV6_SIT
261 FILES:=$(LINUX_DIR)/net/ipv6/sit.$(LINUX_KMOD_SUFFIX)
262 AUTOLOAD:=$(call AutoLoad,32,sit)
263 endef
264
265 define KernelPackage/sit/description
266 Kernel modules for IPv6-in-IPv4 tunnelling
267 endef
268
269 $(eval $(call KernelPackage,sit))
270
271
272 define KernelPackage/ip6-tunnel
273 SUBMENU:=$(NETWORK_SUPPORT_MENU)
274 TITLE:=IP-in-IPv6 tunnelling
275 DEPENDS:= @LINUX_2_6 +kmod-ipv6 +kmod-iptunnel6
276 KCONFIG:= CONFIG_IPV6_TUNNEL
277 FILES:= $(foreach mod,ip6_tunnel, \
278 $(LINUX_DIR)/net/ipv6/$(mod).$(LINUX_KMOD_SUFFIX) \
279 )
280 AUTOLOAD:=$(call AutoLoad,32,ip6_tunnel)
281 endef
282
283 define KernelPackage/ip6-tunnel/description
284 Kernel modules for IPv6-in-IPv6 and IPv4-in-IPv6 tunnelling
285 endef
286
287 $(eval $(call KernelPackage,ip6-tunnel))
288
289
290 define KernelPackage/gre
291 SUBMENU:=$(NETWORK_SUPPORT_MENU)
292 TITLE:=GRE support
293 KCONFIG:=CONFIG_NET_IPGRE
294 FILES=$(LINUX_DIR)/net/ipv4/ip_gre.$(LINUX_KMOD_SUFFIX)
295 endef
296
297 define KernelPackage/gre/description
298 Generic Routing Encapsulation support
299 endef
300
301 $(eval $(call KernelPackage,gre))
302
303
304 define KernelPackage/tun
305 SUBMENU:=$(NETWORK_SUPPORT_MENU)
306 TITLE:=Universal TUN/TAP driver
307 KCONFIG:=CONFIG_TUN
308 FILES:=$(LINUX_DIR)/drivers/net/tun.$(LINUX_KMOD_SUFFIX)
309 AUTOLOAD:=$(call AutoLoad,30,tun)
310 endef
311
312 define KernelPackage/tun/description
313 Kernel support for the TUN/TAP tunneling device
314 endef
315
316 $(eval $(call KernelPackage,tun))
317
318
319 define KernelPackage/ppp
320 SUBMENU:=$(NETWORK_SUPPORT_MENU)
321 TITLE:=PPP modules
322 DEPENDS:=+LINUX_2_6:kmod-crc-ccitt
323 KCONFIG:= \
324 CONFIG_PPP \
325 CONFIG_PPP_ASYNC \
326 CONFIG_SLHC
327 FILES:= \
328 $(LINUX_DIR)/drivers/net/ppp_async.$(LINUX_KMOD_SUFFIX) \
329 $(LINUX_DIR)/drivers/net/ppp_generic.$(LINUX_KMOD_SUFFIX) \
330 $(LINUX_DIR)/drivers/net/slhc.$(LINUX_KMOD_SUFFIX)
331 AUTOLOAD:=$(call AutoLoad,30,slhc ppp_generic ppp_async)
332 endef
333
334 define KernelPackage/ppp/description
335 Kernel modules for PPP support
336 endef
337
338 $(eval $(call KernelPackage,ppp))
339
340
341 define KernelPackage/ppp-synctty
342 SUBMENU:=$(NETWORK_SUPPORT_MENU)
343 TITLE:=PPP sync tty support
344 DEPENDS:=kmod-ppp
345 KCONFIG:=CONFIG_PPP_SYNC_TTY
346 FILES:=$(LINUX_DIR)/drivers/net/ppp_synctty.$(LINUX_KMOD_SUFFIX)
347 AUTOLOAD:=$(call AutoLoad,40,ppp_synctty)
348 endef
349
350 define KernelPackage/ppp-synctty/description
351 Kernel modules for PPP sync tty support
352 endef
353
354 $(eval $(call KernelPackage,ppp-synctty))
355
356
357 define KernelPackage/pppoe
358 SUBMENU:=$(NETWORK_SUPPORT_MENU)
359 TITLE:=PPPoE support
360 DEPENDS:=kmod-ppp
361 KCONFIG:=CONFIG_PPPOE
362 FILES:= \
363 $(LINUX_DIR)/drivers/net/pppoe.$(LINUX_KMOD_SUFFIX) \
364 $(LINUX_DIR)/drivers/net/pppox.$(LINUX_KMOD_SUFFIX)
365 endef
366
367 define KernelPackage/pppoe/description
368 Kernel modules for PPPoE (PPP over Ethernet) support
369 endef
370
371 $(eval $(call KernelPackage,pppoe))
372
373
374 define KernelPackage/pppoa
375 SUBMENU:=$(NETWORK_SUPPORT_MENU)
376 TITLE:=PPPoA support
377 DEPENDS:=kmod-ppp +kmod-atm
378 KCONFIG:=CONFIG_PPPOATM CONFIG_ATM_DRIVERS=y
379 FILES:=$(LINUX_DIR)/net/atm/pppoatm.$(LINUX_KMOD_SUFFIX)
380 AUTOLOAD:=$(call AutoLoad,40,pppoatm)
381 endef
382
383 define KernelPackage/pppoa/description
384 Kernel modules for PPPoA (PPP over ATM) support
385 endef
386
387 $(eval $(call KernelPackage,pppoa))
388
389
390 define KernelPackage/ipoa
391 SUBMENU:=$(NETWORK_SUPPORT_MENU)
392 TITLE:=IPoA support
393 DEPENDS:=kmod-atm
394 KCONFIG:=CONFIG_ATM_CLIP
395 FILES:=$(LINUX_DIR)/net/atm/clip.$(LINUX_KMOD_SUFFIX)
396 AUTOLOAD:=$(call AutoLoad,40,clip)
397 endef
398
399 define KernelPackage/ipoa/description
400 Kernel modules for IPoA (IP over ATM) support
401 endef
402
403 $(eval $(call KernelPackage,ipoa))
404
405
406 define KernelPackage/mppe
407 SUBMENU:=$(NETWORK_SUPPORT_MENU)
408 TITLE:=Microsoft PPP compression/encryption
409 DEPENDS:=kmod-ppp +kmod-crypto-arc4 +kmod-crypto-sha1
410 KCONFIG:= \
411 CONFIG_PPP_MPPE_MPPC \
412 CONFIG_PPP_MPPE
413 endef
414
415 define KernelPackage/mppe/2.4
416 # KCONFIG:=CONFIG_PPP_MPPE_MPPC
417 FILES:=$(LINUX_DIR)/drivers/net/ppp_mppe_mppc.$(LINUX_KMOD_SUFFIX)
418 AUTOLOAD:=$(call AutoLoad,31,ppp_mppe_mppc)
419 endef
420
421 define KernelPackage/mppe/2.6
422 # KCONFIG:=CONFIG_PPP_MPPE
423 FILES:=$(LINUX_DIR)/drivers/net/ppp_mppe.$(LINUX_KMOD_SUFFIX)
424 AUTOLOAD:=$(call AutoLoad,31,ppp_mppe)
425 endef
426
427 define KernelPackage/mppe/description
428 Kernel modules for Microsoft PPP compression/encryption
429 endef
430
431 $(eval $(call KernelPackage,mppe))
432
433
434 define KernelPackage/sched
435 SUBMENU:=$(NETWORK_SUPPORT_MENU)
436 TITLE:=Traffic schedulers
437 KCONFIG:= \
438 CONFIG_NET_SCHED=y \
439 CONFIG_NET_SCH_DSMARK \
440 CONFIG_NET_SCH_ESFQ \
441 CONFIG_NET_SCH_FIFO \
442 CONFIG_NET_SCH_GRED \
443 CONFIG_NET_SCH_HFSC \
444 CONFIG_NET_SCH_HTB \
445 CONFIG_NET_SCH_INGRESS \
446 CONFIG_NET_SCH_PRIO \
447 CONFIG_NET_SCH_RED \
448 CONFIG_NET_SCH_SFQ \
449 CONFIG_NET_SCH_TBF \
450 CONFIG_NET_SCH_TEQL
451 FILES:=$(LINUX_DIR)/net/sched/*.$(LINUX_KMOD_SUFFIX)
452 endef
453
454 define KernelPackage/sched/description
455 Kernel schedulers for IP traffic
456 endef
457
458 $(eval $(call KernelPackage,sched))
459
460
461 define KernelPackage/ax25
462 SUBMENU:=$(NETWORK_SUPPORT_MENU)
463 TITLE:=AX25 support
464 KCONFIG:= \
465 CONFIG_AX25 \
466 CONFIG_MKISS
467 FILES:= \
468 $(LINUX_DIR)/net/ax25/ax25.$(LINUX_KMOD_SUFFIX) \
469 $(LINUX_DIR)/drivers/net/hamradio/mkiss.$(LINUX_KMOD_SUFFIX)
470 AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss)
471 endef
472
473 define KernelPackage/ax25/description
474 Kernel modules for AX25 support
475 endef
476
477 $(eval $(call KernelPackage,ax25))
478
479
480 define KernelPackage/mp-alg
481 SUBMENU:=$(NETWORK_SUPPORT_MENU)
482 TITLE:=ECMP caching algorithms
483 DEPENDS:=@LINUX_2_6
484 KCONFIG:= \
485 CONFIG_IP_ROUTE_MULTIPATH_RR \
486 CONFIG_IP_ROUTE_MULTIPATH_RANDOM \
487 CONFIG_IP_ROUTE_MULTIPATH_WRANDOM \
488 CONFIG_IP_ROUTE_MULTIPATH_DRR
489 FILES:= \
490 $(LINUX_DIR)/net/ipv4/multipath_rr.$(LINUX_KMOD_SUFFIX) \
491 $(LINUX_DIR)/net/ipv4/multipath_random.$(LINUX_KMOD_SUFFIX) \
492 $(LINUX_DIR)/net/ipv4/multipath_wrandom.$(LINUX_KMOD_SUFFIX) \
493 $(LINUX_DIR)/net/ipv4/multipath_drr.$(LINUX_KMOD_SUFFIX)
494 AUTOLOAD:=$(call AutoLoad,35,multipath_rr multipath_random multipath_wrandom multipath_drr)
495 endef
496
497 define KernelPackage/mp-alg/description
498 Kernel modules that provide several different algorithms for multipath
499 route selection from the route cache. The iproute "mpath" argument allows
500 specifying which algorithm to use for routes.
501 quagga (at least <=0.99.6) requires a multipath patch to support this
502 cached mp route feature.
503 endef
504
505 $(eval $(call KernelPackage,mp-alg))
506
507
508 define KernelPackage/pktgen
509 SUBMENU:=$(NETWORK_SUPPORT_MENU)
510 TITLE:=Network packet generator
511 DEPENDS:=@LINUX_2_6
512 KCONFIG:=CONFIG_NET_PKTGEN
513 FILES:=$(LINUX_DIR)/net/core/pktgen.$(LINUX_KMOD_SUFFIX)
514 AUTOLOAD:=$(call AutoLoad,99,pktgen)
515 endef
516
517 define KernelPackage/pktgen/description
518 Kernel modules for the Network Packet Generator
519 endef
520
521 $(eval $(call KernelPackage,pktgen))
522
523
524 NETWORK_DEVICES_MENU:=Network Devices
525
526 define KernelPackage/natsemi
527 SUBMENU:=$(NETWORK_DEVICES_MENU)
528 TITLE:=National Semiconductor DP8381x series
529 DEPENDS:=@TARGET_x86
530 KCONFIG:=CONFIG_NATSEMI
531 FILES:=$(LINUX_DIR)/drivers/net/natsemi.$(LINUX_KMOD_SUFFIX)
532 AUTOLOAD:=$(call AutoLoad,20,natsemi)
533 endef
534
535 define KernelPackage/natsemi/description
536 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
537 adapters.
538 endef
539
540 $(eval $(call KernelPackage,natsemi))
541
542
543 define KernelPackage/r6040
544 SUBMENU:=$(NETWORK_DEVICES_MENU)
545 TITLE:=RDC Fast-Ethernet support
546 DEPENDS:=@TARGET_rdc
547 KCONFIG:=CONFIG_R6040
548 FILES:=$(LINUX_DIR)/drivers/net/r6040.$(LINUX_KMOD_SUFFIX)
549 AUTOLOAD:=$(call AutoLoad,99,r6040)
550 endef
551
552 define KernelPackage/r6040/description
553 Kernel modules for RDC Fast-Ethernet adapters.
554 endef
555
556 $(eval $(call KernelPackage,r6040))
557
558
559 define KernelPackage/sis900
560 SUBMENU:=$(NETWORK_DEVICES_MENU)
561 TITLE:=SiS 900 Ethernet support
562 DEPENDS:=@TARGET_x86
563 KCONFIG:=CONFIG_SIS900
564 FILES:=$(LINUX_DIR)/drivers/net/sis900.$(LINUX_KMOD_SUFFIX)
565 AUTOLOAD:=$(call AutoLoad,50,sis900)
566 endef
567
568 define KernelPackage/sis900/description
569 Kernel modules for Sis 900 Ethernet adapters.
570 endef
571
572 $(eval $(call KernelPackage,sis900))
573
574 define KernelPackage/sky2
575 SUBMENU:=$(NETWORK_DEVICES_MENU)
576 TITLE:=SysKonnect Yukon2 support
577 DEPENDS:=@TARGET_x86
578 KCONFIG:=CONFIG_SKY2
579 FILES:=$(LINUX_DIR)/drivers/net/sky2.$(LINUX_KMOD_SUFFIX)
580 AUTOLOAD:=$(call AutoLoad,50,sky2)
581 endef
582
583 define KernelPackage/sky2/description
584 This driver supports Gigabit Ethernet adapters based on the
585 Marvell Yukon 2 chipset:
586 Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
587 88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21
588
589 There is companion driver for the older Marvell Yukon and
590 Genesis based adapters: skge.
591 endef
592
593 $(eval $(call KernelPackage,sky2))
594
595
596 define KernelPackage/via-rhine
597 SUBMENU:=$(NETWORK_DEVICES_MENU)
598 TITLE:=Via Rhine ethernet support
599 DEPENDS:=@TARGET_x86
600 KCONFIG:=CONFIG_VIA_RHINE
601 FILES:=$(LINUX_DIR)/drivers/net/via-rhine.$(LINUX_KMOD_SUFFIX)
602 AUTOLOAD:=$(call AutoLoad,50,via-rhine)
603 endef
604
605 define KernelPackage/via-rhine/description
606 Kernel modules for Via Rhine Ethernet chipsets.
607 endef
608
609 $(eval $(call KernelPackage,via-rhine))
610
611
612 define KernelPackage/via-velocity
613 SUBMENU:=$(NETWORK_DEVICES_MENU)
614 TITLE:=VIA Velocity Gigabit Ethernet Adapter kernel support
615 DEPENDS:=@TARGET_ixp4xx
616 KCONFIG:=CONFIG_VIA_VELOCITY
617 FILES:=$(LINUX_DIR)/drivers/net/via-velocity.$(LINUX_KMOD_SUFFIX)
618 AUTOLOAD:=$(call AutoLoad,50,via-velocity)
619 endef
620
621 define KernelPackage/via-velocity/description
622 Kernel modules for VIA Velocity Gigabit Ethernet chipsets.
623 endef
624
625 $(eval $(call KernelPackage,via-velocity))
626
627
628 define KernelPackage/8139too
629 SUBMENU:=$(NETWORK_DEVICES_MENU)
630 TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
631 DEPENDS:=@TARGET_x86
632 KCONFIG:=CONFIG_8139TOO
633 FILES:=$(LINUX_DIR)/drivers/net/8139too.$(LINUX_KMOD_SUFFIX)
634 AUTOLOAD:=$(call AutoLoad,50,8139too)
635 endef
636
637 define KernelPackage/8139too/description
638 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
639 endef
640
641 $(eval $(call KernelPackage,8139too))
642
643
644 define KernelPackage/r8169
645 SUBMENU:=$(NETWORK_DEVICES_MENU)
646 TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
647 DEPENDS:=@TARGET_x86
648 KCONFIG:=CONFIG_R8169 CONFIG_R8169_NAPI=y CONFIG_R8169_VLAN=n
649 FILES:=$(LINUX_DIR)/drivers/net/r8169.$(LINUX_KMOD_SUFFIX)
650 AUTOLOAD:=$(call AutoLoad,50,r8169)
651 endef
652
653 define KernelPackage/r8169/description
654 Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters.
655 endef
656
657 $(eval $(call KernelPackage,r8169))
658
659
660 define KernelPackage/ne2k-pci
661 SUBMENU:=$(NETWORK_DEVICES_MENU)
662 TITLE:=ne2k-pci Ethernet Adapter kernel support
663 DEPENDS:=@TARGET_x86
664 KCONFIG:=CONFIG_NE2K_PCI
665 FILES:= \
666 $(LINUX_DIR)/drivers/net/ne2k-pci.$(LINUX_KMOD_SUFFIX) \
667 $(LINUX_DIR)/drivers/net/8390.$(LINUX_KMOD_SUFFIX)
668 AUTOLOAD:=$(call AutoLoad,50,8390 ne2k-pci)
669 endef
670
671 define KernelPackage/ne2k-pci/description
672 Kernel modules for NE2000 PCI Ethernet Adapter kernel.
673 endef
674
675 $(eval $(call KernelPackage,ne2k-pci))
676
677
678 define KernelPackage/ixp4xx-npe
679 SUBMENU:=$(NETWORK_DEVICES_MENU)
680 TITLE:=Intel(R) IXP4xx ethernet support
681 DEPENDS:=@TARGET_ixp4xx
682 KCONFIG:=CONFIG_IXP4XX_MAC
683 FILES:= \
684 $(LINUX_DIR)/drivers/net/ixp4xx/ixp4xx_npe.$(LINUX_KMOD_SUFFIX) \
685 $(LINUX_DIR)/drivers/net/ixp4xx/ixp4xx_qmgr.$(LINUX_KMOD_SUFFIX) \
686 $(LINUX_DIR)/drivers/net/ixp4xx/ixp4xx_mac.$(LINUX_KMOD_SUFFIX)
687 AUTOLOAD:=$(call AutoLoad,20,ixp4xx_npe ixp4xx_qmgr ixp4xx_mac)
688 endef
689
690 define KernelPackage/ixp4xx-npe/description
691 Kernel modules for Intel(R) IXP4xx onboard ethernet.
692 endef
693
694 $(eval $(call KernelPackage,ixp4xx-npe))
695
696
697 define KernelPackage/e100
698 SUBMENU:=$(NETWORK_DEVICES_MENU)
699 TITLE:=Intel(R) PRO/100+ cards kernel support
700 DEPENDS:=@TARGET_x86
701 KCONFIG:=CONFIG_E100
702 FILES:=$(LINUX_DIR)/drivers/net/e100.$(LINUX_KMOD_SUFFIX)
703 AUTOLOAD:=$(call AutoLoad,50,e100)
704 endef
705
706 define KernelPackage/e100/description
707 Kernel modules for Intel(R) PRO/100+ Ethernet adapters.
708 endef
709
710 $(eval $(call KernelPackage,e100))
711
712
713 define KernelPackage/e1000
714 SUBMENU:=$(NETWORK_DEVICES_MENU)
715 TITLE:=Intel(R) PRO/1000 cards kernel support
716 DEPENDS:=@TARGET_x86
717 KCONFIG:=CONFIG_E1000
718 FILES:=$(LINUX_DIR)/drivers/net/e1000/e1000.$(LINUX_KMOD_SUFFIX)
719 AUTOLOAD:=$(call AutoLoad,50,e1000)
720 endef
721
722 define KernelPackage/e1000/description
723 Kernel modules for Intel(R) PRO/1000 Ethernet adapters.
724 endef
725
726 $(eval $(call KernelPackage,e1000))
727
728 define KernelPackage/b44
729 TITLE:=Broadcom 44xx driver
730 FILES:=$(LINUX_DIR)/drivers/net/b44.$(LINUX_KMOD_SUFFIX)
731 KCONFIG:=CONFIG_B44
732 DEPENDS:=@TARGET_x86 @BROKEN
733 SUBMENU:=$(NETWORK_DEVICES_MENU)
734 AUTOLOAD:=$(call AutoLoad,50,b44)
735 endef
736
737 define KernelPackage/b44/description
738 Kernel modules for Broadcom 44xx Ethernet adapters.
739 endef
740 $(eval $(call KernelPackage,b44))
741
742 define KernelPackage/3c59x
743 SUBMENU:=$(NETWORK_DEVICES_MENU)
744 TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
745 DEPENDS:=@TARGET_x86
746 KCONFIG:=CONFIG_VORTEX
747 FILES:=$(LINUX_DIR)/drivers/net/3c59x.$(LINUX_KMOD_SUFFIX)
748 AUTOLOAD:=$(call AutoLoad,50,3c59x)
749 endef
750
751 define KernelPackage/3c59x/description
752 This option enables driver support for a large number of 10mbps and
753 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters:
754 - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI
755 - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI
756 - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus
757 - "Tornado" (3c905) PCI
758 - "Hurricane" (3c555/3cSOHO) PCI
759 endef
760
761 $(eval $(call KernelPackage,3c59x))
762
763 define KernelPackage/pcnet32
764 SUBMENU:=$(NETWORK_DEVICES_MENU)
765 TITLE:=AMD PCnet32 PCI support
766 DEPENDS:=@TARGET_x86
767 KCONFIG:=CONFIG_PCNET32
768 FILES:=$(LINUX_DIR)/drivers/net/pcnet32.$(LINUX_KMOD_SUFFIX)
769 AUTOLOAD:=$(call AutoLoad,50,pcnet32)
770 endef
771
772 define KernelPackage/pcnet32/description
773 Kernel modules for AMD PCnet32 Ethernet adapters.
774 endef
775
776 $(eval $(call KernelPackage,pcnet32))
777
778
779 define KernelPackage/tg3
780 TITLE:=Broadcom Tigon3 Gigabit Ethernet
781 FILES:=$(LINUX_DIR)/drivers/net/tg3.$(LINUX_KMOD_SUFFIX)
782 KCONFIG:=CONFIG_TIGON3
783 DEPENDS:=@LINUX_2_6
784 SUBMENU:=$(NETWORK_DEVICES_MENU)
785 AUTOLOAD:=$(call AutoLoad,50,tg3)
786 endef
787
788 define KernelPackage/tg3/description
789 Kernel modules for Broadcom Tigon3 Gigabit Ethernet adapters.
790 endef
791 $(eval $(call KernelPackage,tg3))
792
793 define KernelPackage/ssb-gige
794 TITLE:=Broadcom SSB Gigabit Ethernet
795 KCONFIG:=CONFIG_SSB_DRIVER_GIGE=y
796 DEPENDS:=@TARGET_brcm47xx +kmod-tg3
797 SUBMENU:=$(NETWORK_DEVICES_MENU)
798 endef
799
800 define KernelPackage/ssb-gige/description
801 Kernel modules for Broadcom SSB Gigabit Ethernet adapters.
802 endef
803 $(eval $(call KernelPackage,ssb-gige))