mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-17 14:05:52 +00:00

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: bc2426d74a
("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>
65 lines
1.6 KiB
Text
65 lines
1.6 KiB
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Wangxun network device configuration
|
|
#
|
|
|
|
config NET_VENDOR_WANGXUN
|
|
bool "Wangxun devices"
|
|
default y
|
|
help
|
|
If you have a network (Ethernet) card from Wangxun(R), say Y.
|
|
|
|
Note that the answer to this question doesn't directly affect the
|
|
kernel: saying N will just cause the configurator to skip all
|
|
the questions about Wangxun(R) cards. If you say Y, you will
|
|
be asked for your specific card in the following questions.
|
|
|
|
if NET_VENDOR_WANGXUN
|
|
|
|
config LIBWX
|
|
tristate
|
|
select PAGE_POOL
|
|
help
|
|
Common library for Wangxun(R) Ethernet drivers.
|
|
|
|
config NGBE
|
|
tristate "Wangxun(R) GbE PCI Express adapters support"
|
|
depends on PCI
|
|
select LIBWX
|
|
select PHYLINK
|
|
help
|
|
This driver supports Wangxun(R) GbE PCI Express family of
|
|
adapters.
|
|
|
|
More specific information on configuring the driver is in
|
|
<file:Documentation/networking/device_drivers/ethernet/wangxun/ngbe.rst>.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called ngbe.
|
|
|
|
config TXGBE
|
|
tristate "Wangxun(R) 10GbE PCI Express adapters support"
|
|
depends on PCI
|
|
depends on COMMON_CLK
|
|
select MARVELL_10G_PHY
|
|
select REGMAP
|
|
select I2C
|
|
select I2C_DESIGNWARE_PLATFORM
|
|
select PHYLINK
|
|
select HWMON if TXGBE=y
|
|
select SFP
|
|
select GPIOLIB
|
|
select GPIOLIB_IRQCHIP
|
|
select PCS_XPCS
|
|
select LIBWX
|
|
help
|
|
This driver supports Wangxun(R) 10GbE PCI Express family of
|
|
adapters.
|
|
|
|
More specific information on configuring the driver is in
|
|
<file:Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst>.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called txgbe.
|
|
|
|
endif # NET_VENDOR_WANGXUN
|