From: Arnd Bergmann <arnd@kernel•org>
To: Jiawen Wu <jiawenwu@trustnetic•com>,
Mengyuan Lou <mengyuanlou@net-swift•com>,
Jakub Kicinski <kuba@kernel•org>
Cc: Arnd Bergmann <arnd@arndb•de>,
"David S. Miller" <davem@davemloft•net>,
Eric Dumazet <edumazet@google•com>,
Paolo Abeni <pabeni@redhat•com>,
Russell King <linux@armlinux•org.uk>,
Andrew Lunn <andrew@lunn•ch>,
Maciej Fijalkowski <maciej.fijalkowski@intel•com>,
Andy Shevchenko <andriy.shevchenko@linux•intel.com>,
"Russell King (Oracle)" <rmk+kernel@armlinux•org.uk>,
netdev@vger•kernel.org, linux-kernel@vger•kernel.org
Subject: [PATCH] wangxunx: select CONFIG_PHYLINK where needed
Date: Tue, 9 Jan 2024 08:56:21 +0100 [thread overview]
Message-ID: <20240109075656.2656359-1-arnd@kernel.org> (raw)
From: Arnd Bergmann <arnd@arndb•de>
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: bc2426d74aa3 ("net: ngbe: convert phylib to phylink")
Signed-off-by: Arnd Bergmann <arnd@arndb•de>
---
drivers/net/ethernet/wangxun/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/wangxun/Kconfig b/drivers/net/ethernet/wangxun/Kconfig
index 23cd610bd376..46630f05d8dd 100644
--- a/drivers/net/ethernet/wangxun/Kconfig
+++ b/drivers/net/ethernet/wangxun/Kconfig
@@ -26,6 +26,7 @@ config NGBE
tristate "Wangxun(R) GbE PCI Express adapters support"
depends on PCI
select LIBWX
+ select PHYLINK
select PHYLIB
help
This driver supports Wangxun(R) GbE PCI Express family of
--
2.39.2
next reply other threads:[~2024-01-09 7:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-09 7:56 Arnd Bergmann [this message]
2024-01-09 8:38 ` [PATCH] wangxunx: select CONFIG_PHYLINK where needed Jiawen Wu
2024-01-09 9:35 ` Russell King (Oracle)
2024-01-11 15:49 ` Russell King (Oracle)
2024-01-11 16:29 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240109075656.2656359-1-arnd@kernel.org \
--to=arnd@kernel$(echo .)org \
--cc=andrew@lunn$(echo .)ch \
--cc=andriy.shevchenko@linux$(echo .)intel.com \
--cc=arnd@arndb$(echo .)de \
--cc=davem@davemloft$(echo .)net \
--cc=edumazet@google$(echo .)com \
--cc=jiawenwu@trustnetic$(echo .)com \
--cc=kuba@kernel$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux@armlinux$(echo .)org.uk \
--cc=maciej.fijalkowski@intel$(echo .)com \
--cc=mengyuanlou@net-swift$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=rmk+kernel@armlinux$(echo .)org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox