| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
# |
| 3 |
# Wangxun network device configuration |
| 4 |
# |
| 5 |
|
| 6 |
config NET_VENDOR_WANGXUN |
| 7 |
bool "Wangxun devices" |
| 8 |
default y |
| 9 |
help |
| 10 |
If you have a network (Ethernet) card from Wangxun(R), say Y. |
| 11 |
|
| 12 |
Note that the answer to this question doesn't directly affect the |
| 13 |
kernel: saying N will just cause the configurator to skip all |
| 14 |
the questions about Wangxun(R) cards. If you say Y, you will |
| 15 |
be asked for your specific card in the following questions. |
| 16 |
|
| 17 |
if NET_VENDOR_WANGXUN |
| 18 |
|
| 19 |
config LIBWX |
| 20 |
tristate |
| 21 |
depends on PTP_1588_CLOCK_OPTIONAL |
| 22 |
select PAGE_POOL |
| 23 |
select DIMLIB |
| 24 |
select PHYLINK |
| 25 |
help |
| 26 |
Common library for Wangxun(R) Ethernet drivers. |
| 27 |
|
| 28 |
config NGBE |
| 29 |
tristate "Wangxun(R) GbE PCI Express adapters support" |
| 30 |
depends on PCI |
| 31 |
depends on PTP_1588_CLOCK_OPTIONAL |
| 32 |
select LIBWX |
| 33 |
help |
| 34 |
This driver supports Wangxun(R) GbE PCI Express family of |
| 35 |
adapters. |
| 36 |
|
| 37 |
More specific information on configuring the driver is in |
| 38 |
<file:Documentation/networking/device_drivers/ethernet/wangxun/ngbe.rst>. |
| 39 |
|
| 40 |
To compile this driver as a module, choose M here. The module |
| 41 |
will be called ngbe. |
| 42 |
|
| 43 |
config TXGBE |
| 44 |
tristate "Wangxun(R) 10/25/40GbE PCI Express adapters support" |
| 45 |
depends on PCI |
| 46 |
depends on COMMON_CLK |
| 47 |
depends on I2C_DESIGNWARE_PLATFORM |
| 48 |
depends on PTP_1588_CLOCK_OPTIONAL |
| 49 |
select MARVELL_10G_PHY |
| 50 |
select REGMAP |
| 51 |
select HWMON if TXGBE=y |
| 52 |
select SFP |
| 53 |
select GPIOLIB |
| 54 |
select GPIOLIB_IRQCHIP |
| 55 |
select PCS_XPCS |
| 56 |
select LIBWX |
| 57 |
help |
| 58 |
This driver supports Wangxun(R) 10/25/40GbE PCI Express family of |
| 59 |
adapters. |
| 60 |
|
| 61 |
More specific information on configuring the driver is in |
| 62 |
<file:Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst>. |
| 63 |
|
| 64 |
To compile this driver as a module, choose M here. The module |
| 65 |
will be called txgbe. |
| 66 |
|
| 67 |
config TXGBEVF |
| 68 |
tristate "Wangxun(R) 10/25/40G Virtual Function Ethernet support" |
| 69 |
depends on PCI |
| 70 |
depends on PCI_MSI |
| 71 |
depends on PTP_1588_CLOCK_OPTIONAL |
| 72 |
select LIBWX |
| 73 |
help |
| 74 |
This driver supports virtual functions for SP1000A, WX1820AL, |
| 75 |
WX5XXX, WX5XXXAL. |
| 76 |
|
| 77 |
This driver was formerly named txgbevf. |
| 78 |
|
| 79 |
More specific information on configuring the driver is in |
| 80 |
<file:Documentation/networking/device_drivers/ethernet/wangxun/txgbevf.rst>. |
| 81 |
|
| 82 |
To compile this driver as a module, choose M here. MSI-X interrupt |
| 83 |
support is required for this driver to work correctly. |
| 84 |
|
| 85 |
config NGBEVF |
| 86 |
tristate "Wangxun(R) GbE Virtual Function Ethernet support" |
| 87 |
depends on PCI_MSI |
| 88 |
depends on PTP_1588_CLOCK_OPTIONAL |
| 89 |
select LIBWX |
| 90 |
help |
| 91 |
This driver supports virtual functions for WX1860, WX1860AL. |
| 92 |
|
| 93 |
This driver was formerly named ngbevf. |
| 94 |
|
| 95 |
More specific information on configuring the driver is in |
| 96 |
<file:Documentation/networking/device_drivers/ethernet/wangxun/ngbevf.rst>. |
| 97 |
|
| 98 |
To compile this driver as a module, choose M here. MSI-X interrupt |
| 99 |
support is required for this driver to work correctly. |
| 100 |
|
| 101 |
endif # NET_VENDOR_WANGXUN |