162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig NET_VENDOR_MEDIATEK
362306a36Sopenharmony_ci	bool "MediaTek devices"
462306a36Sopenharmony_ci	depends on ARCH_MEDIATEK || SOC_MT7621 || SOC_MT7620 || COMPILE_TEST
562306a36Sopenharmony_ci	help
662306a36Sopenharmony_ci	  If you have a Mediatek SoC with ethernet, say Y.
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciif NET_VENDOR_MEDIATEK
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciconfig NET_MEDIATEK_SOC_WED
1162306a36Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
1262306a36Sopenharmony_ci	def_bool NET_MEDIATEK_SOC != n
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciconfig NET_MEDIATEK_SOC
1562306a36Sopenharmony_ci	tristate "MediaTek SoC Gigabit Ethernet support"
1662306a36Sopenharmony_ci	depends on NET_DSA || !NET_DSA
1762306a36Sopenharmony_ci	select PINCTRL
1862306a36Sopenharmony_ci	select PHYLINK
1962306a36Sopenharmony_ci	select DIMLIB
2062306a36Sopenharmony_ci	select PAGE_POOL
2162306a36Sopenharmony_ci	select PAGE_POOL_STATS
2262306a36Sopenharmony_ci	select PCS_MTK_LYNXI
2362306a36Sopenharmony_ci	select REGMAP_MMIO
2462306a36Sopenharmony_ci	help
2562306a36Sopenharmony_ci	  This driver supports the gigabit ethernet MACs in the
2662306a36Sopenharmony_ci	  MediaTek SoC family.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciconfig NET_MEDIATEK_STAR_EMAC
2962306a36Sopenharmony_ci	tristate "MediaTek STAR Ethernet MAC support"
3062306a36Sopenharmony_ci	select PHYLIB
3162306a36Sopenharmony_ci	select REGMAP_MMIO
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci	  This driver supports the ethernet MAC IP first used on
3462306a36Sopenharmony_ci	  MediaTek MT85** SoCs.
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ciendif #NET_VENDOR_MEDIATEK
37