net: lan743x: also select PHYLIB
PATCH 1/1 net: lan743x: also select PHYLIB
Since FIXED_PHY depends on PHYLIB, PHYLIB needs to be set to avoid a kconfig warning:
WARNING: unmet direct dependencies detected for FIXED_PHY
Depends on [n]: NETDEVICES [=y] && PHYLIB [=n]
Selected by [y]:
- LAN743X [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICROCHIP [=y] && PCI [=y] && PTP_1588_CLOCK_OPTIONAL [=y]
M: Bryan Whitehead <[email protected]>
M: [email protected]
M: Simon Horman <[email protected]>
L: [email protected]
Cc: "David S. Miller" <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: Paolo Abeni <[email protected]>
--- drivers/net/ethernet/microchip/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/microchip/Kconfig +1 -0
@@ -46,6 +46,7 @@ config LAN743X tristate "LAN743x support" depends on PCI depends on PTP_1588_CLOCK_OPTIONAL + select PHYLIB select FIXED_PHY select CRC16 select CRC32
Jakub Kicinski
maintainerQuoted 7 lines · On Tue, 26 Sep 2023 21:25:23 -0700 Randy Dunlap wrote:
Since
FIXED_PHYdepends on PHYLIB, PHYLIB needs to be set to avoid a kconfig warning:WARNING: unmet direct dependencies detected for
FIXED_PHY
Depends on [n]: NETDEVICES [=y] && PHYLIB [=n]
Selected by [y]:
- LAN743X [=y] && NETDEVICES [=y] && ETHERNET [=y] &&NET_VENDOR_MICROCHIP[=y] && PCI [=y] &&PTP_1588_CLOCK_OPTIONAL[=y]
Hi Randy!
Could you resend CCing netdev@ ?
It's necessary for the patch to get into our patchwork instance.