1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2009fb097SJohn Crispinconfig NET_VENDOR_MEDIATEK 3d3d6974bSBartosz Golaszewski bool "MediaTek devices" 4a3c62a04SLorenzo Bianconi depends on ARCH_MEDIATEK || SOC_MT7621 || SOC_MT7620 || COMPILE_TEST 5a7f7f624SMasahiro Yamada help 6009fb097SJohn Crispin If you have a Mediatek SoC with ethernet, say Y. 7009fb097SJohn Crispin 8009fb097SJohn Crispinif NET_VENDOR_MEDIATEK 9009fb097SJohn Crispin 10804775dfSFelix Fietkauconfig NET_MEDIATEK_SOC_WED 11804775dfSFelix Fietkau depends on ARCH_MEDIATEK || COMPILE_TEST 12804775dfSFelix Fietkau def_bool NET_MEDIATEK_SOC != n 13804775dfSFelix Fietkau 14009fb097SJohn Crispinconfig NET_MEDIATEK_SOC 152ec50f57SSean Wang tristate "MediaTek SoC Gigabit Ethernet support" 160e389028SPablo Neira Ayuso depends on NET_DSA || !NET_DSA 17a3c62a04SLorenzo Bianconi select PINCTRL 18b8fc9f30SRené van Dorst select PHYLINK 19e9229ffdSFelix Fietkau select DIMLIB 2023233e57SLorenzo Bianconi select PAGE_POOL 2184b9cd38SLorenzo Bianconi select PAGE_POOL_STATS 22*2a3ec7aeSDaniel Golle select PCS_MTK_LYNXI 23*2a3ec7aeSDaniel Golle select REGMAP_MMIO 24a7f7f624SMasahiro Yamada help 25009fb097SJohn Crispin This driver supports the gigabit ethernet MACs in the 262ec50f57SSean Wang MediaTek SoC family. 27009fb097SJohn Crispin 288c7bd5a4SBartosz Golaszewskiconfig NET_MEDIATEK_STAR_EMAC 298c7bd5a4SBartosz Golaszewski tristate "MediaTek STAR Ethernet MAC support" 308c7bd5a4SBartosz Golaszewski select PHYLIB 315403caf2SBartosz Golaszewski select REGMAP_MMIO 328c7bd5a4SBartosz Golaszewski help 338c7bd5a4SBartosz Golaszewski This driver supports the ethernet MAC IP first used on 348c7bd5a4SBartosz Golaszewski MediaTek MT85** SoCs. 358c7bd5a4SBartosz Golaszewski 36009fb097SJohn Crispinendif #NET_VENDOR_MEDIATEK 37