samsung: drop target
[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/alx
37 SUBMENU:=$(NETWORK_DEVICES_MENU)
38 TITLE:=Qualcomm Atheros AR816x/AR817x PCI-E Ethernet Network Driver
39 DEPENDS:=@PCI_SUPPORT +kmod-mdio
40 KCONFIG:=CONFIG_ALX
41 FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/alx/alx.ko
42 AUTOLOAD:=$(call AutoProbe,alx)
43 endef
44
45 $(eval $(call KernelPackage,alx))
46
47
48 define KernelPackage/atl2
49 SUBMENU:=$(NETWORK_DEVICES_MENU)
50 TITLE:=Atheros L2 Fast Ethernet support
51 DEPENDS:=@PCI_SUPPORT
52 KCONFIG:=CONFIG_ATL2
53 FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atlx/atl2.ko
54 AUTOLOAD:=$(call AutoProbe,atl2)
55 endef
56
57 $(eval $(call KernelPackage,atl2))
58
59
60 define KernelPackage/atl1
61 SUBMENU:=$(NETWORK_DEVICES_MENU)
62 TITLE:=Atheros L1 Gigabit Ethernet support
63 DEPENDS:=@PCI_SUPPORT +kmod-mii
64 KCONFIG:=CONFIG_ATL1
65 FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atlx/atl1.ko
66 AUTOLOAD:=$(call AutoProbe,atl1)
67 endef
68
69 $(eval $(call KernelPackage,atl1))
70
71
72 define KernelPackage/atl1c
73 SUBMENU:=$(NETWORK_DEVICES_MENU)
74 TITLE:=Atheros L1C
75 DEPENDS:=@PCI_SUPPORT
76 KCONFIG:=CONFIG_ATL1C
77 FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atl1c/atl1c.ko
78 AUTOLOAD:=$(call AutoProbe,atl1c)
79 endef
80
81 $(eval $(call KernelPackage,atl1c))
82
83
84 define KernelPackage/atl1e
85 SUBMENU:=$(NETWORK_DEVICES_MENU)
86 TITLE:=Atheros L1E
87 DEPENDS:=@PCI_SUPPORT
88 KCONFIG:=CONFIG_ATL1E
89 FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atl1e/atl1e.ko
90 AUTOLOAD:=$(call AutoProbe,atl1e)
91 endef
92
93 $(eval $(call KernelPackage,atl1e))
94
95
96 define KernelPackage/libphy
97 SUBMENU:=$(NETWORK_DEVICES_MENU)
98 TITLE:=PHY library
99 KCONFIG:=CONFIG_PHYLIB
100 FILES:=$(LINUX_DIR)/drivers/net/phy/libphy.ko
101 AUTOLOAD:=$(call AutoLoad,15,libphy,1)
102 endef
103
104 define KernelPackage/libphy/description
105 PHY library
106 endef
107
108 $(eval $(call KernelPackage,libphy))
109
110
111 define KernelPackage/phylink
112 SUBMENU:=$(NETWORK_DEVICES_MENU)
113 TITLE:=Model for MAC to optional PHY connection
114 KCONFIG:=CONFIG_PHYLINK
115 FILES:=$(LINUX_DIR)/drivers/net/phy/phylink.ko
116 AUTOLOAD:=$(call AutoLoad,15,phylink,1)
117 endef
118
119 define KernelPackage/phylink/description
120 Model for MAC to optional PHY connection
121 endef
122
123 $(eval $(call KernelPackage,phylink))
124
125
126 define KernelPackage/mii
127 SUBMENU:=$(NETWORK_DEVICES_MENU)
128 TITLE:=MII library
129 KCONFIG:=CONFIG_MII
130 FILES:=$(LINUX_DIR)/drivers/net/mii.ko
131 AUTOLOAD:=$(call AutoLoad,15,mii,1)
132 endef
133
134 define KernelPackage/mii/description
135 MII library
136 endef
137
138 $(eval $(call KernelPackage,mii))
139
140
141 define KernelPackage/mdio-gpio
142 SUBMENU:=$(NETWORK_DEVICES_MENU)
143 TITLE:= Supports GPIO lib-based MDIO busses
144 DEPENDS:=+kmod-libphy @GPIO_SUPPORT +(TARGET_armvirt||TARGET_bcm27xx_bcm2708||TARGET_tegra):kmod-of-mdio
145 KCONFIG:= \
146 CONFIG_MDIO_BITBANG \
147 CONFIG_MDIO_GPIO
148 FILES:= \
149 $(LINUX_DIR)/drivers/net/phy/mdio-gpio.ko \
150 $(LINUX_DIR)/drivers/net/phy/mdio-bitbang.ko
151 AUTOLOAD:=$(call AutoProbe,mdio-gpio)
152 endef
153
154 define KernelPackage/mdio-gpio/description
155 Supports GPIO lib-based MDIO busses
156 endef
157
158 $(eval $(call KernelPackage,mdio-gpio))
159
160
161 define KernelPackage/et131x
162 SUBMENU:=$(NETWORK_DEVICES_MENU)
163 TITLE:=Agere ET131x Gigabit Ethernet driver
164 URL:=http://sourceforge.net/projects/et131x
165 FILES:= \
166 $(LINUX_DIR)/drivers/net/ethernet/agere/et131x.ko
167 KCONFIG:= \
168 CONFIG_ET131X \
169 CONFIG_ET131X_DEBUG=n
170 DEPENDS:=@PCI_SUPPORT +kmod-libphy
171 AUTOLOAD:=$(call AutoProbe,et131x)
172 endef
173
174 define KernelPackage/et131x/description
175 This package contains the et131x kernel module
176 endef
177
178 $(eval $(call KernelPackage,et131x))
179
180
181 define KernelPackage/phylib-broadcom
182 SUBMENU:=$(NETWORK_DEVICES_MENU)
183 TITLE:=Broadcom Ethernet PHY library
184 KCONFIG:=CONFIG_BCM_NET_PHYLIB
185 HIDDEN:=1
186 DEPENDS:=+kmod-libphy
187 FILES:=$(LINUX_DIR)/drivers/net/phy/bcm-phy-lib.ko
188 AUTOLOAD:=$(call AutoLoad,17,bcm-phy-lib)
189 endef
190
191 $(eval $(call KernelPackage,phylib-broadcom))
192
193
194 define KernelPackage/phy-broadcom
195 SUBMENU:=$(NETWORK_DEVICES_MENU)
196 TITLE:=Broadcom Ethernet PHY driver
197 KCONFIG:=CONFIG_BROADCOM_PHY
198 DEPENDS:=+kmod-libphy +kmod-phylib-broadcom
199 FILES:=$(LINUX_DIR)/drivers/net/phy/broadcom.ko
200 AUTOLOAD:=$(call AutoLoad,18,broadcom,1)
201 endef
202
203 define KernelPackage/phy-broadcom/description
204 Currently supports the BCM5411, BCM5421, BCM5461, BCM5464, BCM5481,
205 BCM5482 and BCM57780 PHYs.
206 endef
207
208 $(eval $(call KernelPackage,phy-broadcom))
209
210
211 define KernelPackage/phy-bcm84881
212 SUBMENU:=$(NETWORK_DEVICES_MENU)
213 TITLE:=Broadcom BCM84881 PHY driver
214 KCONFIG:=CONFIG_BCM84881_PHY
215 DEPENDS:=+kmod-libphy
216 FILES:=$(LINUX_DIR)/drivers/net/phy/bcm84881.ko
217 AUTOLOAD:=$(call AutoLoad,18,bcm84881,1)
218 endef
219
220 define KernelPackage/phy-bcm84881/description
221 Supports the Broadcom 84881 PHY.
222 endef
223
224 $(eval $(call KernelPackage,phy-bcm84881))
225
226
227
228 define KernelPackage/phy-realtek
229 SUBMENU:=$(NETWORK_DEVICES_MENU)
230 TITLE:=Realtek Ethernet PHY driver
231 KCONFIG:=CONFIG_REALTEK_PHY
232 DEPENDS:=+kmod-libphy
233 FILES:=$(LINUX_DIR)/drivers/net/phy/realtek.ko
234 AUTOLOAD:=$(call AutoLoad,18,realtek,1)
235 endef
236
237 define KernelPackage/phy-realtek/description
238 Supports the Realtek 821x PHY.
239 endef
240
241 $(eval $(call KernelPackage,phy-realtek))
242
243
244 define KernelPackage/swconfig
245 SUBMENU:=$(NETWORK_DEVICES_MENU)
246 TITLE:=switch configuration API
247 DEPENDS:=+kmod-libphy
248 KCONFIG:=CONFIG_SWCONFIG
249 FILES:=$(LINUX_DIR)/drivers/net/phy/swconfig.ko
250 AUTOLOAD:=$(call AutoLoad,41,swconfig)
251 endef
252
253 define KernelPackage/swconfig/description
254 Switch configuration API module
255 endef
256
257 $(eval $(call KernelPackage,swconfig))
258
259 define KernelPackage/switch-bcm53xx
260 SUBMENU:=$(NETWORK_DEVICES_MENU)
261 TITLE:=Broadcom bcm53xx switch support
262 DEPENDS:=+kmod-swconfig
263 KCONFIG:=CONFIG_SWCONFIG_B53
264 FILES:=$(LINUX_DIR)/drivers/net/phy/b53/b53_common.ko
265 AUTOLOAD:=$(call AutoLoad,42,b53_common)
266 endef
267
268 define KernelPackage/switch-bcm53xx/description
269 Broadcom bcm53xx switch support
270 endef
271
272 $(eval $(call KernelPackage,switch-bcm53xx))
273
274 define KernelPackage/switch-bcm53xx-mdio
275 SUBMENU:=$(NETWORK_DEVICES_MENU)
276 TITLE:=Broadcom bcm53xx switch MDIO support
277 DEPENDS:=+kmod-switch-bcm53xx
278 KCONFIG:=CONFIG_SWCONFIG_B53_PHY_DRIVER
279 FILES:=$(LINUX_DIR)/drivers/net/phy/b53/b53_mdio.ko
280 AUTOLOAD:=$(call AutoLoad,42,b53_mdio)
281 endef
282
283 define KernelPackage/switch-bcm53xx-mdio/description
284 Broadcom bcm53xx switch MDIO support
285 endef
286
287 $(eval $(call KernelPackage,switch-bcm53xx-mdio))
288
289 define KernelPackage/switch-mvsw61xx
290 SUBMENU:=$(NETWORK_DEVICES_MENU)
291 TITLE:=Marvell 88E61xx switch support
292 DEPENDS:=+kmod-swconfig
293 KCONFIG:=CONFIG_MVSW61XX_PHY
294 FILES:=$(LINUX_DIR)/drivers/net/phy/mvsw61xx.ko
295 AUTOLOAD:=$(call AutoLoad,42,mvsw61xx)
296 endef
297
298 define KernelPackage/switch-mvsw61xx/description
299 Marvell 88E61xx switch support
300 endef
301
302 $(eval $(call KernelPackage,switch-mvsw61xx))
303
304 define KernelPackage/switch-ip17xx
305 SUBMENU:=$(NETWORK_DEVICES_MENU)
306 TITLE:=IC+ IP17XX switch support
307 DEPENDS:=+kmod-swconfig
308 KCONFIG:=CONFIG_IP17XX_PHY
309 FILES:=$(LINUX_DIR)/drivers/net/phy/ip17xx.ko
310 AUTOLOAD:=$(call AutoLoad,42,ip17xx)
311 endef
312
313 define KernelPackage/switch-ip17xx/description
314 IC+ IP175C/IP178C switch support
315 endef
316
317 $(eval $(call KernelPackage,switch-ip17xx))
318
319
320 define KernelPackage/switch-rtl8306
321 SUBMENU:=$(NETWORK_DEVICES_MENU)
322 TITLE:=Realtek RTL8306S switch support
323 DEPENDS:=+kmod-swconfig
324 KCONFIG:=CONFIG_RTL8306_PHY
325 FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8306.ko
326 AUTOLOAD:=$(call AutoLoad,43,rtl8306)
327 endef
328
329 define KernelPackage/switch-rtl8306/description
330 Realtek RTL8306S switch support
331 endef
332
333 $(eval $(call KernelPackage,switch-rtl8306))
334
335
336 define KernelPackage/switch-rtl8366-smi
337 SUBMENU:=$(NETWORK_DEVICES_MENU)
338 TITLE:=Realtek RTL8366 SMI switch interface support
339 DEPENDS:=@GPIO_SUPPORT +kmod-swconfig +(TARGET_armvirt||TARGET_bcm27xx_bcm2708||TARGET_tegra):kmod-of-mdio
340 KCONFIG:=CONFIG_RTL8366_SMI
341 FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
342 AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi,1)
343 endef
344
345 define KernelPackage/switch-rtl8366-smi/description
346 Realtek RTL8366 series SMI switch interface support
347 endef
348
349 $(eval $(call KernelPackage,switch-rtl8366-smi))
350
351
352 define KernelPackage/switch-rtl8366rb
353 SUBMENU:=$(NETWORK_DEVICES_MENU)
354 TITLE:=Realtek RTL8366RB switch support
355 DEPENDS:=+kmod-switch-rtl8366-smi
356 KCONFIG:=CONFIG_RTL8366RB_PHY
357 FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366rb.ko
358 AUTOLOAD:=$(call AutoLoad,43,rtl8366rb)
359 endef
360
361 define KernelPackage/switch-rtl8366rb/description
362 Realtek RTL8366RB switch support
363 endef
364
365 $(eval $(call KernelPackage,switch-rtl8366rb))
366
367
368 define KernelPackage/switch-rtl8366s
369 SUBMENU:=$(NETWORK_DEVICES_MENU)
370 TITLE:=Realtek RTL8366S switch support
371 DEPENDS:=+kmod-switch-rtl8366-smi
372 KCONFIG:=CONFIG_RTL8366S_PHY
373 FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366s.ko
374 AUTOLOAD:=$(call AutoLoad,43,rtl8366s)
375 endef
376
377 define KernelPackage/switch-rtl8366s/description
378 Realtek RTL8366S switch support
379 endef
380
381 $(eval $(call KernelPackage,switch-rtl8366s))
382
383
384 define KernelPackage/switch-rtl8367b
385 SUBMENU:=$(NETWORK_DEVICES_MENU)
386 TITLE:=Realtek RTL8367R/B switch support
387 DEPENDS:=+kmod-switch-rtl8366-smi
388 KCONFIG:=CONFIG_RTL8367B_PHY
389 FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8367b.ko
390 AUTOLOAD:=$(call AutoLoad,43,rtl8367b,1)
391 endef
392
393 define KernelPackage/switch-rtl8367b/description
394 Realtek RTL8367R/B switch support
395 endef
396
397 $(eval $(call KernelPackage,switch-rtl8367b))
398
399
400 define KernelPackage/natsemi
401 SUBMENU:=$(NETWORK_DEVICES_MENU)
402 TITLE:=National Semiconductor DP8381x series
403 DEPENDS:=@PCI_SUPPORT
404 KCONFIG:=CONFIG_NATSEMI
405 FILES:=$(LINUX_DIR)/drivers/net/ethernet/natsemi/natsemi.ko
406 AUTOLOAD:=$(call AutoLoad,20,natsemi)
407 endef
408
409 define KernelPackage/natsemi/description
410 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
411 adapters.
412 endef
413
414 $(eval $(call KernelPackage,natsemi))
415
416
417 define KernelPackage/r6040
418 SUBMENU:=$(NETWORK_DEVICES_MENU)
419 TITLE:=RDC Fast-Ethernet support
420 DEPENDS:=@PCI_SUPPORT +kmod-libphy
421 KCONFIG:=CONFIG_R6040 \
422 CONFIG_R6040_NAPI=y
423 FILES:=$(LINUX_DIR)/drivers/net/ethernet/rdc/r6040.ko
424 AUTOLOAD:=$(call AutoProbe,r6040)
425 endef
426
427 define KernelPackage/r6040/description
428 Kernel modules for RDC Fast-Ethernet adapters.
429 endef
430
431 $(eval $(call KernelPackage,r6040))
432
433
434 define KernelPackage/niu
435 SUBMENU:=$(NETWORK_DEVICES_MENU)
436 TITLE:=Sun Neptune 10Gbit Ethernet support
437 DEPENDS:=@PCI_SUPPORT
438 KCONFIG:=CONFIG_NIU
439 FILES:=$(LINUX_DIR)/drivers/net/ethernet/sun/niu.ko
440 AUTOLOAD:=$(call AutoProbe,niu)
441 endef
442
443 define KernelPackage/niu/description
444 This enables support for cards based upon Sun's Neptune chipset.
445 endef
446
447 $(eval $(call KernelPackage,niu))
448
449
450 define KernelPackage/sis900
451 SUBMENU:=$(NETWORK_DEVICES_MENU)
452 TITLE:=SiS 900 Ethernet support
453 DEPENDS:=@PCI_SUPPORT +kmod-mii
454 KCONFIG:=CONFIG_SIS900
455 FILES:=$(LINUX_DIR)/drivers/net/ethernet/sis/sis900.ko
456 AUTOLOAD:=$(call AutoProbe,sis900)
457 endef
458
459 define KernelPackage/sis900/description
460 Kernel modules for Sis 900 Ethernet adapters.
461 endef
462
463 $(eval $(call KernelPackage,sis900))
464
465
466 define KernelPackage/sky2
467 SUBMENU:=$(NETWORK_DEVICES_MENU)
468 TITLE:=SysKonnect Yukon2 support
469 DEPENDS:=@PCI_SUPPORT
470 KCONFIG:=CONFIG_SKY2
471 FILES:=$(LINUX_DIR)/drivers/net/ethernet/marvell/sky2.ko
472 AUTOLOAD:=$(call AutoProbe,sky2)
473 endef
474
475 define KernelPackage/sky2/description
476 This driver supports Gigabit Ethernet adapters based on the
477 Marvell Yukon 2 chipset:
478 Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
479 88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21
480
481 There is companion driver for the older Marvell Yukon and
482 Genesis based adapters: skge.
483 endef
484
485 $(eval $(call KernelPackage,sky2))
486
487
488 define KernelPackage/via-rhine
489 SUBMENU:=$(NETWORK_DEVICES_MENU)
490 TITLE:=Via Rhine ethernet support
491 DEPENDS:=@PCI_SUPPORT +kmod-mii
492 KCONFIG:=CONFIG_VIA_RHINE \
493 CONFIG_VIA_RHINE_MMIO=y
494 FILES:=$(LINUX_DIR)/drivers/net/ethernet/via/via-rhine.ko
495 AUTOLOAD:=$(call AutoProbe,via-rhine)
496 endef
497
498 define KernelPackage/via-rhine/description
499 Kernel modules for Via Rhine Ethernet chipsets
500 endef
501
502 $(eval $(call KernelPackage,via-rhine))
503
504
505 define KernelPackage/via-velocity
506 SUBMENU:=$(NETWORK_DEVICES_MENU)
507 TITLE:=VIA Velocity Gigabit Ethernet Adapter kernel support
508 DEPENDS:=@PCI_SUPPORT +kmod-lib-crc-ccitt
509 KCONFIG:=CONFIG_VIA_VELOCITY
510 FILES:=$(LINUX_DIR)/drivers/net/ethernet/via/via-velocity.ko
511 AUTOLOAD:=$(call AutoProbe,via-velocity)
512 endef
513
514 define KernelPackage/via-velocity/description
515 Kernel modules for VIA Velocity Gigabit Ethernet chipsets
516 endef
517
518 $(eval $(call KernelPackage,via-velocity))
519
520
521 define KernelPackage/8139too
522 SUBMENU:=$(NETWORK_DEVICES_MENU)
523 TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
524 DEPENDS:=@PCI_SUPPORT +kmod-mii
525 KCONFIG:=CONFIG_8139TOO \
526 CONFIG_8139TOO_PIO=y \
527 CONFIG_8139TOO_TUNE_TWISTER=n \
528 CONFIG_8139TOO_8129=n \
529 CONFIG_8139_OLD_RX_RESET=n
530 FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/8139too.ko
531 AUTOLOAD:=$(call AutoProbe,8139too)
532 endef
533
534 define KernelPackage/8139too/description
535 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters
536 endef
537
538 $(eval $(call KernelPackage,8139too))
539
540
541 define KernelPackage/8139cp
542 SUBMENU:=$(NETWORK_DEVICES_MENU)
543 TITLE:=RealTek RTL-8139C+ PCI Fast Ethernet Adapter kernel support
544 DEPENDS:=@PCI_SUPPORT +kmod-mii
545 KCONFIG:=CONFIG_8139CP
546 FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/8139cp.ko
547 AUTOLOAD:=$(call AutoProbe,8139cp)
548 endef
549
550 define KernelPackage/8139cp/description
551 Kernel module for RealTek RTL-8139C+ PCI Fast Ethernet adapters
552 endef
553
554 $(eval $(call KernelPackage,8139cp))
555
556
557 define KernelPackage/r8169
558 SUBMENU:=$(NETWORK_DEVICES_MENU)
559 TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
560 DEPENDS:=@PCI_SUPPORT +kmod-mii +r8169-firmware +!LINUX_4_14:kmod-phy-realtek
561 KCONFIG:=CONFIG_R8169 \
562 CONFIG_R8169_NAPI=y \
563 CONFIG_R8169_VLAN=n
564 FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/r8169.ko
565 AUTOLOAD:=$(call AutoProbe,r8169)
566 endef
567
568 define KernelPackage/r8169/description
569 Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters
570 endef
571
572 $(eval $(call KernelPackage,r8169))
573
574
575 define KernelPackage/ne2k-pci
576 SUBMENU:=$(NETWORK_DEVICES_MENU)
577 TITLE:=ne2k-pci Ethernet Adapter kernel support
578 DEPENDS:=@PCI_SUPPORT
579 KCONFIG:=CONFIG_NE2K_PCI
580 FILES:= \
581 $(LINUX_DIR)/drivers/net/ethernet/8390/ne2k-pci.ko \
582 $(LINUX_DIR)/drivers/net/ethernet/8390/8390.ko
583 AUTOLOAD:=$(call AutoProbe,8390 ne2k-pci)
584 endef
585
586 define KernelPackage/ne2k-pci/description
587 Kernel modules for NE2000 PCI Ethernet Adapter kernel
588 endef
589
590 $(eval $(call KernelPackage,ne2k-pci))
591
592
593 define KernelPackage/e100
594 SUBMENU:=$(NETWORK_DEVICES_MENU)
595 TITLE:=Intel(R) PRO/100+ cards kernel support
596 DEPENDS:=@PCI_SUPPORT +kmod-mii +e100-firmware
597 KCONFIG:=CONFIG_E100
598 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e100.ko
599 AUTOLOAD:=$(call AutoProbe,e100)
600 endef
601
602 define KernelPackage/e100/description
603 Kernel modules for Intel(R) PRO/100+ Ethernet adapters
604 endef
605
606 $(eval $(call KernelPackage,e100))
607
608
609 define KernelPackage/e1000
610 SUBMENU:=$(NETWORK_DEVICES_MENU)
611 TITLE:=Intel(R) PRO/1000 PCI cards kernel support
612 DEPENDS:=@PCI_SUPPORT
613 KCONFIG:=CONFIG_E1000 \
614 CONFIG_E1000_DISABLE_PACKET_SPLIT=n \
615 CONFIG_E1000_NAPI=y
616 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000/e1000.ko
617 AUTOLOAD:=$(call AutoLoad,35,e1000)
618 endef
619
620 define KernelPackage/e1000/description
621 Kernel modules for Intel(R) PRO/1000 PCI Ethernet adapters.
622 endef
623
624 $(eval $(call KernelPackage,e1000))
625
626
627 define KernelPackage/e1000e
628 SUBMENU:=$(NETWORK_DEVICES_MENU)
629 TITLE:=Intel(R) PRO/1000 PCIe cards kernel support
630 DEPENDS:=@PCIE_SUPPORT +kmod-ptp
631 KCONFIG:=CONFIG_E1000E
632 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000e/e1000e.ko
633 AUTOLOAD:=$(call AutoProbe,e1000e)
634 MODPARAMS.e1000e:= \
635 IntMode=1 \
636 InterruptThrottleRate=4,4,4,4,4,4,4,4
637 endef
638
639 define KernelPackage/e1000e/description
640 Kernel modules for Intel(R) PRO/1000 PCIe Ethernet adapters.
641 endef
642
643 $(eval $(call KernelPackage,e1000e))
644
645
646 define KernelPackage/igb
647 SUBMENU:=$(NETWORK_DEVICES_MENU)
648 TITLE:=Intel(R) 82575/82576 PCI-Express Gigabit Ethernet support
649 DEPENDS:=@PCI_SUPPORT +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp +kmod-hwmon-core
650 KCONFIG:=CONFIG_IGB \
651 CONFIG_IGB_HWMON=y \
652 CONFIG_IGB_DCA=n
653 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/igb/igb.ko
654 AUTOLOAD:=$(call AutoLoad,35,igb)
655 endef
656
657 define KernelPackage/igb/description
658 Kernel modules for Intel(R) 82575/82576 PCI-Express Gigabit Ethernet adapters.
659 endef
660
661 $(eval $(call KernelPackage,igb))
662
663
664 define KernelPackage/igbvf
665 SUBMENU:=$(NETWORK_DEVICES_MENU)
666 TITLE:=Intel(R) 82576 Virtual Function Ethernet support
667 DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp
668 KCONFIG:=CONFIG_IGBVF \
669 CONFIG_IGB_HWMON=y \
670 CONFIG_IGB_DCA=n
671 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/igbvf/igbvf.ko
672 AUTOLOAD:=$(call AutoLoad,35,igbvf)
673 endef
674
675 define KernelPackage/igbvf/description
676 Kernel modules for Intel(R) 82576 Virtual Function Ethernet adapters.
677 endef
678
679 $(eval $(call KernelPackage,igbvf))
680
681
682 define KernelPackage/ixgbe
683 SUBMENU:=$(NETWORK_DEVICES_MENU)
684 TITLE:=Intel(R) 82598/82599 PCI-Express 10 Gigabit Ethernet support
685 DEPENDS:=@PCI_SUPPORT +kmod-mdio +kmod-ptp +kmod-hwmon-core +LINUX_5_4:kmod-libphy
686 KCONFIG:=CONFIG_IXGBE \
687 CONFIG_IXGBE_VXLAN=n \
688 CONFIG_IXGBE_HWMON=y \
689 CONFIG_IXGBE_DCA=n
690 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
691 AUTOLOAD:=$(call AutoLoad,35,ixgbe)
692 endef
693
694 define KernelPackage/ixgbe/description
695 Kernel modules for Intel(R) 82598/82599 PCI-Express 10 Gigabit Ethernet adapters.
696 endef
697
698 $(eval $(call KernelPackage,ixgbe))
699
700
701 define KernelPackage/ixgbevf
702 SUBMENU:=$(NETWORK_DEVICES_MENU)
703 TITLE:=Intel(R) 82599 Virtual Function Ethernet support
704 DEPENDS:=@PCI_SUPPORT +kmod-ixgbe
705 KCONFIG:=CONFIG_IXGBEVF \
706 CONFIG_IXGBE_VXLAN=n \
707 CONFIG_IXGBE_HWMON=y \
708 CONFIG_IXGBE_DCA=n
709 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/ixgbevf/ixgbevf.ko
710 AUTOLOAD:=$(call AutoLoad,35,ixgbevf)
711 endef
712
713 define KernelPackage/ixgbevf/description
714 Kernel modules for Intel(R) 82599 Virtual Function Ethernet adapters.
715 endef
716
717 $(eval $(call KernelPackage,ixgbevf))
718
719
720 define KernelPackage/i40e
721 SUBMENU:=$(NETWORK_DEVICES_MENU)
722 TITLE:=Intel(R) Ethernet Controller XL710 Family support
723 DEPENDS:=@PCI_SUPPORT +kmod-mdio +kmod-ptp +kmod-hwmon-core +LINUX_5_4:kmod-libphy
724 KCONFIG:=CONFIG_I40E \
725 CONFIG_I40E_VXLAN=n \
726 CONFIG_I40E_HWMON=y \
727 CONFIG_I40E_DCA=n
728 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/i40e/i40e.ko
729 AUTOLOAD:=$(call AutoProbe,i40e)
730 endef
731
732 define KernelPackage/i40e/description
733 Kernel modules for Intel(R) Ethernet Controller XL710 Family 40 Gigabit Ethernet adapters.
734 endef
735
736 $(eval $(call KernelPackage,i40e))
737
738
739 define KernelPackage/iavf
740 SUBMENU:=$(NETWORK_DEVICES_MENU)
741 TITLE:=Intel(R) Ethernet Adaptive Virtual Function support
742 DEPENDS:=@PCI_SUPPORT
743 KCONFIG:= \
744 CONFIG_I40EVF \
745 CONFIG_IAVF
746 FILES:= \
747 $(LINUX_DIR)/drivers/net/ethernet/intel/i40evf/i40evf.ko@lt4.20 \
748 $(LINUX_DIR)/drivers/net/ethernet/intel/iavf/iavf.ko@ge4.20
749 AUTOLOAD:=$(call AutoProbe,i40evf iavf)
750 AUTOLOAD:=$(call AutoProbe,iavf)
751 endef
752
753 define KernelPackage/iavf/description
754 Kernel modules for Intel XL710,
755 X710, X722, XXV710, and all devices advertising support for
756 Intel Ethernet Adaptive Virtual Function devices.
757 endef
758
759 $(eval $(call KernelPackage,iavf))
760
761
762 define KernelPackage/b44
763 TITLE:=Broadcom 44xx driver
764 KCONFIG:=CONFIG_B44
765 DEPENDS:=@PCI_SUPPORT @!TARGET_bcm47xx_mips74k +!TARGET_bcm47xx:kmod-ssb +kmod-mii +kmod-libphy
766 SUBMENU:=$(NETWORK_DEVICES_MENU)
767 FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/b44.ko
768 AUTOLOAD:=$(call AutoLoad,19,b44,1)
769 endef
770
771 define KernelPackage/b44/description
772 Kernel modules for Broadcom 44xx Ethernet adapters.
773 endef
774
775 $(eval $(call KernelPackage,b44))
776
777
778 define KernelPackage/3c59x
779 SUBMENU:=$(NETWORK_DEVICES_MENU)
780 TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
781 DEPENDS:=@PCI_SUPPORT +kmod-mii
782 KCONFIG:=CONFIG_VORTEX
783 FILES:=$(LINUX_DIR)/drivers/net/ethernet/3com/3c59x.ko
784 AUTOLOAD:=$(call AutoProbe,3c59x)
785 endef
786
787 define KernelPackage/3c59x/description
788 This option enables driver support for a large number of 10mbps and
789 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters:
790 - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI
791 - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI
792 - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus
793 - "Tornado" (3c905) PCI
794 - "Hurricane" (3c555/3cSOHO) PCI
795 endef
796
797 $(eval $(call KernelPackage,3c59x))
798
799
800 define KernelPackage/pcnet32
801 SUBMENU:=$(NETWORK_DEVICES_MENU)
802 TITLE:=AMD PCnet32 PCI support
803 DEPENDS:=@(PCI_SUPPORT||TARGET_malta) +kmod-mii
804 KCONFIG:=CONFIG_PCNET32
805 FILES:=$(LINUX_DIR)/drivers/net/ethernet/amd/pcnet32.ko
806 AUTOLOAD:=$(call AutoProbe,pcnet32)
807 endef
808
809 define KernelPackage/pcnet32/description
810 Kernel modules for AMD PCnet32 Ethernet adapters
811 endef
812
813 $(eval $(call KernelPackage,pcnet32))
814
815
816 define KernelPackage/tg3
817 TITLE:=Broadcom Tigon3 Gigabit Ethernet
818 KCONFIG:=CONFIG_TIGON3 \
819 CONFIG_TIGON3_HWMON=n
820 DEPENDS:=+!TARGET_bcm47xx:kmod-libphy +kmod-ptp
821 SUBMENU:=$(NETWORK_DEVICES_MENU)
822 FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
823 AUTOLOAD:=$(call AutoLoad,19,tg3,1)
824 endef
825
826 define KernelPackage/tg3/description
827 Kernel modules for Broadcom Tigon3 Gigabit Ethernet adapters
828 endef
829
830 $(eval $(call KernelPackage,tg3))
831
832
833 define KernelPackage/hfcpci
834 TITLE:=HFC PCI cards (single port) support for mISDN
835 KCONFIG:=CONFIG_MISDN_HFCPCI
836 DEPENDS:=+kmod-misdn
837 SUBMENU:=$(NETWORK_DEVICES_MENU)
838 FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcpci.ko
839 AUTOLOAD:=$(call AutoLoad,31,hfcpci)
840 endef
841
842 define KernelPackage/hfcpci/description
843 Kernel modules for Cologne AG's HFC pci cards (single port)
844 using the mISDN V2 stack
845 endef
846
847 $(eval $(call KernelPackage,hfcpci))
848
849
850 define KernelPackage/hfcmulti
851 TITLE:=HFC multiport cards (HFC-4S/8S/E1) support for mISDN
852 KCONFIG:=CONFIG_MISDN_HFCMULTI
853 DEPENDS:=+kmod-misdn
854 SUBMENU:=$(NETWORK_DEVICES_MENU)
855 FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcmulti.ko
856 AUTOLOAD:=$(call AutoLoad,31,hfcmulti)
857 endef
858
859 define KernelPackage/hfcmulti/description
860 Kernel modules for Cologne AG's HFC multiport cards (HFC-4S/8S/E1)
861 using the mISDN V2 stack
862 endef
863
864 $(eval $(call KernelPackage,hfcmulti))
865
866
867 define KernelPackage/gigaset
868 SUBMENU:=$(NETWORK_DEVICES_MENU)
869 TITLE:=Siemens Gigaset support for isdn4linux
870 DEPENDS:=@USB_SUPPORT +kmod-isdn4linux +kmod-lib-crc-ccitt +kmod-usb-core @!LINUX_5_4
871 URL:=http://gigaset307x.sourceforge.net/
872 KCONFIG:= \
873 CONFIG_ISDN_DRV_GIGASET \
874 CONFIG_GIGASET_BASE \
875 CONFIG_GIGASET_M101 \
876 CONFIG_GIGASET_M105 \
877 CONFIG_GIGASET_UNDOCREQ=y \
878 CONFIG_GIGASET_I4L=y
879 FILES:= \
880 $(LINUX_DIR)/drivers/isdn/gigaset/gigaset.ko \
881 $(LINUX_DIR)/drivers/isdn/gigaset/bas_gigaset.ko \
882 $(LINUX_DIR)/drivers/isdn/gigaset/ser_gigaset.ko \
883 $(LINUX_DIR)/drivers/isdn/gigaset/usb_gigaset.ko
884 AUTOLOAD:=$(call AutoProbe,gigaset bas_gigaset ser_gigaset usb_gigaset)
885 endef
886
887 define KernelPackage/gigaset/description
888 This driver supports the Siemens Gigaset SX205/255 family of
889 ISDN DECT bases, including the predecessors Gigaset 3070/3075
890 and 4170/4175 and their T-Com versions Sinus 45isdn and Sinus
891 721X.
892 endef
893
894 $(eval $(call KernelPackage,gigaset))
895
896
897 define KernelPackage/macvlan
898 SUBMENU:=$(NETWORK_DEVICES_MENU)
899 TITLE:=MAC-VLAN support
900 KCONFIG:=CONFIG_MACVLAN
901 FILES:=$(LINUX_DIR)/drivers/net/macvlan.ko
902 AUTOLOAD:=$(call AutoProbe,macvlan)
903 endef
904
905 define KernelPackage/macvlan/description
906 A kernel module which allows one to create virtual interfaces that
907 map packets to or from specific MAC addresses to a particular interface
908 endef
909
910 $(eval $(call KernelPackage,macvlan))
911
912
913 define KernelPackage/tulip
914 TITLE:=Tulip family network device support
915 DEPENDS:=@PCI_SUPPORT +kmod-mii
916 SUBMENU:=$(NETWORK_DEVICES_MENU)
917 KCONFIG:= \
918 CONFIG_NET_TULIP=y \
919 CONFIG_DE2104X \
920 CONFIG_DE2104X_DSL=0 \
921 CONFIG_TULIP \
922 CONFIG_TULIP_MWI=y \
923 CONFIG_TULIP_MMIO=y \
924 CONFIG_TULIP_NAPI=y \
925 CONFIG_TULIP_NAPI_HW_MITIGATION=y \
926 CONFIG_DE4X5=n \
927 CONFIG_WINBOND_840 \
928 CONFIG_DM9102 \
929 CONFIG_ULI526X
930 FILES:= \
931 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/tulip.ko \
932 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/de2104x.ko \
933 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/dmfe.ko \
934 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/uli526x.ko \
935 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/winbond-840.ko
936 AUTOLOAD:=$(call AutoProbe,tulip)
937 endef
938
939 define KernelPackage/tulip/description
940 Kernel modules for the Tulip family of network cards,
941 including DECchip Tulip, DIGITAL EtherWORKS, Winbond W89c840,
942 Davicom DM910x/DM980x and ULi M526x controller support.
943 endef
944
945 $(eval $(call KernelPackage,tulip))
946
947
948 define KernelPackage/solos-pci
949 SUBMENU:=$(NETWORK_DEVICES_MENU)
950 TITLE:=Solos ADSL2+ multiport modem
951 DEPENDS:=@PCI_SUPPORT +kmod-atm
952 KCONFIG:=CONFIG_ATM_SOLOS
953 FILES:=$(LINUX_DIR)/drivers/atm/solos-pci.ko
954 AUTOLOAD:=$(call AutoProbe,solos-pci)
955 endef
956
957 define KernelPackage/solos-pci/description
958 Kernel module for Traverse Technologies' Solos PCI cards
959 and Geos ADSL2+ x86 motherboard
960 endef
961
962 $(eval $(call KernelPackage,solos-pci))
963
964
965 define KernelPackage/dummy
966 SUBMENU:=$(NETWORK_DEVICES_MENU)
967 TITLE:=Dummy network device
968 KCONFIG:=CONFIG_DUMMY
969 FILES:=$(LINUX_DIR)/drivers/net/dummy.ko
970 AUTOLOAD:=$(call AutoLoad,34,dummy)
971 endef
972
973 define KernelPackage/dummy/description
974 The dummy network device
975 endef
976
977 $(eval $(call KernelPackage,dummy))
978
979
980 define KernelPackage/ifb
981 SUBMENU:=$(NETWORK_DEVICES_MENU)
982 TITLE:=Intermediate Functional Block support
983 KCONFIG:= \
984 CONFIG_IFB \
985 CONFIG_NET_CLS=y
986 FILES:=$(LINUX_DIR)/drivers/net/ifb.ko
987 AUTOLOAD:=$(call AutoLoad,34,ifb)
988 MODPARAMS.ifb:=numifbs=0
989 endef
990
991 define KernelPackage/ifb/description
992 The Intermediate Functional Block
993 endef
994
995 $(eval $(call KernelPackage,ifb))
996
997
998 define KernelPackage/dm9000
999 SUBMENU:=$(NETWORK_DEVICES_MENU)
1000 TITLE:=Davicom 9000 Ethernet support
1001 DEPENDS:=+kmod-mii
1002 KCONFIG:=CONFIG_DM9000 \
1003 CONFIG_DM9000_DEBUGLEVEL=4 \
1004 CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL=y
1005 FILES:=$(LINUX_DIR)/drivers/net/ethernet/davicom/dm9000.ko
1006 AUTOLOAD:=$(call AutoLoad,34,dm9000)
1007 endef
1008
1009 define KernelPackage/dm9000/description
1010 Kernel driver for Davicom 9000 Ethernet adapters.
1011 endef
1012
1013 $(eval $(call KernelPackage,dm9000))
1014
1015
1016 define KernelPackage/forcedeth
1017 SUBMENU:=$(NETWORK_DEVICES_MENU)
1018 TITLE:=nForce Ethernet support
1019 DEPENDS:=@PCI_SUPPORT
1020 KCONFIG:=CONFIG_FORCEDETH
1021 FILES:=$(LINUX_DIR)/drivers/net/ethernet/nvidia/forcedeth.ko
1022 AUTOLOAD:=$(call AutoProbe,forcedeth)
1023 endef
1024
1025 define KernelPackage/forcedeth/description
1026 Kernel driver for Nvidia Ethernet support
1027 endef
1028
1029 $(eval $(call KernelPackage,forcedeth))
1030
1031 define KernelPackage/of-mdio
1032 SUBMENU:=$(NETWORK_DEVICES_MENU)
1033 TITLE:=OpenFirmware MDIO support
1034 DEPENDS:=+kmod-libphy
1035 KCONFIG:=CONFIG_OF_MDIO
1036 FILES:= \
1037 $(LINUX_DIR)/drivers/net/phy/fixed_phy.ko \
1038 $(LINUX_DIR)/drivers/of/of_mdio.ko
1039 AUTOLOAD:=$(call AutoLoad,41,of_mdio)
1040 endef
1041
1042 define KernelPackage/of-mdio/description
1043 Kernel driver for OpenFirmware MDIO support
1044 endef
1045
1046 $(eval $(call KernelPackage,of-mdio))
1047
1048
1049 define KernelPackage/vmxnet3
1050 SUBMENU:=$(NETWORK_DEVICES_MENU)
1051 TITLE:=VMware VMXNET3 ethernet driver
1052 DEPENDS:=@PCI_SUPPORT
1053 KCONFIG:=CONFIG_VMXNET3
1054 FILES:=$(LINUX_DIR)/drivers/net/vmxnet3/vmxnet3.ko
1055 AUTOLOAD:=$(call AutoLoad,35,vmxnet3)
1056 endef
1057
1058 define KernelPackage/vmxnet3/description
1059 Kernel modules for VMware VMXNET3 ethernet adapters.
1060 endef
1061
1062 $(eval $(call KernelPackage,vmxnet3))
1063
1064
1065 define KernelPackage/spi-ks8995
1066 SUBMENU:=$(NETWORK_DEVICES_MENU)
1067 TITLE:=Micrel/Kendin KS8995 Ethernet switch control
1068 FILES:=$(LINUX_DIR)/drivers/net/phy/spi_ks8995.ko
1069 KCONFIG:=CONFIG_MICREL_KS8995MA \
1070 CONFIG_SPI=y \
1071 CONFIG_SPI_MASTER=y
1072 AUTOLOAD:=$(call AutoLoad,50,spi_ks8995)
1073 endef
1074
1075 define KernelPackage/spi-ks8995/description
1076 Kernel module for Micrel/Kendin KS8995 ethernet switch
1077 endef
1078
1079 $(eval $(call KernelPackage,spi-ks8995))
1080
1081
1082 define KernelPackage/ethoc
1083 SUBMENU:=$(NETWORK_DEVICES_MENU)
1084 TITLE:=Opencore.org ethoc driver
1085 DEPENDS:=+kmod-libphy
1086 FILES:=$(LINUX_DIR)/drivers/net/ethernet/ethoc.ko
1087 KCONFIG:=CONFIG_ETHOC
1088 AUTOLOAD:=$(call AutoProbe,ethoc)
1089 endef
1090
1091 define KernelPackage/ethoc/description
1092 Kernel module for the Opencores.org ethernet adapter
1093 endef
1094
1095 $(eval $(call KernelPackage,ethoc))
1096
1097
1098 define KernelPackage/bnx2
1099 SUBMENU:=$(NETWORK_DEVICES_MENU)
1100 TITLE:=BCM5706/5708/5709/5716 ethernet adapter driver
1101 DEPENDS:=@PCI_SUPPORT +bnx2-firmware
1102 FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/bnx2.ko
1103 KCONFIG:=CONFIG_BNX2
1104 AUTOLOAD:=$(call AutoProbe,bnx2)
1105 endef
1106
1107 define KernelPackage/bnx2/description
1108 Kernel module for the BCM5706/5708/5709/5716 ethernet adapter
1109 endef
1110
1111 $(eval $(call KernelPackage,bnx2))
1112
1113
1114 define KernelPackage/bnx2x
1115 SUBMENU:=$(NETWORK_DEVICES_MENU)
1116 TITLE:=QLogic 5771x/578xx 10/20-Gigabit ethernet adapter driver
1117 DEPENDS:=@PCI_SUPPORT +bnx2x-firmware +kmod-lib-crc32c +kmod-mdio +kmod-ptp +kmod-lib-zlib-inflate
1118 FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko
1119 KCONFIG:= \
1120 CONFIG_BNX2X \
1121 CONFIG_BNX2X_SRIOV=y
1122 AUTOLOAD:=$(call AutoProbe,bnx2x)
1123 endef
1124
1125 define KernelPackage/bnx2x/description
1126 QLogic BCM57710/57711/57711E/57712/57712_MF/57800/57800_MF/57810/57810_MF/57840/57840_MF Driver
1127 endef
1128
1129 $(eval $(call KernelPackage,bnx2x))
1130
1131 define KernelPackage/be2net
1132 SUBMENU:=$(NETWORK_DEVICES_MENU)
1133 TITLE:=Broadcom Emulex OneConnect 10Gbps NIC
1134 DEPENDS:=@PCI_SUPPORT +kmod-hwmon-core
1135 FILES:=$(LINUX_DIR)/drivers/net/ethernet/emulex/benet/be2net.ko
1136 KCONFIG:= \
1137 CONFIG_BE2NET \
1138 CONFIG_BE2NET_BE2=y \
1139 CONFIG_BE2NET_BE3=y \
1140 CONFIG_BE2NET_LANCER=y \
1141 CONFIG_BE2NET_SKYHAWK=y \
1142 CONFIG_BE2NET_HWMON=y
1143 AUTOLOAD:=$(call AutoProbe,be2net)
1144 endef
1145
1146 define KernelPackage/be2net/description
1147 Broadcom Emulex OneConnect 10Gbit SFP+ support, OneConnect OCe10xxx OCe11xxx OCe14xxx, LightPulse LPe12xxx
1148 endef
1149
1150 $(eval $(call KernelPackage,be2net))
1151
1152 define KernelPackage/mlx4-core
1153 SUBMENU:=$(NETWORK_DEVICES_MENU)
1154 TITLE:=Mellanox ConnectX(R) mlx4 core Network Driver
1155 DEPENDS:=@PCI_SUPPORT +kmod-ptp
1156 FILES:= \
1157 $(LINUX_DIR)/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko \
1158 $(LINUX_DIR)/drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko
1159 KCONFIG:= CONFIG_MLX4_EN \
1160 CONFIG_MLX4_EN_DCB=n \
1161 CONFIG_MLX4_CORE=y \
1162 CONFIG_MLX4_CORE_GEN2=y \
1163 CONFIG_MLX4_DEBUG=n
1164 AUTOLOAD:=$(call AutoProbe,mlx4_core mlx4_en)
1165 endef
1166
1167 define KernelPackage/mlx4-core/description
1168 Supports Mellanox ConnectX-3 series and previous cards
1169 endef
1170
1171 $(eval $(call KernelPackage,mlx4-core))
1172
1173 define KernelPackage/mlx5-core
1174 SUBMENU:=$(NETWORK_DEVICES_MENU)
1175 TITLE:=Mellanox ConnectX(R) mlx5 core Network Driver
1176 DEPENDS:=@PCI_SUPPORT +kmod-ptp
1177 FILES:=$(LINUX_DIR)/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko
1178 KCONFIG:= CONFIG_MLX5_CORE \
1179 CONFIG_MLX5_CORE_EN=y \
1180 CONFIG_MLX5_CORE_EN_DCB=n \
1181 CONFIG_MLX5_CORE_IPOIB=n \
1182 CONFIG_MLX5_EN_ARFS=n \
1183 CONFIG_MLX5_EN_IPSEC=n \
1184 CONFIG_MLX5_EN_RXNFC=y \
1185 CONFIG_MLX5_EN_TLS=n \
1186 CONFIG_MLX5_ESWITCH=n \
1187 CONFIG_MLX5_FPGA=n \
1188 CONFIG_MLX5_FPGA_IPSEC=n \
1189 CONFIG_MLX5_FPGA_TLS=n \
1190 CONFIG_MLX5_MPFS=y \
1191 CONFIG_MLX5_SW_STEERING=n \
1192 CONFIG_MLX5_TC_CT=n \
1193 CONFIG_MLX5_TLS=n
1194 AUTOLOAD:=$(call AutoProbe,mlx5_core)
1195 endef
1196
1197 define KernelPackage/mlx5-core/description
1198 Supports Mellanox Connect-IB/ConnectX-4 series and later cards
1199 endef
1200
1201 $(eval $(call KernelPackage,mlx5-core))
1202
1203
1204 define KernelPackage/sfp
1205 SUBMENU:=$(NETWORK_DEVICES_MENU)
1206 TITLE:=SFP cage support
1207 DEPENDS:=+kmod-i2c-core +kmod-hwmon-core +kmod-phylink
1208 KCONFIG:= \
1209 CONFIG_SFP \
1210 CONFIG_MDIO_I2C
1211 FILES:= \
1212 $(LINUX_DIR)/drivers/net/phy/sfp.ko \
1213 $(LINUX_DIR)/drivers/net/phy/mdio-i2c.ko
1214 AUTOLOAD:=$(call AutoProbe,mdio-i2c sfp)
1215 endef
1216
1217 define KernelPackage/sfp/description
1218 Kernel module to support SFP cages
1219 endef
1220
1221 $(eval $(call KernelPackage,sfp))