xref: /linux/drivers/net/ethernet/mellanox/mlxsw/Kconfig (revision 89309da39f55922f6ca18ecd09a158c319c69d55)
193c1edb2SJiri Pirko#
293c1edb2SJiri Pirko# Mellanox switch drivers configuration
393c1edb2SJiri Pirko#
493c1edb2SJiri Pirko
593c1edb2SJiri Pirkoconfig MLXSW_CORE
693c1edb2SJiri Pirko	tristate "Mellanox Technologies Switch ASICs support"
793c1edb2SJiri Pirko	---help---
893c1edb2SJiri Pirko	  This driver supports Mellanox Technologies Switch ASICs family.
993c1edb2SJiri Pirko
1093c1edb2SJiri Pirko	  To compile this driver as a module, choose M here: the
1193c1edb2SJiri Pirko	  module will be called mlxsw_core.
12eda6500aSJiri Pirko
13*89309da3SJiri Pirkoconfig MLXSW_CORE_HWMON
14*89309da3SJiri Pirko	bool "HWMON support for Mellanox Technologies Switch ASICs"
15*89309da3SJiri Pirko	depends on MLXSW_CORE && HWMON
16*89309da3SJiri Pirko	depends on !(MLXSW_CORE=y && HWMON=m)
17*89309da3SJiri Pirko	default y
18*89309da3SJiri Pirko	---help---
19*89309da3SJiri Pirko	  Say Y here if you want to expose HWMON interface on mlxsw devices.
20*89309da3SJiri Pirko
21eda6500aSJiri Pirkoconfig MLXSW_PCI
22eda6500aSJiri Pirko	tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
2374ed207eSJiri Pirko	depends on PCI && HAS_DMA && HAS_IOMEM && MLXSW_CORE
24eda6500aSJiri Pirko	default m
25eda6500aSJiri Pirko	---help---
26eda6500aSJiri Pirko	  This is PCI bus implementation for Mellanox Technologies Switch ASICs.
27eda6500aSJiri Pirko
28eda6500aSJiri Pirko	  To compile this driver as a module, choose M here: the
29eda6500aSJiri Pirko	  module will be called mlxsw_pci.
3031557f0fSJiri Pirko
3131557f0fSJiri Pirkoconfig MLXSW_SWITCHX2
3231557f0fSJiri Pirko	tristate "Mellanox Technologies SwitchX-2 support"
3331557f0fSJiri Pirko	depends on MLXSW_CORE && NET_SWITCHDEV
3431557f0fSJiri Pirko	default m
3531557f0fSJiri Pirko	---help---
3631557f0fSJiri Pirko	  This driver supports Mellanox Technologies SwitchX-2 Ethernet
3731557f0fSJiri Pirko	  Switch ASICs.
3831557f0fSJiri Pirko
3931557f0fSJiri Pirko	  To compile this driver as a module, choose M here: the
4031557f0fSJiri Pirko	  module will be called mlxsw_switchx2.
4156ade8feSJiri Pirko
4256ade8feSJiri Pirkoconfig MLXSW_SPECTRUM
4356ade8feSJiri Pirko	tristate "Mellanox Technologies Spectrum support"
4456ade8feSJiri Pirko	depends on MLXSW_CORE && NET_SWITCHDEV
4556ade8feSJiri Pirko	default m
4656ade8feSJiri Pirko	---help---
4756ade8feSJiri Pirko	  This driver supports Mellanox Technologies Spectrum Ethernet
4856ade8feSJiri Pirko	  Switch ASICs.
4956ade8feSJiri Pirko
5056ade8feSJiri Pirko	  To compile this driver as a module, choose M here: the
5156ade8feSJiri Pirko	  module will be called mlxsw_spectrum.
52