162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# ARC EMAC network device configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig NET_VENDOR_ARC
762306a36Sopenharmony_ci	bool "ARC devices"
862306a36Sopenharmony_ci	default y
962306a36Sopenharmony_ci	help
1062306a36Sopenharmony_ci	  If you have a network (Ethernet) card belonging to this class, say Y.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci	  Note that the answer to this question doesn't directly affect the
1362306a36Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all
1462306a36Sopenharmony_ci	  the questions about ARC cards. If you say Y, you will be asked for
1562306a36Sopenharmony_ci	  your specific card in the following questions.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciif NET_VENDOR_ARC
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig ARC_EMAC_CORE
2062306a36Sopenharmony_ci	tristate
2162306a36Sopenharmony_ci	depends on ARC || ARCH_ROCKCHIP || COMPILE_TEST
2262306a36Sopenharmony_ci	select MII
2362306a36Sopenharmony_ci	select PHYLIB
2462306a36Sopenharmony_ci	select CRC32
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciconfig ARC_EMAC
2762306a36Sopenharmony_ci	tristate "ARC EMAC support"
2862306a36Sopenharmony_ci	select ARC_EMAC_CORE
2962306a36Sopenharmony_ci	depends on OF_IRQ
3062306a36Sopenharmony_ci	depends on ARC || COMPILE_TEST
3162306a36Sopenharmony_ci	help
3262306a36Sopenharmony_ci	  On some legacy ARC (Synopsys) FPGA boards such as ARCAngel4/ML50x
3362306a36Sopenharmony_ci	  non-standard on-chip ethernet device ARC EMAC 10/100 is used.
3462306a36Sopenharmony_ci	  Say Y here if you have such a board.  If unsure, say N.
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ciconfig EMAC_ROCKCHIP
3762306a36Sopenharmony_ci	tristate "Rockchip EMAC support"
3862306a36Sopenharmony_ci	select ARC_EMAC_CORE
3962306a36Sopenharmony_ci	depends on OF_IRQ && REGULATOR
4062306a36Sopenharmony_ci	depends on ARCH_ROCKCHIP || COMPILE_TEST
4162306a36Sopenharmony_ci	help
4262306a36Sopenharmony_ci	  Support for Rockchip RK3036/RK3066/RK3188 EMAC ethernet controllers.
4362306a36Sopenharmony_ci	  This selects Rockchip SoC glue layer support for the
4462306a36Sopenharmony_ci	  emac device driver. This driver is used for RK3036/RK3066/RK3188
4562306a36Sopenharmony_ci	  EMAC ethernet controller.
4662306a36Sopenharmony_ci
4762306a36Sopenharmony_ciendif # NET_VENDOR_ARC
48