Commit bcc096af4de0e3(net: phylink: add support for managed = "c73")
introduces the linkmode_support_c73(), which is defined in the
drivers/net/mii.c, so select Mii. To avoid below building issue:
| aarch64-wrs-linux-ld.bfd: drivers/net/phy/phylink.o: in function 
`phylink_validate_mac_and_pcs':
| phylink.c:(.text+0x31b4): undefined reference to `linkmode_support_c73'
| aarch64-wrs-linux-ld.bfd: drivers/net/phy/phylink.o: in function 
`phylink_create':
| phylink.c:(.text+0x37ac): undefined reference to `linkmode_support_c73'

Signed-off-by: Xulin Sun <xulin....@windriver.com>
---
 drivers/net/phy/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index c57a0262fb64..5e977c945f14 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -8,6 +8,7 @@ config PHYLINK
        depends on NETDEVICES
        select PHYLIB
        select SWPHY
+       select MII
        help
          PHYlink models the link between the PHY and MAC, allowing fixed
          configuration links, PHYs, and Serdes links with MAC level
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13821): 
https://lists.yoctoproject.org/g/linux-yocto/message/13821
Mute This Topic: https://lists.yoctoproject.org/mt/105548919/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to