xref: /linux/drivers/net/ethernet/mediatek/Kconfig (revision cbac924200b838cfb8d8b1415113d788089dc50b)
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
11	tristate "MediaTek SoC Gigabit Ethernet support"
12	depends on NET_DSA || !NET_DSA
13	select PINCTRL
14	select PHYLINK
15	select DIMLIB
16	help
17	  This driver supports the gigabit ethernet MACs in the
18	  MediaTek SoC family.
19
20config NET_MEDIATEK_STAR_EMAC
21	tristate "MediaTek STAR Ethernet MAC support"
22	select PHYLIB
23	select REGMAP_MMIO
24	help
25	  This driver supports the ethernet MAC IP first used on
26	  MediaTek MT85** SoCs.
27
28endif #NET_VENDOR_MEDIATEK
29