xref: /openbmc/linux/drivers/net/ethernet/wangxun/Kconfig (revision b83c37315a620fc8dcb5f3cffe4753765228d1f4)
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Wangxun network device configuration
4 #
5 
6 config 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 
17 if NET_VENDOR_WANGXUN
18 
19 config LIBWX
20 	tristate
21 	select PAGE_POOL
22 	help
23 	Common library for Wangxun(R) Ethernet drivers.
24 
25 config NGBE
26 	tristate "Wangxun(R) GbE PCI Express adapters support"
27 	depends on PCI
28 	select LIBWX
29 	select PHYLIB
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 
40 config TXGBE
41 	tristate "Wangxun(R) 10GbE PCI Express adapters support"
42 	depends on PCI
43 	depends on COMMON_CLK
44 	select REGMAP
45 	select I2C
46 	select I2C_DESIGNWARE_PLATFORM
47 	select PHYLINK
48 	select HWMON if TXGBE=y
49 	select SFP
50 	select GPIOLIB
51 	select GPIOLIB_IRQCHIP
52 	select LIBWX
53 	help
54 	  This driver supports Wangxun(R) 10GbE PCI Express family of
55 	  adapters.
56 
57 	  More specific information on configuring the driver is in
58 	  <file:Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst>.
59 
60 	  To compile this driver as a module, choose M here. The module
61 	  will be called txgbe.
62 
63 endif # NET_VENDOR_WANGXUN
64