1#
2# Mellanox switch drivers configuration
3#
4
5config MLXSW_CORE
6	tristate "Mellanox Technologies Switch ASICs support"
7	---help---
8	  This driver supports Mellanox Technologies Switch ASICs family.
9
10	  To compile this driver as a module, choose M here: the
11	  module will be called mlxsw_core.
12
13config MLXSW_CORE_HWMON
14	bool "HWMON support for Mellanox Technologies Switch ASICs"
15	depends on MLXSW_CORE && HWMON
16	depends on !(MLXSW_CORE=y && HWMON=m)
17	default y
18	---help---
19	  Say Y here if you want to expose HWMON interface on mlxsw devices.
20
21config MLXSW_PCI
22	tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
23	depends on PCI && HAS_DMA && HAS_IOMEM && MLXSW_CORE
24	default m
25	---help---
26	  This is PCI bus implementation for Mellanox Technologies Switch ASICs.
27
28	  To compile this driver as a module, choose M here: the
29	  module will be called mlxsw_pci.
30
31config MLXSW_SWITCHX2
32	tristate "Mellanox Technologies SwitchX-2 support"
33	depends on MLXSW_CORE && NET_SWITCHDEV
34	default m
35	---help---
36	  This driver supports Mellanox Technologies SwitchX-2 Ethernet
37	  Switch ASICs.
38
39	  To compile this driver as a module, choose M here: the
40	  module will be called mlxsw_switchx2.
41
42config MLXSW_SPECTRUM
43	tristate "Mellanox Technologies Spectrum support"
44	depends on MLXSW_CORE && NET_SWITCHDEV && VLAN_8021Q
45	default m
46	---help---
47	  This driver supports Mellanox Technologies Spectrum Ethernet
48	  Switch ASICs.
49
50	  To compile this driver as a module, choose M here: the
51	  module will be called mlxsw_spectrum.
52