xref: /openbmc/linux/drivers/net/ethernet/arc/Kconfig (revision 6eacf311)
1e4f2379dSAlexey Brodkin#
2e4f2379dSAlexey Brodkin# ARC EMAC network device configuration
3e4f2379dSAlexey Brodkin#
4e4f2379dSAlexey Brodkin
5e4f2379dSAlexey Brodkinconfig NET_VENDOR_ARC
6e4f2379dSAlexey Brodkin	bool "ARC devices"
7e4f2379dSAlexey Brodkin	default y
8e4f2379dSAlexey Brodkin	---help---
9e4f2379dSAlexey Brodkin	  If you have a network (Ethernet) card belonging to this class, say Y
10e4f2379dSAlexey Brodkin	  and read the Ethernet-HOWTO, available from
11e4f2379dSAlexey Brodkin	  <http://www.tldp.org/docs.html#howto>.
12e4f2379dSAlexey Brodkin
13e4f2379dSAlexey Brodkin	  Note that the answer to this question doesn't directly affect the
14e4f2379dSAlexey Brodkin	  kernel: saying N will just cause the configurator to skip all
15e4f2379dSAlexey Brodkin	  the questions about ARC cards. If you say Y, you will be asked for
16e4f2379dSAlexey Brodkin	  your specific card in the following questions.
17e4f2379dSAlexey Brodkin
18e4f2379dSAlexey Brodkinif NET_VENDOR_ARC
19e4f2379dSAlexey Brodkin
2023d2d9a6SRomain Perierconfig ARC_EMAC_CORE
2123d2d9a6SRomain Perier	tristate
22e4f2379dSAlexey Brodkin	select MII
23e4f2379dSAlexey Brodkin	select PHYLIB
2423d2d9a6SRomain Perier
2523d2d9a6SRomain Perierconfig ARC_EMAC
2623d2d9a6SRomain Perier	tristate "ARC EMAC support"
2723d2d9a6SRomain Perier	select ARC_EMAC_CORE
28e4f2379dSAlexey Brodkin	depends on OF_IRQ
29e4f2379dSAlexey Brodkin	depends on OF_NET
30e4f2379dSAlexey Brodkin	---help---
31e4f2379dSAlexey Brodkin	  On some legacy ARC (Synopsys) FPGA boards such as ARCAngel4/ML50x
32e4f2379dSAlexey Brodkin	  non-standard on-chip ethernet device ARC EMAC 10/100 is used.
33e4f2379dSAlexey Brodkin	  Say Y here if you have such a board.  If unsure, say N.
34e4f2379dSAlexey Brodkin
356eacf311SRomain Perierconfig EMAC_ROCKCHIP
366eacf311SRomain Perier	tristate "Rockchip EMAC support"
376eacf311SRomain Perier	select ARC_EMAC_CORE
386eacf311SRomain Perier	depends on OF_IRQ && OF_NET && REGULATOR
396eacf311SRomain Perier	---help---
406eacf311SRomain Perier	  Support for Rockchip RK3066/RK3188 EMAC ethernet controllers.
416eacf311SRomain Perier	  This selects Rockchip SoC glue layer support for the
426eacf311SRomain Perier	  emac device driver. This driver is used for RK3066/RK3188
436eacf311SRomain Perier	  EMAC ethernet controller.
446eacf311SRomain Perier
45e4f2379dSAlexey Brodkinendif # NET_VENDOR_ARC
46