1# SPDX-License-Identifier: GPL-2.0-only 2# 3# Wangxun network device configuration 4# 5 6config 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 17if NET_VENDOR_WANGXUN 18 19config LIBWX 20 tristate 21 depends on PTP_1588_CLOCK_OPTIONAL 22 select PAGE_POOL 23 select DIMLIB 24 help 25 Common library for Wangxun(R) Ethernet drivers. 26 27config NGBE 28 tristate "Wangxun(R) GbE PCI Express adapters support" 29 depends on PCI 30 depends on PTP_1588_CLOCK_OPTIONAL 31 select LIBWX 32 select PHYLINK 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 43config 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 PHYLINK 52 select HWMON if TXGBE=y 53 select SFP 54 select GPIOLIB 55 select GPIOLIB_IRQCHIP 56 select PCS_XPCS 57 select LIBWX 58 help 59 This driver supports Wangxun(R) 10/25/40GbE PCI Express family of 60 adapters. 61 62 More specific information on configuring the driver is in 63 <file:Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst>. 64 65 To compile this driver as a module, choose M here. The module 66 will be called txgbe. 67 68config TXGBEVF 69 tristate "Wangxun(R) 10/25/40G Virtual Function Ethernet support" 70 depends on PCI 71 depends on PCI_MSI 72 depends on PTP_1588_CLOCK_OPTIONAL 73 select LIBWX 74 select PHYLINK 75 help 76 This driver supports virtual functions for SP1000A, WX1820AL, 77 WX5XXX, WX5XXXAL. 78 79 This driver was formerly named txgbevf. 80 81 More specific information on configuring the driver is in 82 <file:Documentation/networking/device_drivers/ethernet/wangxun/txgbevf.rst>. 83 84 To compile this driver as a module, choose M here. MSI-X interrupt 85 support is required for this driver to work correctly. 86 87config NGBEVF 88 tristate "Wangxun(R) GbE Virtual Function Ethernet support" 89 depends on PCI_MSI 90 depends on PTP_1588_CLOCK_OPTIONAL 91 select LIBWX 92 help 93 This driver supports virtual functions for WX1860, WX1860AL. 94 95 This driver was formerly named ngbevf. 96 97 More specific information on configuring the driver is in 98 <file:Documentation/networking/device_drivers/ethernet/wangxun/ngbevf.rst>. 99 100 To compile this driver as a module, choose M here. MSI-X interrupt 101 support is required for this driver to work correctly. 102 103endif # NET_VENDOR_WANGXUN 104