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