162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Wangxun network device configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig NET_VENDOR_WANGXUN
762306a36Sopenharmony_ci	bool "Wangxun devices"
862306a36Sopenharmony_ci	default y
962306a36Sopenharmony_ci	help
1062306a36Sopenharmony_ci	  If you have a network (Ethernet) card from Wangxun(R), say Y.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci	  Note that the answer to this question doesn't directly affect the
1362306a36Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all
1462306a36Sopenharmony_ci	  the questions about Wangxun(R) cards. If you say Y, you will
1562306a36Sopenharmony_ci	  be asked for your specific card in the following questions.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciif NET_VENDOR_WANGXUN
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig LIBWX
2062306a36Sopenharmony_ci	tristate
2162306a36Sopenharmony_ci	select PAGE_POOL
2262306a36Sopenharmony_ci	help
2362306a36Sopenharmony_ci	Common library for Wangxun(R) Ethernet drivers.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciconfig NGBE
2662306a36Sopenharmony_ci	tristate "Wangxun(R) GbE PCI Express adapters support"
2762306a36Sopenharmony_ci	depends on PCI
2862306a36Sopenharmony_ci	select LIBWX
2962306a36Sopenharmony_ci	select PHYLIB
3062306a36Sopenharmony_ci	help
3162306a36Sopenharmony_ci	  This driver supports Wangxun(R) GbE PCI Express family of
3262306a36Sopenharmony_ci	  adapters.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci	  More specific information on configuring the driver is in
3562306a36Sopenharmony_ci	  <file:Documentation/networking/device_drivers/ethernet/wangxun/ngbe.rst>.
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ci	  To compile this driver as a module, choose M here. The module
3862306a36Sopenharmony_ci	  will be called ngbe.
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ciconfig TXGBE
4162306a36Sopenharmony_ci	tristate "Wangxun(R) 10GbE PCI Express adapters support"
4262306a36Sopenharmony_ci	depends on PCI
4362306a36Sopenharmony_ci	depends on COMMON_CLK
4462306a36Sopenharmony_ci	select MARVELL_10G_PHY
4562306a36Sopenharmony_ci	select REGMAP
4662306a36Sopenharmony_ci	select I2C
4762306a36Sopenharmony_ci	select I2C_DESIGNWARE_PLATFORM
4862306a36Sopenharmony_ci	select PHYLINK
4962306a36Sopenharmony_ci	select HWMON if TXGBE=y
5062306a36Sopenharmony_ci	select SFP
5162306a36Sopenharmony_ci	select GPIOLIB
5262306a36Sopenharmony_ci	select GPIOLIB_IRQCHIP
5362306a36Sopenharmony_ci	select PCS_XPCS
5462306a36Sopenharmony_ci	select LIBWX
5562306a36Sopenharmony_ci	help
5662306a36Sopenharmony_ci	  This driver supports Wangxun(R) 10GbE PCI Express family of
5762306a36Sopenharmony_ci	  adapters.
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ci	  More specific information on configuring the driver is in
6062306a36Sopenharmony_ci	  <file:Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst>.
6162306a36Sopenharmony_ci
6262306a36Sopenharmony_ci	  To compile this driver as a module, choose M here. The module
6362306a36Sopenharmony_ci	  will be called txgbe.
6462306a36Sopenharmony_ci
6562306a36Sopenharmony_ciendif # NET_VENDOR_WANGXUN
66