mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-04-08 12:02:33 +02:00
commitae409629e0upstream. Depending on e.g. DT configuration this driver uses a fixed link. So we shouldn't rely on the user to enable FIXED_PHY, select it in Kconfig instead. We may end up with a non-functional driver otherwise. Fixes:38561ded50("net: ftgmac100: support fixed link") Cc: stable@vger.kernel.org Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Link: https://patch.msgid.link/476bb33b-5584-40f0-826a-7294980f2895@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Faraday device configuration
|
|
#
|
|
|
|
config NET_VENDOR_FARADAY
|
|
bool "Faraday devices"
|
|
default y
|
|
depends on ARM || COMPILE_TEST
|
|
help
|
|
If you have a network (Ethernet) card belonging to this class, say Y.
|
|
|
|
Note that the answer to this question doesn't directly affect the
|
|
kernel: saying N will just cause the configurator to skip all
|
|
the questions about Faraday cards. If you say Y, you will be asked for
|
|
your specific card in the following questions.
|
|
|
|
if NET_VENDOR_FARADAY
|
|
|
|
config FTMAC100
|
|
tristate "Faraday FTMAC100 10/100 Ethernet support"
|
|
depends on ARM || COMPILE_TEST
|
|
depends on !64BIT || BROKEN
|
|
select MII
|
|
help
|
|
This driver supports the FTMAC100 10/100 Ethernet controller
|
|
from Faraday. It is used on Faraday A320 and some other ARM SoC's.
|
|
|
|
config FTGMAC100
|
|
tristate "Faraday FTGMAC100 Gigabit Ethernet support"
|
|
depends on ARM || COMPILE_TEST
|
|
depends on !64BIT || BROKEN
|
|
select PHYLIB
|
|
select FIXED_PHY
|
|
select MDIO_ASPEED if MACH_ASPEED_G6
|
|
select CRC32
|
|
help
|
|
This driver supports the FTGMAC100 Gigabit Ethernet controller
|
|
from Faraday. It is used on Faraday A369 and some other ARM SoC's.
|
|
|
|
endif # NET_VENDOR_FARADAY
|