Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config NET_VENDOR_MEDIATEK
0003         bool "MediaTek devices"
0004         depends on ARCH_MEDIATEK || SOC_MT7621 || SOC_MT7620 || COMPILE_TEST
0005         help
0006           If you have a Mediatek SoC with ethernet, say Y.
0007 
0008 if NET_VENDOR_MEDIATEK
0009 
0010 config NET_MEDIATEK_SOC_WED
0011         depends on ARCH_MEDIATEK || COMPILE_TEST
0012         def_bool NET_MEDIATEK_SOC != n
0013 
0014 config NET_MEDIATEK_SOC
0015         tristate "MediaTek SoC Gigabit Ethernet support"
0016         depends on NET_DSA || !NET_DSA
0017         select PINCTRL
0018         select PHYLINK
0019         select DIMLIB
0020         select PAGE_POOL
0021         select PAGE_POOL_STATS
0022         help
0023           This driver supports the gigabit ethernet MACs in the
0024           MediaTek SoC family.
0025 
0026 config NET_MEDIATEK_STAR_EMAC
0027         tristate "MediaTek STAR Ethernet MAC support"
0028         select PHYLIB
0029         select REGMAP_MMIO
0030         help
0031           This driver supports the ethernet MAC IP first used on
0032           MediaTek MT85** SoCs.
0033 
0034 endif #NET_VENDOR_MEDIATEK