oxnas: fix syntax in ox820-akitio.dts
[openwrt/openwrt.git] / package / kernel / linux / modules / netdevices.mk
1 #
2 # Copyright (C) 2006-2011 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_DEVICES_MENU:=Network Devices
9
10 define KernelPackage/sis190
11 SUBMENU:=$(NETWORK_DEVICES_MENU)
12 TITLE:=SiS 190 Fast/Gigabit Ethernet support
13 DEPENDS:=@PCI_SUPPORT +kmod-mii
14 KCONFIG:=CONFIG_SIS190
15 FILES:=$(LINUX_DIR)/drivers/net/ethernet/sis/sis190.ko
16 AUTOLOAD:=$(call AutoProbe,sis190)
17 endef
18
19 $(eval $(call KernelPackage,sis190))
20
21
22 define KernelPackage/skge
23 SUBMENU:=$(NETWORK_DEVICES_MENU)
24 TITLE:=SysKonnect Yukon support
25 DEPENDS:=@PCI_SUPPORT
26 KCONFIG:=CONFIG_SKGE \
27 CONFIG_SKGE_DEBUG=n \
28 CONFIG_SKGE_GENESIS=n
29 FILES:=$(LINUX_DIR)/drivers/net/ethernet/marvell/skge.ko
30 AUTOLOAD:=$(call AutoProbe,skge)
31 endef
32
33 $(eval $(call KernelPackage,skge))
34
35
36 define KernelPackage/atl2
37 SUBMENU:=$(NETWORK_DEVICES_MENU)
38 TITLE:=Atheros L2 Fast Ethernet support
39 DEPENDS:=@PCI_SUPPORT
40 KCONFIG:=CONFIG_ATL2
41 FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atlx/atl2.ko
42 AUTOLOAD:=$(call AutoProbe,atl2)
43 endef
44
45 $(eval $(call KernelPackage,atl2))
46
47
48 define KernelPackage/atl1
49 SUBMENU:=$(NETWORK_DEVICES_MENU)
50 TITLE:=Atheros L1 Gigabit Ethernet support
51 DEPENDS:=@PCI_SUPPORT +kmod-mii
52 KCONFIG:=CONFIG_ATL1
53 FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atlx/atl1.ko
54 AUTOLOAD:=$(call AutoProbe,atl1)
55 endef
56
57 $(eval $(call KernelPackage,atl1))
58
59
60 define KernelPackage/atl1c
61 SUBMENU:=$(NETWORK_DEVICES_MENU)
62 TITLE:=Atheros L1C
63 DEPENDS:=@PCI_SUPPORT
64 KCONFIG:=CONFIG_ATL1C
65 FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atl1c/atl1c.ko
66 AUTOLOAD:=$(call AutoProbe,atl1c)
67 endef
68
69 $(eval $(call KernelPackage,atl1c))
70
71
72 define KernelPackage/atl1e
73 SUBMENU:=$(NETWORK_DEVICES_MENU)
74 TITLE:=Atheros L1E
75 DEPENDS:=@PCI_SUPPORT
76 KCONFIG:=CONFIG_ATL1E
77 FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atl1e/atl1e.ko
78 AUTOLOAD:=$(call AutoProbe,atl1e)
79 endef
80
81 $(eval $(call KernelPackage,atl1e))
82
83
84 define KernelPackage/libphy
85 SUBMENU:=$(NETWORK_DEVICES_MENU)
86 TITLE:=PHY library
87 KCONFIG:=CONFIG_PHYLIB
88 FILES:=$(LINUX_DIR)/drivers/net/phy/libphy.ko
89 AUTOLOAD:=$(call AutoLoad,15,libphy,1)
90 endef
91
92 define KernelPackage/libphy/description
93 PHY library
94 endef
95
96 $(eval $(call KernelPackage,libphy))
97
98 define KernelPackage/mii
99 SUBMENU:=$(NETWORK_DEVICES_MENU)
100 TITLE:=MII library
101 KCONFIG:=CONFIG_MII
102 FILES:=$(LINUX_DIR)/drivers/net/mii.ko
103 AUTOLOAD:=$(call AutoLoad,15,mii,1)
104 endef
105
106 define KernelPackage/mii/description
107 MII library
108 endef
109
110 $(eval $(call KernelPackage,mii))
111
112
113 define KernelPackage/et131x
114 SUBMENU:=$(NETWORK_DEVICES_MENU)
115 TITLE:=Agere ET131x Gigabit Ethernet driver
116 URL:=http://sourceforge.net/projects/et131x
117 FILES:= \
118 $(LINUX_DIR)/drivers/net/ethernet/agere/et131x.ko
119 KCONFIG:= \
120 CONFIG_ET131X \
121 CONFIG_ET131X_DEBUG=n
122 DEPENDS:=@PCI_SUPPORT +kmod-libphy
123 AUTOLOAD:=$(call AutoProbe,et131x)
124 endef
125
126 define KernelPackage/et131x/description
127 This package contains the et131x kernel module
128 endef
129
130 $(eval $(call KernelPackage,et131x))
131
132
133 define KernelPackage/gw16083
134 SUBMENU:=$(NETWORK_DEVICES_MENU)
135 TITLE:=Gateworks Ventana Ethernet Expansion Mezzanine driver
136 URL:=http://www.gateworks.com
137 FILES:=$(LINUX_DIR)/drivers/net/phy/gw16083.ko
138 KCONFIG:=CONFIG_GATEWORKS_GW16083
139 DEPENDS:=@TARGET_imx6 @PCI_SUPPORT +kmod-libphy +kmod-igb
140 AUTOLOAD:=$(call AutoLoad,36,gw16083)
141 endef
142
143 define KernelPackage/gw16083/description
144 This package contains the gw16083 kernel module for supporting the Gateworks
145 Ventana Ethernet Expansion Mezzanine.
146 endef
147
148 $(eval $(call KernelPackage,gw16083))
149
150
151 define KernelPackage/phylib-broadcom
152 SUBMENU:=$(NETWORK_DEVICES_MENU)
153 TITLE:=Broadcom Ethernet PHY library
154 KCONFIG:=CONFIG_BCM_NET_PHYLIB
155 HIDDEN:=1
156 DEPENDS:=+kmod-libphy
157 FILES:=$(LINUX_DIR)/drivers/net/phy/bcm-phy-lib.ko
158 AUTOLOAD:=$(call AutoLoad,17,bcm-phy-lib)
159 endef
160
161 $(eval $(call KernelPackage,phylib-broadcom))
162
163
164 define KernelPackage/phy-broadcom
165 SUBMENU:=$(NETWORK_DEVICES_MENU)
166 TITLE:=Broadcom Ethernet PHY driver
167 KCONFIG:=CONFIG_BROADCOM_PHY
168 DEPENDS:=+kmod-libphy +kmod-phylib-broadcom
169 FILES:=$(LINUX_DIR)/drivers/net/phy/broadcom.ko
170 AUTOLOAD:=$(call AutoLoad,18,broadcom)
171 endef
172
173 define KernelPackage/phy-broadcom/description
174 Currently supports the BCM5411, BCM5421, BCM5461, BCM5464, BCM5481,
175 BCM5482 and BCM57780 PHYs.
176 endef
177
178 $(eval $(call KernelPackage,phy-broadcom))
179
180
181 define KernelPackage/swconfig
182 SUBMENU:=$(NETWORK_DEVICES_MENU)
183 TITLE:=switch configuration API
184 DEPENDS:=+kmod-libphy
185 KCONFIG:=CONFIG_SWCONFIG
186 FILES:=$(LINUX_DIR)/drivers/net/phy/swconfig.ko
187 AUTOLOAD:=$(call AutoLoad,41,swconfig)
188 endef
189
190 define KernelPackage/swconfig/description
191 Switch configuration API module
192 endef
193
194 $(eval $(call KernelPackage,swconfig))
195
196 define KernelPackage/switch-mvsw61xx
197 SUBMENU:=$(NETWORK_DEVICES_MENU)
198 TITLE:=Marvell 88E61xx switch support
199 DEPENDS:=+kmod-swconfig
200 KCONFIG:=CONFIG_MVSW61XX_PHY
201 FILES:=$(LINUX_DIR)/drivers/net/phy/mvsw61xx.ko
202 AUTOLOAD:=$(call AutoLoad,42,mvsw61xx)
203 endef
204
205 define KernelPackage/switch-mvsw61xx/description
206 Marvell 88E61xx switch support
207 endef
208
209 $(eval $(call KernelPackage,switch-mvsw61xx))
210
211 define KernelPackage/switch-ip17xx
212 SUBMENU:=$(NETWORK_DEVICES_MENU)
213 TITLE:=IC+ IP17XX switch support
214 DEPENDS:=+kmod-swconfig
215 KCONFIG:=CONFIG_IP17XX_PHY
216 FILES:=$(LINUX_DIR)/drivers/net/phy/ip17xx.ko
217 AUTOLOAD:=$(call AutoLoad,42,ip17xx)
218 endef
219
220 define KernelPackage/switch-ip17xx/description
221 IC+ IP175C/IP178C switch support
222 endef
223
224 $(eval $(call KernelPackage,switch-ip17xx))
225
226
227 define KernelPackage/switch-rtl8366-smi
228 SUBMENU:=$(NETWORK_DEVICES_MENU)
229 TITLE:=Realtek RTL8366 SMI switch interface support
230 DEPENDS:=@GPIO_SUPPORT +kmod-swconfig
231 KCONFIG:=CONFIG_RTL8366_SMI
232 FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
233 AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi)
234 endef
235
236 define KernelPackage/switch-rtl8366_smi/description
237 Realtek RTL8366 series SMI switch interface support
238 endef
239
240 $(eval $(call KernelPackage,switch-rtl8366-smi))
241
242
243 define KernelPackage/switch-rtl8366rb
244 SUBMENU:=$(NETWORK_DEVICES_MENU)
245 TITLE:=Realtek RTL8366RB switch support
246 DEPENDS:=+kmod-switch-rtl8366-smi
247 KCONFIG:=CONFIG_RTL8366RB_PHY
248 FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366rb.ko
249 AUTOLOAD:=$(call AutoLoad,43,rtl8366rb)
250 endef
251
252 define KernelPackage/switch-rtl8366rb/description
253 Realtek RTL8366RB switch support
254 endef
255
256 $(eval $(call KernelPackage,switch-rtl8366rb))
257
258
259 define KernelPackage/switch-rtl8366s
260 SUBMENU:=$(NETWORK_DEVICES_MENU)
261 TITLE:=Realtek RTL8366S switch support
262 DEPENDS:=+kmod-switch-rtl8366-smi
263 KCONFIG:=CONFIG_RTL8366S_PHY
264 FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366s.ko
265 AUTOLOAD:=$(call AutoLoad,43,rtl8366s)
266 endef
267
268 define KernelPackage/switch-rtl8366s/description
269 Realtek RTL8366S switch support
270 endef
271
272 $(eval $(call KernelPackage,switch-rtl8366s))
273
274
275 define KernelPackage/switch-rtl8367b
276 SUBMENU:=$(NETWORK_DEVICES_MENU)
277 TITLE:=Realtek RTL8367R/B switch support
278 DEPENDS:=+kmod-switch-rtl8366-smi
279 KCONFIG:=CONFIG_RTL8367B_PHY
280 FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8367b.ko
281 AUTOLOAD:=$(call AutoLoad,43,rtl8367b)
282 endef
283
284 define KernelPackage/switch-rtl8367b/description
285 Realtek RTL8367R/B switch support
286 endef
287
288 $(eval $(call KernelPackage,switch-rtl8367b))
289
290
291 define KernelPackage/natsemi
292 SUBMENU:=$(NETWORK_DEVICES_MENU)
293 TITLE:=National Semiconductor DP8381x series
294 DEPENDS:=@PCI_SUPPORT
295 KCONFIG:=CONFIG_NATSEMI
296 FILES:=$(LINUX_DIR)/drivers/net/ethernet/natsemi/natsemi.ko
297 AUTOLOAD:=$(call AutoLoad,20,natsemi)
298 endef
299
300 define KernelPackage/natsemi/description
301 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
302 adapters.
303 endef
304
305 $(eval $(call KernelPackage,natsemi))
306
307
308 define KernelPackage/r6040
309 SUBMENU:=$(NETWORK_DEVICES_MENU)
310 TITLE:=RDC Fast-Ethernet support
311 DEPENDS:=@PCI_SUPPORT +kmod-libphy
312 KCONFIG:=CONFIG_R6040 \
313 CONFIG_R6040_NAPI=y
314 FILES:=$(LINUX_DIR)/drivers/net/ethernet/rdc/r6040.ko
315 AUTOLOAD:=$(call AutoProbe,r6040)
316 endef
317
318 define KernelPackage/r6040/description
319 Kernel modules for RDC Fast-Ethernet adapters.
320 endef
321
322 $(eval $(call KernelPackage,r6040))
323
324
325 define KernelPackage/sis900
326 SUBMENU:=$(NETWORK_DEVICES_MENU)
327 TITLE:=SiS 900 Ethernet support
328 DEPENDS:=@PCI_SUPPORT +kmod-mii
329 KCONFIG:=CONFIG_SIS900
330 FILES:=$(LINUX_DIR)/drivers/net/ethernet/sis/sis900.ko
331 AUTOLOAD:=$(call AutoProbe,sis900)
332 endef
333
334 define KernelPackage/sis900/description
335 Kernel modules for Sis 900 Ethernet adapters.
336 endef
337
338 $(eval $(call KernelPackage,sis900))
339
340
341 define KernelPackage/sky2
342 SUBMENU:=$(NETWORK_DEVICES_MENU)
343 TITLE:=SysKonnect Yukon2 support
344 DEPENDS:=@PCI_SUPPORT
345 KCONFIG:=CONFIG_SKY2
346 FILES:=$(LINUX_DIR)/drivers/net/ethernet/marvell/sky2.ko
347 AUTOLOAD:=$(call AutoProbe,sky2)
348 endef
349
350 define KernelPackage/sky2/description
351 This driver supports Gigabit Ethernet adapters based on the
352 Marvell Yukon 2 chipset:
353 Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
354 88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21
355
356 There is companion driver for the older Marvell Yukon and
357 Genesis based adapters: skge.
358 endef
359
360 $(eval $(call KernelPackage,sky2))
361
362
363 define KernelPackage/via-rhine
364 SUBMENU:=$(NETWORK_DEVICES_MENU)
365 TITLE:=Via Rhine ethernet support
366 DEPENDS:=@PCI_SUPPORT +kmod-mii
367 KCONFIG:=CONFIG_VIA_RHINE \
368 CONFIG_VIA_RHINE_MMIO=y
369 FILES:=$(LINUX_DIR)/drivers/net/ethernet/via/via-rhine.ko
370 AUTOLOAD:=$(call AutoProbe,via-rhine)
371 endef
372
373 define KernelPackage/via-rhine/description
374 Kernel modules for Via Rhine Ethernet chipsets
375 endef
376
377 $(eval $(call KernelPackage,via-rhine))
378
379
380 define KernelPackage/via-velocity
381 SUBMENU:=$(NETWORK_DEVICES_MENU)
382 TITLE:=VIA Velocity Gigabit Ethernet Adapter kernel support
383 DEPENDS:=@TARGET_ixp4xx||TARGET_mpc83xx||PCI_SUPPORT +kmod-lib-crc-ccitt
384 KCONFIG:=CONFIG_VIA_VELOCITY
385 FILES:=$(LINUX_DIR)/drivers/net/ethernet/via/via-velocity.ko
386 AUTOLOAD:=$(call AutoProbe,via-velocity)
387 endef
388
389 define KernelPackage/via-velocity/description
390 Kernel modules for VIA Velocity Gigabit Ethernet chipsets
391 endef
392
393 $(eval $(call KernelPackage,via-velocity))
394
395
396 define KernelPackage/8139too
397 SUBMENU:=$(NETWORK_DEVICES_MENU)
398 TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
399 DEPENDS:=@PCI_SUPPORT +kmod-mii
400 KCONFIG:=CONFIG_8139TOO \
401 CONFIG_8139TOO_PIO=y \
402 CONFIG_8139TOO_TUNE_TWISTER=n \
403 CONFIG_8139TOO_8129=n \
404 CONFIG_8139_OLD_RX_RESET=n
405 FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/8139too.ko
406 AUTOLOAD:=$(call AutoProbe,8139too)
407 endef
408
409 define KernelPackage/8139too/description
410 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters
411 endef
412
413 $(eval $(call KernelPackage,8139too))
414
415
416 define KernelPackage/8139cp
417 SUBMENU:=$(NETWORK_DEVICES_MENU)
418 TITLE:=RealTek RTL-8139C+ PCI Fast Ethernet Adapter kernel support
419 DEPENDS:=@PCI_SUPPORT +kmod-mii
420 KCONFIG:=CONFIG_8139CP
421 FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/8139cp.ko
422 AUTOLOAD:=$(call AutoProbe,8139cp)
423 endef
424
425 define KernelPackage/8139cp/description
426 Kernel module for RealTek RTL-8139C+ PCI Fast Ethernet adapters
427 endef
428
429 $(eval $(call KernelPackage,8139cp))
430
431
432 define KernelPackage/r8169
433 SUBMENU:=$(NETWORK_DEVICES_MENU)
434 TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
435 DEPENDS:=@PCI_SUPPORT +kmod-mii +r8169-firmware
436 KCONFIG:=CONFIG_R8169 \
437 CONFIG_R8169_NAPI=y \
438 CONFIG_R8169_VLAN=n
439 FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/r8169.ko
440 AUTOLOAD:=$(call AutoProbe,r8169)
441 endef
442
443 define KernelPackage/r8169/description
444 Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters
445 endef
446
447 $(eval $(call KernelPackage,r8169))
448
449
450 define KernelPackage/ne2k-pci
451 SUBMENU:=$(NETWORK_DEVICES_MENU)
452 TITLE:=ne2k-pci Ethernet Adapter kernel support
453 DEPENDS:=@PCI_SUPPORT
454 KCONFIG:=CONFIG_NE2K_PCI
455 FILES:= \
456 $(LINUX_DIR)/drivers/net/ethernet/8390/ne2k-pci.ko \
457 $(LINUX_DIR)/drivers/net/ethernet/8390/8390.ko
458 AUTOLOAD:=$(call AutoProbe,8390 ne2k-pci)
459 endef
460
461 define KernelPackage/ne2k-pci/description
462 Kernel modules for NE2000 PCI Ethernet Adapter kernel
463 endef
464
465 $(eval $(call KernelPackage,ne2k-pci))
466
467
468 define KernelPackage/e100
469 SUBMENU:=$(NETWORK_DEVICES_MENU)
470 TITLE:=Intel(R) PRO/100+ cards kernel support
471 DEPENDS:=@PCI_SUPPORT +kmod-mii
472 KCONFIG:=CONFIG_E100
473 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e100.ko
474 AUTOLOAD:=$(call AutoProbe,e100)
475 endef
476
477 define KernelPackage/e100/description
478 Kernel modules for Intel(R) PRO/100+ Ethernet adapters
479 endef
480
481 define KernelPackage/e100/install
482 $(INSTALL_DIR) $(1)/lib/firmware/e100
483 $(INSTALL_DATA) $(LINUX_DIR)/firmware/e100/d101m_ucode.bin $(1)/lib/firmware/e100/
484 $(INSTALL_DATA) $(LINUX_DIR)/firmware/e100/d101s_ucode.bin $(1)/lib/firmware/e100/
485 $(INSTALL_DATA) $(LINUX_DIR)/firmware/e100/d102e_ucode.bin $(1)/lib/firmware/e100/
486 endef
487
488 $(eval $(call KernelPackage,e100))
489
490
491 define KernelPackage/e1000
492 SUBMENU:=$(NETWORK_DEVICES_MENU)
493 TITLE:=Intel(R) PRO/1000 PCI cards kernel support
494 DEPENDS:=@PCI_SUPPORT
495 KCONFIG:=CONFIG_E1000 \
496 CONFIG_E1000_DISABLE_PACKET_SPLIT=n \
497 CONFIG_E1000_NAPI=y
498 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000/e1000.ko
499 AUTOLOAD:=$(call AutoLoad,35,e1000)
500 endef
501
502 define KernelPackage/e1000/description
503 Kernel modules for Intel(R) PRO/1000 PCI Ethernet adapters.
504 endef
505
506 $(eval $(call KernelPackage,e1000))
507
508
509 define KernelPackage/e1000e
510 SUBMENU:=$(NETWORK_DEVICES_MENU)
511 TITLE:=Intel(R) PRO/1000 PCIe cards kernel support
512 DEPENDS:=@PCIE_SUPPORT +kmod-ptp
513 KCONFIG:=CONFIG_E1000E
514 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000e/e1000e.ko
515 AUTOLOAD:=$(call AutoProbe,e1000e)
516 endef
517
518 define KernelPackage/e1000e/description
519 Kernel modules for Intel(R) PRO/1000 PCIe Ethernet adapters.
520 endef
521
522 $(eval $(call KernelPackage,e1000e))
523
524
525 define KernelPackage/igb
526 SUBMENU:=$(NETWORK_DEVICES_MENU)
527 TITLE:=Intel(R) 82575/82576 PCI-Express Gigabit Ethernet support
528 DEPENDS:=@PCI_SUPPORT +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp
529 KCONFIG:=CONFIG_IGB \
530 CONFIG_IGB_HWMON=n \
531 CONFIG_IGB_DCA=n
532 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/igb/igb.ko
533 AUTOLOAD:=$(call AutoLoad,35,igb)
534 endef
535
536 define KernelPackage/igb/description
537 Kernel modules for Intel(R) 82575/82576 PCI-Express Gigabit Ethernet adapters.
538 endef
539
540 $(eval $(call KernelPackage,igb))
541
542
543 define KernelPackage/b44
544 TITLE:=Broadcom 44xx driver
545 KCONFIG:=CONFIG_B44
546 DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx_mips74k +!TARGET_brcm47xx:kmod-ssb +kmod-mii +kmod-libphy
547 SUBMENU:=$(NETWORK_DEVICES_MENU)
548 FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/b44.ko
549 AUTOLOAD:=$(call AutoLoad,19,b44,1)
550 endef
551
552 define KernelPackage/b44/description
553 Kernel modules for Broadcom 44xx Ethernet adapters.
554 endef
555
556 $(eval $(call KernelPackage,b44))
557
558
559 define KernelPackage/3c59x
560 SUBMENU:=$(NETWORK_DEVICES_MENU)
561 TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
562 DEPENDS:=@PCI_SUPPORT +kmod-mii
563 KCONFIG:=CONFIG_VORTEX
564 FILES:=$(LINUX_DIR)/drivers/net/ethernet/3com/3c59x.ko
565 AUTOLOAD:=$(call AutoProbe,3c59x)
566 endef
567
568 define KernelPackage/3c59x/description
569 This option enables driver support for a large number of 10mbps and
570 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters:
571 - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI
572 - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI
573 - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus
574 - "Tornado" (3c905) PCI
575 - "Hurricane" (3c555/3cSOHO) PCI
576 endef
577
578 $(eval $(call KernelPackage,3c59x))
579
580
581 define KernelPackage/pcnet32
582 SUBMENU:=$(NETWORK_DEVICES_MENU)
583 TITLE:=AMD PCnet32 PCI support
584 DEPENDS:=@(PCI_SUPPORT||TARGET_malta) +kmod-mii
585 KCONFIG:=CONFIG_PCNET32
586 FILES:=$(LINUX_DIR)/drivers/net/ethernet/amd/pcnet32.ko
587 AUTOLOAD:=$(call AutoProbe,pcnet32)
588 endef
589
590 define KernelPackage/pcnet32/description
591 Kernel modules for AMD PCnet32 Ethernet adapters
592 endef
593
594 $(eval $(call KernelPackage,pcnet32))
595
596
597 define KernelPackage/tg3
598 TITLE:=Broadcom Tigon3 Gigabit Ethernet
599 KCONFIG:=CONFIG_TIGON3
600 DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +kmod-hwmon-core +kmod-ptp
601 SUBMENU:=$(NETWORK_DEVICES_MENU)
602 FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
603 AUTOLOAD:=$(call AutoLoad,19,tg3,1)
604 endef
605
606 define KernelPackage/tg3/description
607 Kernel modules for Broadcom Tigon3 Gigabit Ethernet adapters
608 endef
609
610 $(eval $(call KernelPackage,tg3))
611
612
613 define KernelPackage/hfcpci
614 TITLE:=HFC PCI cards (single port) support for mISDN
615 KCONFIG:=CONFIG_MISDN_HFCPCI
616 DEPENDS:=+kmod-misdn
617 SUBMENU:=$(NETWORK_DEVICES_MENU)
618 FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcpci.ko
619 AUTOLOAD:=$(call AutoLoad,31,hfcpci)
620 endef
621
622 define KernelPackage/hfcpci/description
623 Kernel modules for Cologne AG's HFC pci cards (single port)
624 using the mISDN V2 stack
625 endef
626
627 $(eval $(call KernelPackage,hfcpci))
628
629
630 define KernelPackage/hfcmulti
631 TITLE:=HFC multiport cards (HFC-4S/8S/E1) support for mISDN
632 KCONFIG:=CONFIG_MISDN_HFCMULTI
633 DEPENDS:=+kmod-misdn
634 SUBMENU:=$(NETWORK_DEVICES_MENU)
635 FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcmulti.ko
636 AUTOLOAD:=$(call AutoLoad,31,hfcmulti)
637 endef
638
639 define KernelPackage/hfcmulti/description
640 Kernel modules for Cologne AG's HFC multiport cards (HFC-4S/8S/E1)
641 using the mISDN V2 stack
642 endef
643
644 $(eval $(call KernelPackage,hfcmulti))
645
646
647 define KernelPackage/gigaset
648 SUBMENU:=$(NETWORK_DEVICES_MENU)
649 TITLE:=Siemens Gigaset support for isdn4linux
650 DEPENDS:=@USB_SUPPORT +kmod-isdn4linux +kmod-lib-crc-ccitt +kmod-usb-core
651 URL:=http://gigaset307x.sourceforge.net/
652 KCONFIG:= \
653 CONFIG_ISDN_DRV_GIGASET \
654 CONFIG_GIGASET_BASE \
655 CONFIG_GIGASET_M101 \
656 CONFIG_GIGASET_M105 \
657 CONFIG_GIGASET_UNDOCREQ=y \
658 CONFIG_GIGASET_I4L=y
659 FILES:= \
660 $(LINUX_DIR)/drivers/isdn/gigaset/gigaset.ko \
661 $(LINUX_DIR)/drivers/isdn/gigaset/bas_gigaset.ko \
662 $(LINUX_DIR)/drivers/isdn/gigaset/ser_gigaset.ko \
663 $(LINUX_DIR)/drivers/isdn/gigaset/usb_gigaset.ko
664 AUTOLOAD:=$(call AutoProbe,gigaset bas_gigaset ser_gigaset usb_gigaset)
665 endef
666
667 define KernelPackage/gigaset/description
668 This driver supports the Siemens Gigaset SX205/255 family of
669 ISDN DECT bases, including the predecessors Gigaset 3070/3075
670 and 4170/4175 and their T-Com versions Sinus 45isdn and Sinus
671 721X.
672 endef
673
674 $(eval $(call KernelPackage,gigaset))
675
676
677 define KernelPackage/macvlan
678 SUBMENU:=$(NETWORK_DEVICES_MENU)
679 TITLE:=MAC-VLAN support
680 KCONFIG:=CONFIG_MACVLAN
681 FILES:=$(LINUX_DIR)/drivers/net/macvlan.ko
682 AUTOLOAD:=$(call AutoProbe,macvlan)
683 endef
684
685 define KernelPackage/macvlan/description
686 A kernel module which allows one to create virtual interfaces that
687 map packets to or from specific MAC addresses to a particular interface
688 endef
689
690 $(eval $(call KernelPackage,macvlan))
691
692
693 define KernelPackage/tulip
694 TITLE:=Tulip family network device support
695 DEPENDS:=@PCI_SUPPORT +kmod-mii
696 SUBMENU:=$(NETWORK_DEVICES_MENU)
697 KCONFIG:= \
698 CONFIG_NET_TULIP=y \
699 CONFIG_DE2104X \
700 CONFIG_DE2104X_DSL=0 \
701 CONFIG_TULIP \
702 CONFIG_TULIP_MWI=y \
703 CONFIG_TULIP_MMIO=y \
704 CONFIG_TULIP_NAPI=y \
705 CONFIG_TULIP_NAPI_HW_MITIGATION=y \
706 CONFIG_DE4X5=n \
707 CONFIG_WINBOND_840 \
708 CONFIG_DM9102 \
709 CONFIG_ULI526X
710 FILES:= \
711 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/tulip.ko \
712 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/de2104x.ko \
713 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/dmfe.ko \
714 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/uli526x.ko \
715 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/winbond-840.ko
716 AUTOLOAD:=$(call AutoProbe,tulip)
717 endef
718
719 define KernelPackage/tulip/description
720 Kernel modules for the Tulip family of network cards,
721 including DECchip Tulip, DIGITAL EtherWORKS, Winbond W89c840,
722 Davicom DM910x/DM980x and ULi M526x controller support.
723 endef
724
725 $(eval $(call KernelPackage,tulip))
726
727
728 define KernelPackage/solos-pci
729 SUBMENU:=$(NETWORK_DEVICES_MENU)
730 TITLE:=Solos ADSL2+ multiport modem
731 DEPENDS:=@PCI_SUPPORT +kmod-atm
732 KCONFIG:=CONFIG_ATM_SOLOS
733 FILES:=$(LINUX_DIR)/drivers/atm/solos-pci.ko
734 AUTOLOAD:=$(call AutoProbe,solos-pci)
735 endef
736
737 define KernelPackage/solos-pci/description
738 Kernel module for Traverse Technologies' Solos PCI cards
739 and Geos ADSL2+ x86 motherboard
740 endef
741
742 $(eval $(call KernelPackage,solos-pci))
743
744
745 define KernelPackage/dummy
746 SUBMENU:=$(NETWORK_DEVICES_MENU)
747 TITLE:=Dummy network device
748 KCONFIG:=CONFIG_DUMMY
749 FILES:=$(LINUX_DIR)/drivers/net/dummy.ko
750 AUTOLOAD:=$(call AutoLoad,34,dummy)
751 endef
752
753 define KernelPackage/dummy/description
754 The dummy network device
755 endef
756
757 $(eval $(call KernelPackage,dummy))
758
759
760 define KernelPackage/ifb
761 SUBMENU:=$(NETWORK_DEVICES_MENU)
762 TITLE:=Intermediate Functional Block support
763 KCONFIG:= \
764 CONFIG_IFB \
765 CONFIG_NET_CLS=y
766 FILES:=$(LINUX_DIR)/drivers/net/ifb.ko
767 AUTOLOAD:=$(call AutoLoad,34,ifb)
768 endef
769
770 define KernelPackage/ifb/description
771 The Intermediate Functional Block
772 endef
773
774 $(eval $(call KernelPackage,ifb))
775
776
777 define KernelPackage/dm9000
778 SUBMENU:=$(NETWORK_DEVICES_MENU)
779 TITLE:=Davicom 9000 Ethernet support
780 DEPENDS:=@PCI_SUPPORT +kmod-mii
781 KCONFIG:=CONFIG_DM9000 \
782 CONFIG_DM9000_DEBUGLEVEL=4 \
783 CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL=y
784 FILES:=$(LINUX_DIR)/drivers/net/ethernet/davicom/dm9000.ko
785 AUTOLOAD:=$(call AutoLoad,34,dm9000)
786 endef
787
788 define KernelPackage/dm9000/description
789 Kernel driver for Davicom 9000 Ethernet adapters.
790 endef
791
792 $(eval $(call KernelPackage,dm9000))
793
794
795 define KernelPackage/forcedeth
796 SUBMENU:=$(NETWORK_DEVICES_MENU)
797 TITLE:=nForce Ethernet support
798 DEPENDS:=@PCI_SUPPORT
799 KCONFIG:=CONFIG_FORCEDETH
800 FILES:=$(LINUX_DIR)/drivers/net/ethernet/nvidia/forcedeth.ko
801 AUTOLOAD:=$(call AutoProbe,forcedeth)
802 endef
803
804 define KernelPackage/forcedeth/description
805 Kernel driver for Nvidia Ethernet support
806 endef
807
808 $(eval $(call KernelPackage,forcedeth))
809
810 define KernelPackage/of-mdio
811 SUBMENU:=$(NETWORK_DEVICES_MENU)
812 TITLE:=OpenFirmware MDIO support
813 DEPENDS:=+kmod-libphy
814 KCONFIG:=CONFIG_OF_MDIO
815 FILES:=$(LINUX_DIR)/drivers/of/of_mdio.ko
816 AUTOLOAD:=$(call AutoLoad,41,of_mdio)
817 endef
818
819 define KernelPackage/of-mdio/description
820 Kernel driver for OpenFirmware MDIO support
821 endef
822
823 $(eval $(call KernelPackage,of-mdio))
824
825
826 define KernelPackage/fsl-pq-mdio
827 SUBMENU:=$(NETWORK_DEVICES_MENU)
828 TITLE:=Freescale PQ MDIO bus support
829 DEPENDS:=@TARGET_mpc85xx +kmod-of-mdio
830 KCONFIG:=CONFIG_FSL_PQ_MDIO
831 FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/fsl_pq_mdio.ko
832 AUTOLOAD:=$(call AutoLoad,42,fsl_pq_mdio)
833 endef
834
835 define KernelPackage/fsl-pq-mdio/description
836 Kernel driver for the Freescale PQ MDIO bus
837 endef
838
839 $(eval $(call KernelPackage,fsl-pq-mdio))
840
841
842 define KernelPackage/gianfar
843 SUBMENU:=$(NETWORK_DEVICES_MENU)
844 TITLE:=Gianfar Ethernet support
845 DEPENDS:=@TARGET_mpc85xx +kmod-fsl-pq-mdio
846 KCONFIG:=CONFIG_GIANFAR
847 FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_driver.ko
848 AUTOLOAD:=$(call AutoProbe,gianfar_driver)
849 endef
850
851 define KernelPackage/gianfar/description
852 Kernel driver for Freescale Gianfar Ethernet support
853 endef
854
855 $(eval $(call KernelPackage,gianfar))
856
857
858 define KernelPackage/vmxnet3
859 SUBMENU:=$(NETWORK_DEVICES_MENU)
860 TITLE:=VMware VMXNET3 ethernet driver
861 DEPENDS:=@PCI_SUPPORT
862 KCONFIG:=CONFIG_VMXNET3
863 FILES:=$(LINUX_DIR)/drivers/net/vmxnet3/vmxnet3.ko
864 AUTOLOAD:=$(call AutoLoad,35,vmxnet3)
865 endef
866
867 define KernelPackage/vmxnet3/description
868 Kernel modules for VMware VMXNET3 ethernet adapters.
869 endef
870
871 $(eval $(call KernelPackage,vmxnet3))
872
873
874 define KernelPackage/spi-ks8995
875 SUBMENU:=$(NETWORK_DEVICES_MENU)
876 TITLE:=Micrel/Kendin KS8995 Ethernet switch control
877 FILES:=$(LINUX_DIR)/drivers/net/phy/spi_ks8995.ko
878 KCONFIG:=CONFIG_MICREL_KS8995MA \
879 CONFIG_SPI=y \
880 CONFIG_SPI_MASTER=y
881 AUTOLOAD:=$(call AutoLoad,50,spi_ks8995)
882 endef
883
884 define KernelPackage/spi-ks8995/description
885 Kernel module for Micrel/Kendin KS8995 ethernet switch
886 endef
887
888 $(eval $(call KernelPackage,spi-ks8995))
889
890
891 define KernelPackage/ethoc
892 SUBMENU:=$(NETWORK_DEVICES_MENU)
893 TITLE:=Opencore.org ethoc driver
894 DEPENDS:=+kmod-libphy
895 FILES:=$(LINUX_DIR)/drivers/net/ethernet/ethoc.ko
896 KCONFIG:=CONFIG_ETHOC
897 AUTOLOAD:=$(call AutoProbe,ethoc)
898 endef
899
900 define KernelPackage/ethoc/description
901 Kernel module for the Opencores.org ethernet adapter
902 endef
903
904 $(eval $(call KernelPackage,ethoc))