summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/wangxun/Kconfig
diff options
context:
space:
mode:
authorJiawen Wu <jiawenwu@trustnetic.com>2022-10-27 09:11:14 +0300
committerDavid S. Miller <davem@davemloft.net>2022-10-28 13:25:53 +0300
commita34b3e6ed8fbf668f995abdfd410784c695b6d03 (patch)
tree3787844b07a4fa33e98d2eb03722db4ab216a5bc /drivers/net/ethernet/wangxun/Kconfig
parent957ed5e7129f2ce85dd76e4cdce749388295467d (diff)
downloadlinux-a34b3e6ed8fbf668f995abdfd410784c695b6d03.tar.xz
net: txgbe: Store PCI info
Get PCI config space info, set LAN id and check flash status. Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/wangxun/Kconfig')
-rw-r--r--drivers/net/ethernet/wangxun/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ethernet/wangxun/Kconfig b/drivers/net/ethernet/wangxun/Kconfig
index f5d43d8c9629..565fa826b056 100644
--- a/drivers/net/ethernet/wangxun/Kconfig
+++ b/drivers/net/ethernet/wangxun/Kconfig
@@ -16,6 +16,11 @@ config NET_VENDOR_WANGXUN
if NET_VENDOR_WANGXUN
+config LIBWX
+ tristate
+ help
+ Common library for Wangxun(R) Ethernet drivers.
+
config NGBE
tristate "Wangxun(R) GbE PCI Express adapters support"
depends on PCI
@@ -32,6 +37,7 @@ config NGBE
config TXGBE
tristate "Wangxun(R) 10GbE PCI Express adapters support"
depends on PCI
+ select LIBWX
help
This driver supports Wangxun(R) 10GbE PCI Express family of
adapters.