Kconfig 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Wangxun network device configuration
  4. #
  5. config NET_VENDOR_WANGXUN
  6. bool "Wangxun devices"
  7. default y
  8. help
  9. If you have a network (Ethernet) card from Wangxun(R), say Y.
  10. Note that the answer to this question doesn't directly affect the
  11. kernel: saying N will just cause the configurator to skip all
  12. the questions about Wangxun(R) cards. If you say Y, you will
  13. be asked for your specific card in the following questions.
  14. if NET_VENDOR_WANGXUN
  15. config LIBWX
  16. tristate
  17. select PAGE_POOL
  18. help
  19. Common library for Wangxun(R) Ethernet drivers.
  20. config NGBE
  21. tristate "Wangxun(R) GbE PCI Express adapters support"
  22. depends on PCI
  23. select LIBWX
  24. select PHYLINK
  25. help
  26. This driver supports Wangxun(R) GbE PCI Express family of
  27. adapters.
  28. More specific information on configuring the driver is in
  29. <file:Documentation/networking/device_drivers/ethernet/wangxun/ngbe.rst>.
  30. To compile this driver as a module, choose M here. The module
  31. will be called ngbe.
  32. config TXGBE
  33. tristate "Wangxun(R) 10GbE PCI Express adapters support"
  34. depends on PCI
  35. depends on COMMON_CLK
  36. depends on I2C_DESIGNWARE_PLATFORM
  37. select MARVELL_10G_PHY
  38. select REGMAP
  39. select PHYLINK
  40. select HWMON if TXGBE=y
  41. select SFP
  42. select GPIOLIB
  43. select GPIOLIB_IRQCHIP
  44. select PCS_XPCS
  45. select LIBWX
  46. help
  47. This driver supports Wangxun(R) 10GbE PCI Express family of
  48. adapters.
  49. More specific information on configuring the driver is in
  50. <file:Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst>.
  51. To compile this driver as a module, choose M here. The module
  52. will be called txgbe.
  53. endif # NET_VENDOR_WANGXUN