Kconfig (9652168304b10126fbe21695f267fb43e4054fef) Kconfig (e9229ffd550b2d8c4997c67a501dbc3919fd4e26)
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
5 help
6 If you have a Mediatek SoC with ethernet, say Y.
7
8if NET_VENDOR_MEDIATEK
9
10config NET_MEDIATEK_SOC
11 tristate "MediaTek SoC Gigabit Ethernet support"
12 depends on NET_DSA || !NET_DSA
13 select PHYLINK
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
5 help
6 If you have a Mediatek SoC with ethernet, say Y.
7
8if NET_VENDOR_MEDIATEK
9
10config NET_MEDIATEK_SOC
11 tristate "MediaTek SoC Gigabit Ethernet support"
12 depends on NET_DSA || !NET_DSA
13 select PHYLINK
14 select DIMLIB
14 help
15 This driver supports the gigabit ethernet MACs in the
16 MediaTek SoC family.
17
18config NET_MEDIATEK_STAR_EMAC
19 tristate "MediaTek STAR Ethernet MAC support"
20 select PHYLIB
21 select REGMAP_MMIO
22 help
23 This driver supports the ethernet MAC IP first used on
24 MediaTek MT85** SoCs.
25
26endif #NET_VENDOR_MEDIATEK
15 help
16 This driver supports the gigabit ethernet MACs in the
17 MediaTek SoC family.
18
19config NET_MEDIATEK_STAR_EMAC
20 tristate "MediaTek STAR Ethernet MAC support"
21 select PHYLIB
22 select REGMAP_MMIO
23 help
24 This driver supports the ethernet MAC IP first used on
25 MediaTek MT85** SoCs.
26
27endif #NET_VENDOR_MEDIATEK