net: ftgmac100: select FIXED_PHY
commit ae409629e022fbebbc6d31a1bfeccdbbeee20fd6 upstream.
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8c5713ce1c
commit
061a5dd666
@@ -31,6 +31,7 @@ config FTGMAC100
|
|||||||
depends on ARM || COMPILE_TEST
|
depends on ARM || COMPILE_TEST
|
||||||
depends on !64BIT || BROKEN
|
depends on !64BIT || BROKEN
|
||||||
select PHYLIB
|
select PHYLIB
|
||||||
|
select FIXED_PHY
|
||||||
select MDIO_ASPEED if MACH_ASPEED_G6
|
select MDIO_ASPEED if MACH_ASPEED_G6
|
||||||
select CRC32
|
select CRC32
|
||||||
help
|
help
|
||||||
|
Reference in New Issue
Block a user