Kconfig 860 B

12345678910111213141516171819202122232425262728293031323334
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config NET_VENDOR_MEDIATEK
  3. bool "MediaTek devices"
  4. depends on ARCH_MEDIATEK || SOC_MT7621 || SOC_MT7620 || COMPILE_TEST
  5. help
  6. If you have a Mediatek SoC with ethernet, say Y.
  7. if NET_VENDOR_MEDIATEK
  8. config NET_MEDIATEK_SOC_WED
  9. depends on ARCH_MEDIATEK || COMPILE_TEST
  10. def_bool NET_MEDIATEK_SOC != n
  11. config NET_MEDIATEK_SOC
  12. tristate "MediaTek SoC Gigabit Ethernet support"
  13. depends on NET_DSA || !NET_DSA
  14. select PINCTRL
  15. select PHYLINK
  16. select DIMLIB
  17. select PAGE_POOL
  18. select PAGE_POOL_STATS
  19. help
  20. This driver supports the gigabit ethernet MACs in the
  21. MediaTek SoC family.
  22. config NET_MEDIATEK_STAR_EMAC
  23. tristate "MediaTek STAR Ethernet MAC support"
  24. select PHYLIB
  25. select REGMAP_MMIO
  26. help
  27. This driver supports the ethernet MAC IP first used on
  28. MediaTek MT85** SoCs.
  29. endif #NET_VENDOR_MEDIATEK