13ce7547eSJiawen Wu# SPDX-License-Identifier: GPL-2.0-only
23ce7547eSJiawen Wu#
33ce7547eSJiawen Wu# Wangxun network device configuration
43ce7547eSJiawen Wu#
53ce7547eSJiawen Wu
63ce7547eSJiawen Wuconfig NET_VENDOR_WANGXUN
73ce7547eSJiawen Wu	bool "Wangxun devices"
83ce7547eSJiawen Wu	default y
93ce7547eSJiawen Wu	help
10049d5d98SJakub Kicinski	  If you have a network (Ethernet) card from Wangxun(R), say Y.
113ce7547eSJiawen Wu
123ce7547eSJiawen Wu	  Note that the answer to this question doesn't directly affect the
133ce7547eSJiawen Wu	  kernel: saying N will just cause the configurator to skip all
14049d5d98SJakub Kicinski	  the questions about Wangxun(R) cards. If you say Y, you will
15049d5d98SJakub Kicinski	  be asked for your specific card in the following questions.
163ce7547eSJiawen Wu
173ce7547eSJiawen Wuif NET_VENDOR_WANGXUN
183ce7547eSJiawen Wu
19a34b3e6eSJiawen Wuconfig LIBWX
20a34b3e6eSJiawen Wu	tristate
21850b9711SJiawen Wu	select PAGE_POOL
22a34b3e6eSJiawen Wu	help
23a34b3e6eSJiawen Wu	Common library for Wangxun(R) Ethernet drivers.
24a34b3e6eSJiawen Wu
25e79e40c8SMengyuan Louconfig NGBE
26e79e40c8SMengyuan Lou	tristate "Wangxun(R) GbE PCI Express adapters support"
27e79e40c8SMengyuan Lou	depends on PCI
2802338c48SMengyuan Lou	select LIBWX
29a1cf597bSMengyuan Lou	select PHYLIB
30e79e40c8SMengyuan Lou	help
31e79e40c8SMengyuan Lou	  This driver supports Wangxun(R) GbE PCI Express family of
32e79e40c8SMengyuan Lou	  adapters.
33e79e40c8SMengyuan Lou
34e79e40c8SMengyuan Lou	  More specific information on configuring the driver is in
35e79e40c8SMengyuan Lou	  <file:Documentation/networking/device_drivers/ethernet/wangxun/ngbe.rst>.
36e79e40c8SMengyuan Lou
37e79e40c8SMengyuan Lou	  To compile this driver as a module, choose M here. The module
38e79e40c8SMengyuan Lou	  will be called ngbe.
39e79e40c8SMengyuan Lou
403ce7547eSJiawen Wuconfig TXGBE
413ce7547eSJiawen Wu	tristate "Wangxun(R) 10GbE PCI Express adapters support"
423ce7547eSJiawen Wu	depends on PCI
43b63f2048SJiawen Wu	depends on COMMON_CLK
44*02b2a6f9SJiawen Wu	select MARVELL_10G_PHY
45c625e725SJiawen Wu	select REGMAP
46c625e725SJiawen Wu	select I2C
47c625e725SJiawen Wu	select I2C_DESIGNWARE_PLATFORM
4804d94236SJiawen Wu	select PHYLINK
4904d94236SJiawen Wu	select HWMON if TXGBE=y
5004d94236SJiawen Wu	select SFP
51b83c3731SJiawen Wu	select GPIOLIB
52b83c3731SJiawen Wu	select GPIOLIB_IRQCHIP
53854cace6SJiawen Wu	select PCS_XPCS
54a34b3e6eSJiawen Wu	select LIBWX
553ce7547eSJiawen Wu	help
563ce7547eSJiawen Wu	  This driver supports Wangxun(R) 10GbE PCI Express family of
573ce7547eSJiawen Wu	  adapters.
583ce7547eSJiawen Wu
593ce7547eSJiawen Wu	  More specific information on configuring the driver is in
603ce7547eSJiawen Wu	  <file:Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst>.
613ce7547eSJiawen Wu
623ce7547eSJiawen Wu	  To compile this driver as a module, choose M here. The module
633ce7547eSJiawen Wu	  will be called txgbe.
643ce7547eSJiawen Wu
653ce7547eSJiawen Wuendif # NET_VENDOR_WANGXUN
66