developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | config 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 | |
| 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 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 | |
| 23 | config 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 | |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 31 | endif #NET_VENDOR_MEDIATEK |