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	select PAGE_POOL
22	help
23	Common library for Wangxun(R) Ethernet drivers.
24
25config NGBE
26	tristate "Wangxun(R) GbE PCI Express adapters support"
27	depends on PCI
28	select LIBWX
29	select PHYLINK
30	help
31	  This driver supports Wangxun(R) GbE PCI Express family of
32	  adapters.
33
34	  More specific information on configuring the driver is in
35	  <file:Documentation/networking/device_drivers/ethernet/wangxun/ngbe.rst>.
36
37	  To compile this driver as a module, choose M here. The module
38	  will be called ngbe.
39
40config TXGBE
41	tristate "Wangxun(R) 10GbE PCI Express adapters support"
42	depends on PCI
43	depends on COMMON_CLK
44	select MARVELL_10G_PHY
45	select REGMAP
46	select I2C
47	select I2C_DESIGNWARE_PLATFORM
48	select PHYLINK
49	select HWMON if TXGBE=y
50	select SFP
51	select GPIOLIB
52	select GPIOLIB_IRQCHIP
53	select PCS_XPCS
54	select LIBWX
55	help
56	  This driver supports Wangxun(R) 10GbE PCI Express family of
57	  adapters.
58
59	  More specific information on configuring the driver is in
60	  <file:Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst>.
61
62	  To compile this driver as a module, choose M here. The module
63	  will be called txgbe.
64
65endif # NET_VENDOR_WANGXUN
66