xref: /linux/drivers/net/ethernet/wangxun/Kconfig (revision 8be4d31cb8aaeea27bde4b7ddb26e28a89062ebf)
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	depends on PTP_1588_CLOCK_OPTIONAL
22	select PAGE_POOL
23	help
24	Common library for Wangxun(R) Ethernet drivers.
25
26config NGBE
27	tristate "Wangxun(R) GbE PCI Express adapters support"
28	depends on PCI
29	depends on PTP_1588_CLOCK_OPTIONAL
30	select LIBWX
31	select PHYLINK
32	help
33	  This driver supports Wangxun(R) GbE PCI Express family of
34	  adapters.
35
36	  More specific information on configuring the driver is in
37	  <file:Documentation/networking/device_drivers/ethernet/wangxun/ngbe.rst>.
38
39	  To compile this driver as a module, choose M here. The module
40	  will be called ngbe.
41
42config TXGBE
43	tristate "Wangxun(R) 10/25/40GbE PCI Express adapters support"
44	depends on PCI
45	depends on COMMON_CLK
46	depends on I2C_DESIGNWARE_PLATFORM
47	depends on PTP_1588_CLOCK_OPTIONAL
48	select MARVELL_10G_PHY
49	select REGMAP
50	select PHYLINK
51	select HWMON if TXGBE=y
52	select SFP
53	select GPIOLIB
54	select GPIOLIB_IRQCHIP
55	select PCS_XPCS
56	select LIBWX
57	help
58	  This driver supports Wangxun(R) 10/25/40GbE PCI Express family of
59	  adapters.
60
61	  More specific information on configuring the driver is in
62	  <file:Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst>.
63
64	  To compile this driver as a module, choose M here. The module
65	  will be called txgbe.
66
67config TXGBEVF
68	tristate "Wangxun(R) 10/25/40G Virtual Function Ethernet support"
69	depends on PCI
70	depends on PCI_MSI
71	depends on PTP_1588_CLOCK_OPTIONAL
72	select LIBWX
73	select PHYLINK
74	help
75	  This driver supports virtual functions for SP1000A, WX1820AL,
76	  WX5XXX, WX5XXXAL.
77
78	  This driver was formerly named txgbevf.
79
80	  More specific information on configuring the driver is in
81	  <file:Documentation/networking/device_drivers/ethernet/wangxun/txgbevf.rst>.
82
83	  To compile this driver as a module, choose M here. MSI-X interrupt
84	  support is required for this driver to work correctly.
85
86config NGBEVF
87	tristate "Wangxun(R) GbE Virtual Function Ethernet support"
88	depends on PCI_MSI
89	depends on PTP_1588_CLOCK_OPTIONAL
90	select LIBWX
91	help
92	  This driver supports virtual functions for WX1860, WX1860AL.
93
94	  This driver was formerly named ngbevf.
95
96	  More specific information on configuring the driver is in
97	  <file:Documentation/networking/device_drivers/ethernet/wangxun/ngbevf.rst>.
98
99	  To compile this driver as a module, choose M here. MSI-X interrupt
100	  support is required for this driver to work correctly.
101
102endif # NET_VENDOR_WANGXUN
103