xref: /OK3568_Linux_fs/kernel/drivers/net/ethernet/faraday/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Faraday device configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig NET_VENDOR_FARADAY
7*4882a593Smuzhiyun	bool "Faraday devices"
8*4882a593Smuzhiyun	default y
9*4882a593Smuzhiyun	depends on ARM || NDS32 || COMPILE_TEST
10*4882a593Smuzhiyun	help
11*4882a593Smuzhiyun	  If you have a network (Ethernet) card belonging to this class, say Y.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun	  Note that the answer to this question doesn't directly affect the
14*4882a593Smuzhiyun	  kernel: saying N will just cause the configurator to skip all
15*4882a593Smuzhiyun	  the questions about Faraday cards. If you say Y, you will be asked for
16*4882a593Smuzhiyun	  your specific card in the following questions.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyunif NET_VENDOR_FARADAY
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunconfig FTMAC100
21*4882a593Smuzhiyun	tristate "Faraday FTMAC100 10/100 Ethernet support"
22*4882a593Smuzhiyun	depends on ARM || NDS32 || COMPILE_TEST
23*4882a593Smuzhiyun	depends on !64BIT || BROKEN
24*4882a593Smuzhiyun	select MII
25*4882a593Smuzhiyun	help
26*4882a593Smuzhiyun	  This driver supports the FTMAC100 10/100 Ethernet controller
27*4882a593Smuzhiyun	  from Faraday. It is used on Faraday A320, Andes AG101 and some
28*4882a593Smuzhiyun	  other ARM/NDS32 SoC's.
29*4882a593Smuzhiyun
30*4882a593Smuzhiyunconfig FTGMAC100
31*4882a593Smuzhiyun	tristate "Faraday FTGMAC100 Gigabit Ethernet support"
32*4882a593Smuzhiyun	depends on ARM || NDS32 || COMPILE_TEST
33*4882a593Smuzhiyun	depends on !64BIT || BROKEN
34*4882a593Smuzhiyun	select PHYLIB
35*4882a593Smuzhiyun	select MDIO_ASPEED if MACH_ASPEED_G6
36*4882a593Smuzhiyun	select CRC32
37*4882a593Smuzhiyun	help
38*4882a593Smuzhiyun	  This driver supports the FTGMAC100 Gigabit Ethernet controller
39*4882a593Smuzhiyun	  from Faraday. It is used on Faraday A369, Andes AG102 and some
40*4882a593Smuzhiyun	  other ARM/NDS32 SoC's.
41*4882a593Smuzhiyun
42*4882a593Smuzhiyunendif # NET_VENDOR_FARADAY
43