xref: /linux/drivers/net/ethernet/wangxun/Kconfig (revision a339dd699a7aa01bce4b38c8d81def310cf2bca0)
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	select LIBWX
72	select PHYLINK
73	help
74	  This driver supports virtual functions for SP1000A, WX1820AL,
75	  WX5XXX, WX5XXXAL.
76
77	  This driver was formerly named txgbevf.
78
79	  More specific information on configuring the driver is in
80	  <file:Documentation/networking/device_drivers/ethernet/wangxun/txgbevf.rst>.
81
82	  To compile this driver as a module, choose M here. MSI-X interrupt
83	  support is required for this driver to work correctly.
84
85config NGBEVF
86	tristate "Wangxun(R) GbE Virtual Function Ethernet support"
87	depends on PCI_MSI
88	select LIBWX
89	help
90	  This driver supports virtual functions for WX1860, WX1860AL.
91
92	  This driver was formerly named ngbevf.
93
94	  More specific information on configuring the driver is in
95	  <file:Documentation/networking/device_drivers/ethernet/wangxun/ngbevf.rst>.
96
97	  To compile this driver as a module, choose M here. MSI-X interrupt
98	  support is required for this driver to work correctly.
99
100endif # NET_VENDOR_WANGXUN
101