mark b44 as broken, it doesn't build anymore due to SSB changes apparently (closes...
[openwrt/openwrt.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
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
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
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:=CONFIG_IPV6
231 FILES:=$(LINUX_DIR)/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
232 AUTOLOAD:=$(call AutoLoad,20,ipv6)
233 endef
234
235 define KernelPackage/ipv6/description
236 Kernel modules for IPv6 support
237 endef
238
239 $(eval $(call KernelPackage,ipv6))
240
241
242 define KernelPackage/sit
243 SUBMENU:=$(NETWORK_SUPPORT_MENU)
244 TITLE:=IPv6-in-IPv4 tunnelling
245 endef
246
247 # sit is compiled in the 2.4 ipv6 stack
248 define KernelPackage/sit/2.4
249 DEPENDS:= @LINUX_2_4 +kmod-ipv6
250 KCONFIG:=CONFIG_IPV6
251 endef
252
253 define KernelPackage/sit/2.6
254 DEPENDS:= @LINUX_2_6 +kmod-ipv6 +kmod-iptunnel4
255 KCONFIG+=CONFIG_IPV6_SIT
256 FILES:=$(LINUX_DIR)/net/ipv6/sit.$(LINUX_KMOD_SUFFIX)
257 AUTOLOAD:=$(call AutoLoad,32,sit)
258 endef
259
260 define KernelPackage/sit/description
261 Kernel modules for IPv6-in-IPv4 tunnelling
262 endef
263
264 $(eval $(call KernelPackage,sit))
265
266
267 define KernelPackage/gre
268 SUBMENU:=$(NETWORK_SUPPORT_MENU)
269 TITLE:=GRE support
270 KCONFIG:=CONFIG_NET_IPGRE
271 FILES=$(LINUX_DIR)/net/ipv4/ip_gre.$(LINUX_KMOD_SUFFIX)
272 endef
273
274 define KernelPackage/gre/description
275 Generic Routing Encapsulation support
276 endef
277
278 $(eval $(call KernelPackage,gre))
279
280
281 define KernelPackage/tun
282 SUBMENU:=$(NETWORK_SUPPORT_MENU)
283 TITLE:=Universal TUN/TAP driver
284 KCONFIG:=CONFIG_TUN
285 FILES:=$(LINUX_DIR)/drivers/net/tun.$(LINUX_KMOD_SUFFIX)
286 AUTOLOAD:=$(call AutoLoad,30,tun)
287 endef
288
289 define KernelPackage/tun/description
290 Kernel support for the TUN/TAP tunneling device
291 endef
292
293 $(eval $(call KernelPackage,tun))
294
295
296 define KernelPackage/ppp
297 SUBMENU:=$(NETWORK_SUPPORT_MENU)
298 TITLE:=PPP modules
299 KCONFIG:= \
300 CONFIG_PPP \
301 CONFIG_PPP_ASYNC \
302 CONFIG_SLHC \
303 CONFIG_CRC_CCITT
304 FILES:= \
305 $(LINUX_DIR)/drivers/net/ppp_async.$(LINUX_KMOD_SUFFIX) \
306 $(LINUX_DIR)/drivers/net/ppp_generic.$(LINUX_KMOD_SUFFIX) \
307 $(LINUX_DIR)/drivers/net/slhc.$(LINUX_KMOD_SUFFIX)
308 endef
309
310 define KernelPackage/ppp/2.4
311 AUTOLOAD:=$(call AutoLoad,30,slhc ppp_generic ppp_async)
312 endef
313
314 define KernelPackage/ppp/2.6
315 # KCONFIG+= \
316 # CONFIG_SLHC \
317 # CONFIG_CRC_CCITT
318 FILES+= \
319 $(LINUX_DIR)/lib/crc-ccitt.$(LINUX_KMOD_SUFFIX)
320 AUTOLOAD:=$(call AutoLoad,30,crc-ccitt slhc ppp_generic ppp_async)
321 endef
322
323 define KernelPackage/ppp/description
324 Kernel modules for PPP support
325 endef
326
327 $(eval $(call KernelPackage,ppp))
328
329
330 define KernelPackage/ppp-synctty
331 SUBMENU:=$(NETWORK_SUPPORT_MENU)
332 TITLE:=PPP sync tty support
333 DEPENDS:=kmod-ppp
334 KCONFIG:=CONFIG_PPP_SYNC_TTY
335 FILES:=$(LINUX_DIR)/drivers/net/ppp_synctty.$(LINUX_KMOD_SUFFIX)
336 AUTOLOAD:=$(call AutoLoad,40,ppp_synctty)
337 endef
338
339 define KernelPackage/ppp-synctty/description
340 Kernel modules for PPP sync tty support
341 endef
342
343 $(eval $(call KernelPackage,ppp-synctty))
344
345
346 define KernelPackage/pppoe
347 SUBMENU:=$(NETWORK_SUPPORT_MENU)
348 TITLE:=PPPoE support
349 DEPENDS:=kmod-ppp
350 KCONFIG:=CONFIG_PPPOE
351 FILES:= \
352 $(LINUX_DIR)/drivers/net/pppoe.$(LINUX_KMOD_SUFFIX) \
353 $(LINUX_DIR)/drivers/net/pppox.$(LINUX_KMOD_SUFFIX)
354 endef
355
356 define KernelPackage/pppoe/description
357 Kernel modules for PPPoE (PPP over Ethernet) support
358 endef
359
360 $(eval $(call KernelPackage,pppoe))
361
362
363 define KernelPackage/pppoa
364 SUBMENU:=$(NETWORK_SUPPORT_MENU)
365 TITLE:=PPPoA support
366 DEPENDS:=kmod-ppp +kmod-atm
367 KCONFIG:=CONFIG_PPPOATM CONFIG_ATM_DRIVERS=y
368 FILES:=$(LINUX_DIR)/net/atm/pppoatm.$(LINUX_KMOD_SUFFIX)
369 AUTOLOAD:=$(call AutoLoad,40,pppoatm)
370 endef
371
372 define KernelPackage/pppoa/description
373 Kernel modules for PPPoA (PPP over ATM) support
374 endef
375
376 $(eval $(call KernelPackage,pppoa))
377
378
379 define KernelPackage/ipoa
380 SUBMENU:=$(NETWORK_SUPPORT_MENU)
381 TITLE:=IPoA support
382 DEPENDS:=kmod-atm
383 KCONFIG:=CONFIG_ATM_CLIP
384 FILES:=$(LINUX_DIR)/net/atm/clip.$(LINUX_KMOD_SUFFIX)
385 AUTOLOAD:=$(call AutoLoad,40,clip)
386 endef
387
388 define KernelPackage/ipoa/description
389 Kernel modules for IPoA (IP over ATM) support
390 endef
391
392 $(eval $(call KernelPackage,ipoa))
393
394
395 define KernelPackage/mppe
396 SUBMENU:=$(NETWORK_SUPPORT_MENU)
397 TITLE:=Microsoft PPP compression/encryption
398 DEPENDS:=kmod-ppp +kmod-crypto-arc4 +kmod-crypto-sha1
399 KCONFIG:= \
400 CONFIG_PPP_MPPE_MPPC \
401 CONFIG_PPP_MPPE
402 endef
403
404 define KernelPackage/mppe/2.4
405 # KCONFIG:=CONFIG_PPP_MPPE_MPPC
406 FILES:=$(LINUX_DIR)/drivers/net/ppp_mppe_mppc.$(LINUX_KMOD_SUFFIX)
407 AUTOLOAD:=$(call AutoLoad,31,ppp_mppe_mppc)
408 endef
409
410 define KernelPackage/mppe/2.6
411 # KCONFIG:=CONFIG_PPP_MPPE
412 FILES:=$(LINUX_DIR)/drivers/net/ppp_mppe.$(LINUX_KMOD_SUFFIX)
413 AUTOLOAD:=$(call AutoLoad,31,ppp_mppe)
414 endef
415
416 define KernelPackage/mppe/description
417 Kernel modules for Microsoft PPP compression/encryption
418 endef
419
420 $(eval $(call KernelPackage,mppe))
421
422
423 define KernelPackage/sched
424 SUBMENU:=$(NETWORK_SUPPORT_MENU)
425 TITLE:=Traffic schedulers
426 KCONFIG:= \
427 CONFIG_NET_SCHED=y \
428 CONFIG_NET_SCH_DSMARK \
429 CONFIG_NET_SCH_ESFQ \
430 CONFIG_NET_SCH_FIFO \
431 CONFIG_NET_SCH_GRED \
432 CONFIG_NET_SCH_HFSC \
433 CONFIG_NET_SCH_HTB \
434 CONFIG_NET_SCH_INGRESS \
435 CONFIG_NET_SCH_PRIO \
436 CONFIG_NET_SCH_RED \
437 CONFIG_NET_SCH_SFQ \
438 CONFIG_NET_SCH_TBF \
439 CONFIG_NET_SCH_TEQL
440 FILES:=$(LINUX_DIR)/net/sched/*.$(LINUX_KMOD_SUFFIX)
441 endef
442
443 define KernelPackage/sched/description
444 Kernel schedulers for IP traffic
445 endef
446
447 $(eval $(call KernelPackage,sched))
448
449
450 define KernelPackage/ax25
451 SUBMENU:=$(NETWORK_SUPPORT_MENU)
452 TITLE:=AX25 support
453 KCONFIG:= \
454 CONFIG_AX25 \
455 CONFIG_MKISS
456 FILES:= \
457 $(LINUX_DIR)/net/ax25/ax25.$(LINUX_KMOD_SUFFIX) \
458 $(LINUX_DIR)/drivers/net/hamradio/mkiss.$(LINUX_KMOD_SUFFIX)
459 AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss)
460 endef
461
462 define KernelPackage/ax25/description
463 Kernel modules for AX25 support
464 endef
465
466 $(eval $(call KernelPackage,ax25))
467
468
469 define KernelPackage/mp-alg
470 SUBMENU:=$(NETWORK_SUPPORT_MENU)
471 TITLE:=ECMP caching algorithms
472 DEPENDS:=@LINUX_2_6
473 KCONFIG:= \
474 CONFIG_IP_ROUTE_MULTIPATH_RR \
475 CONFIG_IP_ROUTE_MULTIPATH_RANDOM \
476 CONFIG_IP_ROUTE_MULTIPATH_WRANDOM \
477 CONFIG_IP_ROUTE_MULTIPATH_DRR
478 FILES:= \
479 $(LINUX_DIR)/net/ipv4/multipath_rr.$(LINUX_KMOD_SUFFIX) \
480 $(LINUX_DIR)/net/ipv4/multipath_random.$(LINUX_KMOD_SUFFIX) \
481 $(LINUX_DIR)/net/ipv4/multipath_wrandom.$(LINUX_KMOD_SUFFIX) \
482 $(LINUX_DIR)/net/ipv4/multipath_drr.$(LINUX_KMOD_SUFFIX)
483 AUTOLOAD:=$(call AutoLoad,35,multipath_rr multipath_random multipath_wrandom multipath_drr)
484 endef
485
486 define KernelPackage/mp-alg/description
487 Kernel modules that provide several different algorithms for multipath
488 route selection from the route cache. The iproute "mpath" argument allows
489 specifying which algorithm to use for routes.
490 quagga (at least <=0.99.6) requires a multipath patch to support this
491 cached mp route feature.
492 endef
493
494 $(eval $(call KernelPackage,mp-alg))
495
496
497 define KernelPackage/pktgen
498 SUBMENU:=$(NETWORK_SUPPORT_MENU)
499 TITLE:=Network packet generator
500 DEPENDS:=@LINUX_2_6
501 KCONFIG:=CONFIG_NET_PKTGEN
502 FILES:=$(LINUX_DIR)/net/core/pktgen.$(LINUX_KMOD_SUFFIX)
503 AUTOLOAD:=$(call AutoLoad,99,pktgen)
504 endef
505
506 define KernelPackage/pktgen/description
507 Kernel modules for the Network Packet Generator
508 endef
509
510 $(eval $(call KernelPackage,pktgen))
511
512
513 NETWORK_DEVICES_MENU:=Network Devices
514
515 define KernelPackage/natsemi
516 SUBMENU:=$(NETWORK_DEVICES_MENU)
517 TITLE:=National Semiconductor DP8381x series
518 DEPENDS:=@TARGET_x86
519 KCONFIG:=CONFIG_NATSEMI
520 FILES:=$(LINUX_DIR)/drivers/net/natsemi.$(LINUX_KMOD_SUFFIX)
521 AUTOLOAD:=$(call AutoLoad,20,natsemi)
522 endef
523
524 define KernelPackage/natsemi/description
525 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
526 adapters.
527 endef
528
529 $(eval $(call KernelPackage,natsemi))
530
531
532 define KernelPackage/r6040
533 SUBMENU:=$(NETWORK_DEVICES_MENU)
534 TITLE:=RDC Fast-Ethernet support
535 DEPENDS:=@TARGET_rdc
536 KCONFIG:=CONFIG_R6040
537 FILES:=$(LINUX_DIR)/drivers/net/r6040.$(LINUX_KMOD_SUFFIX)
538 endef
539
540 define KernelPackage/r6040/description
541 Kernel modules for RDC Fast-Ethernet adapters.
542 endef
543
544 $(eval $(call KernelPackage,r6040))
545
546
547 define KernelPackage/sis900
548 SUBMENU:=$(NETWORK_DEVICES_MENU)
549 TITLE:=SiS 900 Ethernet support
550 DEPENDS:=@TARGET_x86
551 KCONFIG:=CONFIG_SIS900
552 FILES:=$(LINUX_DIR)/drivers/net/sis900.$(LINUX_KMOD_SUFFIX)
553 AUTOLOAD:=$(call AutoLoad,50,sis900)
554 endef
555
556 define KernelPackage/sis900/description
557 Kernel modules for Sis 900 Ethernet adapters.
558 endef
559
560 $(eval $(call KernelPackage,sis900))
561
562
563 define KernelPackage/via-rhine
564 SUBMENU:=$(NETWORK_DEVICES_MENU)
565 TITLE:=Via Rhine ethernet support
566 DEPENDS:=@TARGET_x86
567 KCONFIG:=CONFIG_VIA_RHINE
568 FILES:=$(LINUX_DIR)/drivers/net/via-rhine.$(LINUX_KMOD_SUFFIX)
569 AUTOLOAD:=$(call AutoLoad,50,via-rhine)
570 endef
571
572 define KernelPackage/via-rhine/description
573 Kernel modules for Via Rhine Ethernet chipsets.
574 endef
575
576 $(eval $(call KernelPackage,via-rhine))
577
578
579 define KernelPackage/via-velocity
580 SUBMENU:=$(NETWORK_DEVICES_MENU)
581 TITLE:=VIA Velocity Gigabit Ethernet Adapter kernel support
582 DEPENDS:=@TARGET_ixp4xx
583 KCONFIG:=CONFIG_VIA_VELOCITY
584 FILES:=$(LINUX_DIR)/drivers/net/via-velocity.$(LINUX_KMOD_SUFFIX)
585 AUTOLOAD:=$(call AutoLoad,50,via-velocity)
586 endef
587
588 define KernelPackage/via-velocity/description
589 Kernel modules for VIA Velocity Gigabit Ethernet chipsets.
590 endef
591
592 $(eval $(call KernelPackage,via-velocity))
593
594
595 define KernelPackage/8139too
596 SUBMENU:=$(NETWORK_DEVICES_MENU)
597 TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
598 DEPENDS:=@TARGET_x86
599 KCONFIG:=CONFIG_8139TOO
600 FILES:=$(LINUX_DIR)/drivers/net/8139too.$(LINUX_KMOD_SUFFIX)
601 AUTOLOAD:=$(call AutoLoad,50,8139too)
602 endef
603
604 define KernelPackage/8139too/description
605 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
606 endef
607
608 $(eval $(call KernelPackage,8139too))
609
610
611 define KernelPackage/r8169
612 SUBMENU:=$(NETWORK_DEVICES_MENU)
613 TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
614 DEPENDS:=@TARGET_x86
615 KCONFIG:=CONFIG_R8169 CONFIG_R8169_NAPI=y CONFIG_R8169_VLAN=n
616 FILES:=$(LINUX_DIR)/drivers/net/r8169.$(LINUX_KMOD_SUFFIX)
617 AUTOLOAD:=$(call AutoLoad,50,r8169)
618 endef
619
620 define KernelPackage/r8169/description
621 Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters.
622 endef
623
624 $(eval $(call KernelPackage,r8169))
625
626
627 define KernelPackage/ne2k-pci
628 SUBMENU:=$(NETWORK_DEVICES_MENU)
629 TITLE:=ne2k-pci Ethernet Adapter kernel support
630 DEPENDS:=@TARGET_x86
631 KCONFIG:=CONFIG_NE2K_PCI
632 FILES:= \
633 $(LINUX_DIR)/drivers/net/ne2k-pci.$(LINUX_KMOD_SUFFIX) \
634 $(LINUX_DIR)/drivers/net/8390.$(LINUX_KMOD_SUFFIX)
635 AUTOLOAD:=$(call AutoLoad,50,8390 ne2k-pci)
636 endef
637
638 define KernelPackage/ne2k-pci/description
639 Kernel modules for NE2000 PCI Ethernet Adapter kernel.
640 endef
641
642 $(eval $(call KernelPackage,ne2k-pci))
643
644
645 define KernelPackage/ixp4xx-npe
646 SUBMENU:=$(NETWORK_DEVICES_MENU)
647 TITLE:=Intel(R) IXP4xx ethernet support
648 DEPENDS:=@TARGET_ixp4xx
649 KCONFIG:=CONFIG_IXP4XX_MAC
650 FILES:= \
651 $(LINUX_DIR)/drivers/net/ixp4xx/ixp4xx_npe.$(LINUX_KMOD_SUFFIX) \
652 $(LINUX_DIR)/drivers/net/ixp4xx/ixp4xx_qmgr.$(LINUX_KMOD_SUFFIX) \
653 $(LINUX_DIR)/drivers/net/ixp4xx/ixp4xx_mac.$(LINUX_KMOD_SUFFIX)
654 AUTOLOAD:=$(call AutoLoad,20,ixp4xx_npe ixp4xx_qmgr ixp4xx_mac)
655 endef
656
657 define KernelPackage/ixp4xx-npe/description
658 Kernel modules for Intel(R) IXP4xx onboard ethernet.
659 endef
660
661 $(eval $(call KernelPackage,ixp4xx-npe))
662
663
664 define KernelPackage/e100
665 SUBMENU:=$(NETWORK_DEVICES_MENU)
666 TITLE:=Intel(R) PRO/100+ cards kernel support
667 DEPENDS:=@TARGET_x86
668 KCONFIG:=CONFIG_E100
669 FILES:=$(LINUX_DIR)/drivers/net/e100.$(LINUX_KMOD_SUFFIX)
670 AUTOLOAD:=$(call AutoLoad,50,e100)
671 endef
672
673 define KernelPackage/e100/description
674 Kernel modules for Intel(R) PRO/100+ Ethernet adapters.
675 endef
676
677 $(eval $(call KernelPackage,e100))
678
679
680 define KernelPackage/e1000
681 SUBMENU:=$(NETWORK_DEVICES_MENU)
682 TITLE:=Intel(R) PRO/1000 cards kernel support
683 DEPENDS:=@TARGET_x86
684 KCONFIG:=CONFIG_E1000
685 FILES:=$(LINUX_DIR)/drivers/net/e1000/e1000.$(LINUX_KMOD_SUFFIX)
686 AUTOLOAD:=$(call AutoLoad,50,e1000)
687 endef
688
689 define KernelPackage/e1000/description
690 Kernel modules for Intel(R) PRO/1000 Ethernet adapters.
691 endef
692
693 $(eval $(call KernelPackage,e1000))
694
695 define KernelPackage/b44
696 TITLE:=Broadcom 44xx driver
697 FILES:=$(LINUX_DIR)/drivers/net/b44.$(LINUX_KMOD_SUFFIX)
698 KCONFIG:=CONFIG_B44
699 DEPENDS:=@TARGET_x86 @BROKEN
700 SUBMENU:=$(NETWORK_DEVICES_MENU)
701 AUTOLOAD:=$(call AutoLoad,50,b44)
702 endef
703
704 define KernelPackage/b44/description
705 Kernel modules for Broadcom 44xx Ethernet adapters.
706 endef
707 $(eval $(call KernelPackage,b44))
708
709 define KernelPackage/3c59x
710 SUBMENU:=$(NETWORK_DEVICES_MENU)
711 TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
712 DEPENDS:=@TARGET_x86
713 KCONFIG:=CONFIG_VORTEX
714 FILES:=$(LINUX_DIR)/drivers/net/3c59x.$(LINUX_KMOD_SUFFIX)
715 AUTOLOAD:=$(call AutoLoad,50,3c59x)
716 endef
717
718 define KernelPackage/3c59x/description
719 This option enables driver support for a large number of 10mbps and
720 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters:
721 - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI
722 - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI
723 - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus
724 - "Tornado" (3c905) PCI
725 - "Hurricane" (3c555/3cSOHO) PCI
726 endef
727
728 $(eval $(call KernelPackage,3c59x))
729
730 define KernelPackage/pcnet32
731 SUBMENU:=$(NETWORK_DEVICES_MENU)
732 TITLE:=AMD PCnet32 PCI support
733 DEPENDS:=@TARGET_x86
734 KCONFIG:=CONFIG_PCNET32
735 FILES:=$(LINUX_DIR)/drivers/net/pcnet32.$(LINUX_KMOD_SUFFIX)
736 AUTOLOAD:=$(call AutoLoad,50,pcnet32)
737 endef
738
739 define KernelPackage/pcnet32/description
740 Kernel modules for AMD PCnet32 Ethernet adapters.
741 endef
742
743 $(eval $(call KernelPackage,pcnet32))
744
745
746 define KernelPackage/tg3
747 TITLE:=Broadcom Tigon3 Gigabit Ethernet
748 FILES:=$(LINUX_DIR)/drivers/net/tg3.$(LINUX_KMOD_SUFFIX)
749 KCONFIG:=CONFIG_TIGON3
750 DEPENDS:=@LINUX_2_6
751 SUBMENU:=$(NETWORK_DEVICES_MENU)
752 AUTOLOAD:=$(call AutoLoad,50,tg3)
753 endef
754
755 define KernelPackage/tg3/description
756 Kernel modules for Broadcom Tigon3 Gigabit Ethernet adapters.
757 endef
758 $(eval $(call KernelPackage,tg3))
759
760 define KernelPackage/ssb-gige
761 TITLE:=Broadcom SSB Gigabit Ethernet
762 KCONFIG:=CONFIG_SSB_DRIVER_GIGE=y
763 DEPENDS:=@TARGET_brcm47xx +kmod-tg3
764 SUBMENU:=$(NETWORK_DEVICES_MENU)
765 endef
766
767 define KernelPackage/ssb-gige/description
768 Kernel modules for Broadcom SSB Gigabit Ethernet adapters.
769 endef
770 $(eval $(call KernelPackage,ssb-gige))