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