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