xref: /linux/drivers/net/ethernet/mediatek/Kconfig (revision 23233e577ef973c2c5d0dd757a0a4605e34ecb57)
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	help
22	  This driver supports the gigabit ethernet MACs in the
23	  MediaTek SoC family.
24
25config NET_MEDIATEK_STAR_EMAC
26	tristate "MediaTek STAR Ethernet MAC support"
27	select PHYLIB
28	select REGMAP_MMIO
29	help
30	  This driver supports the ethernet MAC IP first used on
31	  MediaTek MT85** SoCs.
32
33endif #NET_VENDOR_MEDIATEK
34