xref: /linux/drivers/net/ethernet/wangxun/Kconfig (revision 1a9239bb4253f9076b5b4b2a1a4e8d7defd77a95)
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) 10GbE 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) 10GbE 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
67endif # NET_VENDOR_WANGXUN
68