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