net: wangxun: fix LIBWX dependencies
Subsystems (3)
PATCH 1/1 net: wangxun: fix LIBWX dependencies
From: Arnd Bergmann <[email protected]>
Selecting LIBWX requires that its dependencies are met first:
WARNING: unmet direct dependencies detected for LIBWX
Depends on [m]: NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_WANGXUN [=y] && PTP_1588_CLOCK_OPTIONAL [=m] Selected by [y]:
- TXGBE [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_WANGXUN [=y] && PCI [=y] && COMMON_CLK [=y] && I2C_DESIGNWARE_PLATFORM [=y]
ld.lld-21: error: undefined symbol: ptp_schedule_worker
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
referenced by wx_ptp.c:747 (
/home/arnd/arm-soc/drivers/net/ethernet/wangxun/libwx/wx_ptp.c:747)
drivers/net/ethernet/wangxun/libwx/wx_ptp.o:(wx_ptp_reset) in archive vmlinux.a
Add the smae dependency on PTP_1588_CLOCK_OPTIONAL to the two driver using this library module.
--- drivers/net/ethernet/wangxun/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/ethernet/wangxun/Kconfig +2 -0
@@ -26,6 +26,7 @@ config LIBWX config NGBE tristate "Wangxun(R) GbE PCI Express adapters support" depends on PCI + depends on PTP_1588_CLOCK_OPTIONAL select LIBWX select PHYLINK help
@@ -43,6 +44,7 @@ config TXGBE depends on PCI depends on COMMON_CLK depends on I2C_DESIGNWARE_PLATFORM + depends on PTP_1588_CLOCK_OPTIONAL select MARVELL_10G_PHY select REGMAP select PHYLINK
Signature · 1 line
2.39.5
Quoted 34 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
Selecting LIBWX requires that its dependencies are met first:
WARNING: unmet direct dependencies detected for LIBWX
Depends on [m]: NETDEVICES [=y] && ETHERNET [=y] &&NET_VENDOR_WANGXUN[=y] &&PTP_1588_CLOCK_OPTIONAL[=m] Selected by [y]:
- TXGBE [=y] && NETDEVICES [=y] && ETHERNET [=y] &&NET_VENDOR_WANGXUN[=y] && PCI [=y] &&COMMON_CLK[=y] &&I2C_DESIGNWARE_PLATFORM[=y]
ld.lld-21: error: undefined symbol:ptp_schedule_workerQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
referenced by wx_ptp.c:747 (
/home/arnd/arm-soc/drivers/net/ethernet/wangxun/libwx/wx_ptp.c:747)
drivers/net/ethernet/wangxun/libwx/wx_ptp.o:(wx_ptp_reset) in archive vmlinux.aAdd the smae dependency on
PTP_1588_CLOCK_OPTIONALto the two driver using this library module.Fixes 06e75161b9d4 ("net: wangxun: Add support for PTP clock")Signed-off-by Arnd Bergmann <[email protected]>--- drivers/net/ethernet/wangxun/Kconfig | 2 ++ 1 file changed, 2 insertions(+)drivers/net/ethernet/wangxun/Kconfig +1
-0@@ -26,6 +26,7 @@ config LIBWX config NGBE tristate "Wangxun(R) GbE PCI Express adapters support" depends on PCI + depends on PTP_1588_CLOCK_OPTIONAL select LIBWX select PHYLINK help
drivers/net/ethernet/wangxun/Kconfig config TXGBE · line 50
Quoted 7 lines
drivers/net/ethernet/wangxun/Kconfig +1
-0@@ -43,6 +44,7 @@ config TXGBE depends on PCI depends on COMMON_CLK depends on I2C_DESIGNWARE_PLATFORM + depends on PTP_1588_CLOCK_OPTIONAL select MARVELL_10G_PHY select REGMAP select PHYLINK
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · On Mon, 24 Feb 2025 15:05:06 +0100 you wrote:
From: Arnd Bergmann <[email protected]>
Selecting LIBWX requires that its dependencies are met first:
WARNING: unmet direct dependencies detected for LIBWX
Depends on [m]: NETDEVICES [=y] && ETHERNET [=y] &&NET_VENDOR_WANGXUN[=y] &&PTP_1588_CLOCK_OPTIONAL[=m] Selected by [y]:
- TXGBE [=y] && NETDEVICES [=y] && ETHERNET [=y] &&NET_VENDOR_WANGXUN[=y] && PCI [=y] &&COMMON_CLK[=y] &&I2C_DESIGNWARE_PLATFORM[=y]
ld.lld-21: error: undefined symbol:ptp_schedule_worker
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
referenced by wx_ptp.c:747 (
/home/arnd/arm-soc/drivers/net/ethernet/wangxun/libwx/wx_ptp.c:747)
drivers/net/ethernet/wangxun/libwx/wx_ptp.o:(wx_ptp_reset) in archive vmlinux.a[...]
Here is the summary with links:
- net: wangxun: fix LIBWX dependencies
https://git.kernel.org/netdev/net-next/c/8fa19c2c69fb
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html