xref: /linux/drivers/net/ethernet/wangxun/Kconfig (revision 870b7fdc660b38c4e1bd8bf48e62aa352ddf8f42)
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	depends on I2C_DESIGNWARE_PLATFORM
45	select MARVELL_10G_PHY
46	select REGMAP
47	select PHYLINK
48	select HWMON if TXGBE=y
49	select SFP
50	select GPIOLIB
51	select GPIOLIB_IRQCHIP
52	select PCS_XPCS
53	select LIBWX
54	help
55	  This driver supports Wangxun(R) 10GbE PCI Express family of
56	  adapters.
57
58	  More specific information on configuring the driver is in
59	  <file:Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst>.
60
61	  To compile this driver as a module, choose M here. The module
62	  will be called txgbe.
63
64endif # NET_VENDOR_WANGXUN
65