Skip to content

Commit b3739fb

Browse files
arndbkuba-moo
authored andcommitted
wangxunx: select CONFIG_PHYLINK where needed
The ngbe driver needs phylink: arm-linux-gnueabi-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_nway_reset': wx_ethtool.c:(.text+0x458): undefined reference to `phylink_ethtool_nway_reset' arm-linux-gnueabi-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_remove': ngbe_main.c:(.text+0x7c): undefined reference to `phylink_destroy' arm-linux-gnueabi-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_open': ngbe_main.c:(.text+0xf90): undefined reference to `phylink_connect_phy' arm-linux-gnueabi-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.o: in function `ngbe_mdio_init': ngbe_mdio.c:(.text+0x314): undefined reference to `phylink_create' Add the missing Kconfig description for this. Fixes: bc2426d ("net: ngbe: convert phylib to phylink") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20240111162828.68564-1-arnd@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent f9678f5 commit b3739fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/net/ethernet/wangxun

drivers/net/ethernet/wangxun/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ config NGBE
2626
tristate "Wangxun(R) GbE PCI Express adapters support"
2727
depends on PCI
2828
select LIBWX
29-
select PHYLIB
29+
select PHYLINK
3030
help
3131
This driver supports Wangxun(R) GbE PCI Express family of
3232
adapters.

0 commit comments

Comments
 (0)