1# SPDX-License-Identifier: GPL-2.0-only 2config NET_VENDOR_MEDIATEK 3 bool "MediaTek devices" 4 depends on ARCH_MEDIATEK || ARCH_AIROHA || 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_AIROHA 11 tristate "Airoha SoC Gigabit Ethernet support" 12 depends on NET_DSA || !NET_DSA 13 select PAGE_POOL 14 help 15 This driver supports the gigabit ethernet MACs in the 16 Airoha SoC family. 17 18config NET_MEDIATEK_SOC_WED 19 depends on ARCH_MEDIATEK || COMPILE_TEST 20 def_bool NET_MEDIATEK_SOC != n 21 22config NET_MEDIATEK_SOC 23 tristate "MediaTek SoC Gigabit Ethernet support" 24 depends on NET_DSA || !NET_DSA 25 select PINCTRL 26 select PHYLINK 27 select DIMLIB 28 select PAGE_POOL 29 select PAGE_POOL_STATS 30 select PCS_MTK_LYNXI 31 select REGMAP_MMIO 32 help 33 This driver supports the gigabit ethernet MACs in the 34 MediaTek SoC family. 35 36config NET_MEDIATEK_STAR_EMAC 37 tristate "MediaTek STAR Ethernet MAC support" 38 select PHYLIB 39 select REGMAP_MMIO 40 help 41 This driver supports the ethernet MAC IP first used on 42 MediaTek MT85** SoCs. 43 44endif #NET_VENDOR_MEDIATEK 45