xref: /OK3568_Linux_fs/kernel/drivers/net/ethernet/arc/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# ARC EMAC network device configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig NET_VENDOR_ARC
7*4882a593Smuzhiyun	bool "ARC devices"
8*4882a593Smuzhiyun	default y
9*4882a593Smuzhiyun	help
10*4882a593Smuzhiyun	  If you have a network (Ethernet) card belonging to this class, say Y.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun	  Note that the answer to this question doesn't directly affect the
13*4882a593Smuzhiyun	  kernel: saying N will just cause the configurator to skip all
14*4882a593Smuzhiyun	  the questions about ARC cards. If you say Y, you will be asked for
15*4882a593Smuzhiyun	  your specific card in the following questions.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunif NET_VENDOR_ARC
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunconfig ARC_EMAC_CORE
20*4882a593Smuzhiyun	tristate
21*4882a593Smuzhiyun	depends on ARC || ARCH_ROCKCHIP || COMPILE_TEST
22*4882a593Smuzhiyun	select MII
23*4882a593Smuzhiyun	select PHYLIB
24*4882a593Smuzhiyun	select CRC32
25*4882a593Smuzhiyun
26*4882a593Smuzhiyunconfig ARC_EMAC
27*4882a593Smuzhiyun	tristate "ARC EMAC support"
28*4882a593Smuzhiyun	select ARC_EMAC_CORE
29*4882a593Smuzhiyun	depends on OF_IRQ && OF_NET
30*4882a593Smuzhiyun	depends on ARC || COMPILE_TEST
31*4882a593Smuzhiyun	help
32*4882a593Smuzhiyun	  On some legacy ARC (Synopsys) FPGA boards such as ARCAngel4/ML50x
33*4882a593Smuzhiyun	  non-standard on-chip ethernet device ARC EMAC 10/100 is used.
34*4882a593Smuzhiyun	  Say Y here if you have such a board.  If unsure, say N.
35*4882a593Smuzhiyun
36*4882a593Smuzhiyunconfig EMAC_ROCKCHIP
37*4882a593Smuzhiyun	tristate "Rockchip EMAC support"
38*4882a593Smuzhiyun	select ARC_EMAC_CORE
39*4882a593Smuzhiyun	depends on OF_IRQ && OF_NET && REGULATOR
40*4882a593Smuzhiyun	depends on ARCH_ROCKCHIP || COMPILE_TEST
41*4882a593Smuzhiyun	help
42*4882a593Smuzhiyun	  Support for Rockchip RK3036/RK3066/RK3188 EMAC ethernet controllers.
43*4882a593Smuzhiyun	  This selects Rockchip SoC glue layer support for the
44*4882a593Smuzhiyun	  emac device driver. This driver is used for RK3036/RK3066/RK3188
45*4882a593Smuzhiyun	  EMAC ethernet controller.
46*4882a593Smuzhiyun
47*4882a593Smuzhiyunendif # NET_VENDOR_ARC
48