18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# ARC EMAC network device configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig NET_VENDOR_ARC
78c2ecf20Sopenharmony_ci	bool "ARC devices"
88c2ecf20Sopenharmony_ci	default y
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  If you have a network (Ethernet) card belonging to this class, say Y.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci	  Note that the answer to this question doesn't directly affect the
138c2ecf20Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all
148c2ecf20Sopenharmony_ci	  the questions about ARC cards. If you say Y, you will be asked for
158c2ecf20Sopenharmony_ci	  your specific card in the following questions.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciif NET_VENDOR_ARC
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig ARC_EMAC_CORE
208c2ecf20Sopenharmony_ci	tristate
218c2ecf20Sopenharmony_ci	depends on ARC || ARCH_ROCKCHIP || COMPILE_TEST
228c2ecf20Sopenharmony_ci	select MII
238c2ecf20Sopenharmony_ci	select PHYLIB
248c2ecf20Sopenharmony_ci	select CRC32
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ciconfig ARC_EMAC
278c2ecf20Sopenharmony_ci	tristate "ARC EMAC support"
288c2ecf20Sopenharmony_ci	select ARC_EMAC_CORE
298c2ecf20Sopenharmony_ci	depends on OF_IRQ && OF_NET
308c2ecf20Sopenharmony_ci	depends on ARC || COMPILE_TEST
318c2ecf20Sopenharmony_ci	help
328c2ecf20Sopenharmony_ci	  On some legacy ARC (Synopsys) FPGA boards such as ARCAngel4/ML50x
338c2ecf20Sopenharmony_ci	  non-standard on-chip ethernet device ARC EMAC 10/100 is used.
348c2ecf20Sopenharmony_ci	  Say Y here if you have such a board.  If unsure, say N.
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ciconfig EMAC_ROCKCHIP
378c2ecf20Sopenharmony_ci	tristate "Rockchip EMAC support"
388c2ecf20Sopenharmony_ci	select ARC_EMAC_CORE
398c2ecf20Sopenharmony_ci	depends on OF_IRQ && OF_NET && REGULATOR
408c2ecf20Sopenharmony_ci	depends on ARCH_ROCKCHIP || COMPILE_TEST
418c2ecf20Sopenharmony_ci	help
428c2ecf20Sopenharmony_ci	  Support for Rockchip RK3036/RK3066/RK3188 EMAC ethernet controllers.
438c2ecf20Sopenharmony_ci	  This selects Rockchip SoC glue layer support for the
448c2ecf20Sopenharmony_ci	  emac device driver. This driver is used for RK3036/RK3066/RK3188
458c2ecf20Sopenharmony_ci	  EMAC ethernet controller.
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ciendif # NET_VENDOR_ARC
48