162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Faraday device configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig NET_VENDOR_FARADAY
762306a36Sopenharmony_ci	bool "Faraday devices"
862306a36Sopenharmony_ci	default y
962306a36Sopenharmony_ci	depends on ARM || COMPILE_TEST
1062306a36Sopenharmony_ci	help
1162306a36Sopenharmony_ci	  If you have a network (Ethernet) card belonging to this class, say Y.
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci	  Note that the answer to this question doesn't directly affect the
1462306a36Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all
1562306a36Sopenharmony_ci	  the questions about Faraday cards. If you say Y, you will be asked for
1662306a36Sopenharmony_ci	  your specific card in the following questions.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciif NET_VENDOR_FARADAY
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciconfig FTMAC100
2162306a36Sopenharmony_ci	tristate "Faraday FTMAC100 10/100 Ethernet support"
2262306a36Sopenharmony_ci	depends on ARM || COMPILE_TEST
2362306a36Sopenharmony_ci	depends on !64BIT || BROKEN
2462306a36Sopenharmony_ci	select MII
2562306a36Sopenharmony_ci	help
2662306a36Sopenharmony_ci	  This driver supports the FTMAC100 10/100 Ethernet controller
2762306a36Sopenharmony_ci	  from Faraday. It is used on Faraday A320 and some other ARM SoC's.
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciconfig FTGMAC100
3062306a36Sopenharmony_ci	tristate "Faraday FTGMAC100 Gigabit Ethernet support"
3162306a36Sopenharmony_ci	depends on ARM || COMPILE_TEST
3262306a36Sopenharmony_ci	depends on !64BIT || BROKEN
3362306a36Sopenharmony_ci	select PHYLIB
3462306a36Sopenharmony_ci	select MDIO_ASPEED if MACH_ASPEED_G6
3562306a36Sopenharmony_ci	select CRC32
3662306a36Sopenharmony_ci	help
3762306a36Sopenharmony_ci	  This driver supports the FTGMAC100 Gigabit Ethernet controller
3862306a36Sopenharmony_ci	  from Faraday. It is used on Faraday A369 and some other ARM SoC's.
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ciendif # NET_VENDOR_FARADAY
41