0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # ARC EMAC network device configuration
0004 #
0005
0006 config NET_VENDOR_ARC
0007 bool "ARC devices"
0008 default y
0009 help
0010 If you have a network (Ethernet) card belonging to this class, say Y.
0011
0012 Note that the answer to this question doesn't directly affect the
0013 kernel: saying N will just cause the configurator to skip all
0014 the questions about ARC cards. If you say Y, you will be asked for
0015 your specific card in the following questions.
0016
0017 if NET_VENDOR_ARC
0018
0019 config ARC_EMAC_CORE
0020 tristate
0021 depends on ARC || ARCH_ROCKCHIP || COMPILE_TEST
0022 select MII
0023 select PHYLIB
0024 select CRC32
0025
0026 config ARC_EMAC
0027 tristate "ARC EMAC support"
0028 select ARC_EMAC_CORE
0029 depends on OF_IRQ
0030 depends on ARC || COMPILE_TEST
0031 help
0032 On some legacy ARC (Synopsys) FPGA boards such as ARCAngel4/ML50x
0033 non-standard on-chip ethernet device ARC EMAC 10/100 is used.
0034 Say Y here if you have such a board. If unsure, say N.
0035
0036 config EMAC_ROCKCHIP
0037 tristate "Rockchip EMAC support"
0038 select ARC_EMAC_CORE
0039 depends on OF_IRQ && REGULATOR
0040 depends on ARCH_ROCKCHIP || COMPILE_TEST
0041 help
0042 Support for Rockchip RK3036/RK3066/RK3188 EMAC ethernet controllers.
0043 This selects Rockchip SoC glue layer support for the
0044 emac device driver. This driver is used for RK3036/RK3066/RK3188
0045 EMAC ethernet controller.
0046
0047 endif # NET_VENDOR_ARC