xref: /linux/drivers/net/ethernet/arc/Kconfig (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2e4f2379dSAlexey Brodkin#
3e4f2379dSAlexey Brodkin# ARC EMAC network device configuration
4e4f2379dSAlexey Brodkin#
5e4f2379dSAlexey Brodkin
6e4f2379dSAlexey Brodkinconfig NET_VENDOR_ARC
7e4f2379dSAlexey Brodkin	bool "ARC devices"
8e4f2379dSAlexey Brodkin	default y
9a7f7f624SMasahiro Yamada	help
10138b15edSPaul Gortmaker	  If you have a network (Ethernet) card belonging to this class, say Y.
11e4f2379dSAlexey Brodkin
12e4f2379dSAlexey Brodkin	  Note that the answer to this question doesn't directly affect the
13e4f2379dSAlexey Brodkin	  kernel: saying N will just cause the configurator to skip all
14e4f2379dSAlexey Brodkin	  the questions about ARC cards. If you say Y, you will be asked for
15e4f2379dSAlexey Brodkin	  your specific card in the following questions.
16e4f2379dSAlexey Brodkin
17e4f2379dSAlexey Brodkinif NET_VENDOR_ARC
18e4f2379dSAlexey Brodkin
1923d2d9a6SRomain Perierconfig ARC_EMAC_CORE
2023d2d9a6SRomain Perier	tristate
21530742e7SPeter Robinson	depends on ARC || ARCH_ROCKCHIP || COMPILE_TEST
22e4f2379dSAlexey Brodkin	select MII
23e4f2379dSAlexey Brodkin	select PHYLIB
24*e599ee23SVegard Nossum	select CRC32
2523d2d9a6SRomain Perier
266eacf311SRomain Perierconfig EMAC_ROCKCHIP
276eacf311SRomain Perier	tristate "Rockchip EMAC support"
286eacf311SRomain Perier	select ARC_EMAC_CORE
29e330fb14SJakub Kicinski	depends on OF_IRQ && REGULATOR
30e020797bSGeert Uytterhoeven	depends on ARCH_ROCKCHIP || COMPILE_TEST
31a7f7f624SMasahiro Yamada	help
32af72261fSXing Zheng	  Support for Rockchip RK3036/RK3066/RK3188 EMAC ethernet controllers.
336eacf311SRomain Perier	  This selects Rockchip SoC glue layer support for the
34af72261fSXing Zheng	  emac device driver. This driver is used for RK3036/RK3066/RK3188
356eacf311SRomain Perier	  EMAC ethernet controller.
366eacf311SRomain Perier
37e4f2379dSAlexey Brodkinendif # NET_VENDOR_ARC
38