GNU Linux-libre 5.10.215-gnu1
[releases.git] / drivers / net / ethernet / mediatek / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config NET_VENDOR_MEDIATEK
3         bool "MediaTek devices"
4         depends on ARCH_MEDIATEK || SOC_MT7621 || SOC_MT7620
5         help
6           If you have a Mediatek SoC with ethernet, say Y.
7
8 if NET_VENDOR_MEDIATEK
9
10 config NET_MEDIATEK_SOC
11         tristate "MediaTek SoC Gigabit Ethernet support"
12         select PHYLINK
13         help
14           This driver supports the gigabit ethernet MACs in the
15           MediaTek SoC family.
16
17 config NET_MEDIATEK_STAR_EMAC
18         tristate "MediaTek STAR Ethernet MAC support"
19         select PHYLIB
20         select REGMAP_MMIO
21         help
22           This driver supports the ethernet MAC IP first used on
23           MediaTek MT85** SoCs.
24
25 endif #NET_VENDOR_MEDIATEK