blob: 7bfc78b5b92afa06ad81d1417e8bbc9ece82c7e4 [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
developer089e8852022-09-28 14:43:46 +080023config MEDIATEK_NETSYS_V3
24 tristate "MediaTek Ethernet NETSYS V3 support"
25 depends on ARCH_MEDIATEK && NET_MEDIATEK_SOC
26 ---help---
27 This options enable MTK Ethernet NETSYS V3 support for
28 XGMAC and USXGMII.
29
30 If you have a network system belong to this class, say Y.
31 If unsure, say N.
32
developerfd40db22021-04-29 10:08:25 +080033config NET_MEDIATEK_HNAT
34 tristate "MediaTek HW NAT support"
35 depends on NET_MEDIATEK_SOC && NF_CONNTRACK && IP_NF_NAT
36 ---help---
37 This driver supports the hardward Network Address Translation
38 in the MediaTek MT7986/MT2701/MT7622/MT7629/MT7621 chipset
39 family.
40
developerfd40db22021-04-29 10:08:25 +080041endif #NET_VENDOR_MEDIATEK