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