blob: 42e6b38d24e37ceecb95dfe874d80c43d46eec8d [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001# SPDX-License-Identifier: GPL-2.0-only
2config NET_VENDOR_MEDIATEK
3 bool "MediaTek ethernet driver"
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 select PHYLINK
13 ---help---
14 This driver supports the gigabit ethernet MACs in the
15 MediaTek SoC family.
16
17config MEDIATEK_NETSYS_V2
18 tristate "MediaTek Ethernet NETSYS V2 support"
19 depends on ARCH_MEDIATEK && NET_MEDIATEK_SOC
20 ---help---
21 This options enable MTK Ethernet NETSYS V2 support
22
23config NET_MEDIATEK_HNAT
24 tristate "MediaTek HW NAT support"
25 depends on NET_MEDIATEK_SOC && NF_CONNTRACK && IP_NF_NAT
26 ---help---
27 This driver supports the hardward Network Address Translation
28 in the MediaTek MT7986/MT2701/MT7622/MT7629/MT7621 chipset
29 family.
30
developerfd40db22021-04-29 10:08:25 +080031endif #NET_VENDOR_MEDIATEK