GNU Linux-libre 4.14.290-gnu1
[releases.git] / drivers / net / ethernet / arc / Kconfig
1 #
2 # ARC EMAC network device configuration
3 #
4
5 config 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
11           Note that the answer to this question doesn't directly affect the
12           kernel: saying N will just cause the configurator to skip all
13           the questions about ARC cards. If you say Y, you will be asked for
14           your specific card in the following questions.
15
16 if NET_VENDOR_ARC
17
18 config ARC_EMAC_CORE
19         tristate
20         depends on ARC || ARCH_ROCKCHIP || COMPILE_TEST
21         select MII
22         select PHYLIB
23         select CRC32
24
25 config ARC_EMAC
26         tristate "ARC EMAC support"
27         select ARC_EMAC_CORE
28         depends on OF_IRQ && OF_NET && HAS_DMA && (ARC || COMPILE_TEST)
29         ---help---
30           On some legacy ARC (Synopsys) FPGA boards such as ARCAngel4/ML50x
31           non-standard on-chip ethernet device ARC EMAC 10/100 is used.
32           Say Y here if you have such a board.  If unsure, say N.
33
34 config EMAC_ROCKCHIP
35         tristate "Rockchip EMAC support"
36         select ARC_EMAC_CORE
37         depends on OF_IRQ && OF_NET && REGULATOR && HAS_DMA && (ARCH_ROCKCHIP || COMPILE_TEST)
38         ---help---
39           Support for Rockchip RK3036/RK3066/RK3188 EMAC ethernet controllers.
40           This selects Rockchip SoC glue layer support for the
41           emac device driver. This driver is used for RK3036/RK3066/RK3188
42           EMAC ethernet controller.
43
44 endif # NET_VENDOR_ARC