1# SPDX-License-Identifier: GPL-2.0-only 2config 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 8if NET_VENDOR_MEDIATEK 9 10config NET_MEDIATEK_SOC_WED 11 depends on ARCH_MEDIATEK || COMPILE_TEST 12 def_bool NET_MEDIATEK_SOC != n 13 14config NET_MEDIATEK_SOC 15 tristate "MediaTek SoC Gigabit Ethernet support" 16 depends on NET_DSA || !NET_DSA 17 select PINCTRL 18 select PHYLINK 19 select DIMLIB 20 select PAGE_POOL 21 select PAGE_POOL_STATS 22 select PCS_MTK_LYNXI 23 select REGMAP_MMIO 24 help 25 This driver supports the gigabit ethernet MACs in the 26 MediaTek SoC family. 27 28config NET_MEDIATEK_STAR_EMAC 29 tristate "MediaTek STAR Ethernet MAC support" 30 select PHYLIB 31 select REGMAP_MMIO 32 help 33 This driver supports the ethernet MAC IP first used on 34 MediaTek MT85** SoCs. 35 36endif #NET_VENDOR_MEDIATEK 37