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	help
21	  This driver supports the gigabit ethernet MACs in the
22	  MediaTek SoC family.
23
24config NET_MEDIATEK_STAR_EMAC
25	tristate "MediaTek STAR Ethernet MAC support"
26	select PHYLIB
27	select REGMAP_MMIO
28	help
29	  This driver supports the ethernet MAC IP first used on
30	  MediaTek MT85** SoCs.
31
32endif #NET_VENDOR_MEDIATEK
33