1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Faraday device configuration
4#
5
6config NET_VENDOR_FARADAY
7	bool "Faraday devices"
8	default y
9	depends on ARM || NDS32 || COMPILE_TEST
10	---help---
11	  If you have a network (Ethernet) card belonging to this class, say Y.
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 Faraday cards. If you say Y, you will be asked for
16	  your specific card in the following questions.
17
18if NET_VENDOR_FARADAY
19
20config FTMAC100
21	tristate "Faraday FTMAC100 10/100 Ethernet support"
22	depends on ARM || NDS32 || COMPILE_TEST
23	depends on !64BIT || BROKEN
24	select MII
25	---help---
26	  This driver supports the FTMAC100 10/100 Ethernet controller
27	  from Faraday. It is used on Faraday A320, Andes AG101 and some
28	  other ARM/NDS32 SoC's.
29
30config FTGMAC100
31	tristate "Faraday FTGMAC100 Gigabit Ethernet support"
32	depends on ARM || NDS32 || COMPILE_TEST
33	depends on !64BIT || BROKEN
34	select PHYLIB
35	select MDIO_ASPEED if MACH_ASPEED_G6
36	---help---
37	  This driver supports the FTGMAC100 Gigabit Ethernet controller
38	  from Faraday. It is used on Faraday A369, Andes AG102 and some
39	  other ARM/NDS32 SoC's.
40
41endif # NET_VENDOR_FARADAY
42