brintos

brintos / linux-shallow public Read only

0
0
Text · 2.7 KiB · 74f7e27 Raw
94 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# Mellanox switch drivers configuration4#5 6config MLXSW_CORE7	tristate "Mellanox Technologies Switch ASICs support"8	select NET_DEVLINK9	select MLXFW10	select AUXILIARY_BUS11	help12	  This driver supports Mellanox Technologies Switch ASICs family.13 14	  To compile this driver as a module, choose M here: the15	  module will be called mlxsw_core.16 17config MLXSW_CORE_HWMON18	bool "HWMON support for Mellanox Technologies Switch ASICs"19	depends on MLXSW_CORE && HWMON20	depends on !(MLXSW_CORE=y && HWMON=m)21	default y22	help23	  Say Y here if you want to expose HWMON interface on mlxsw devices.24 25config MLXSW_CORE_THERMAL26	bool "Thermal zone support for Mellanox Technologies Switch ASICs"27	depends on MLXSW_CORE && THERMAL28	default y29	help30	 Say Y here if you want to automatically control fans speed according31	 ambient temperature reported by ASIC.32 33config MLXSW_PCI34	tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"35	depends on PCI && HAS_IOMEM && MLXSW_CORE36	select PAGE_POOL37	default m38	help39	  This is PCI bus implementation for Mellanox Technologies Switch ASICs.40 41	  To compile this driver as a module, choose M here: the42	  module will be called mlxsw_pci.43 44config MLXSW_I2C45	tristate "I2C bus implementation for Mellanox Technologies Switch ASICs"46	depends on I2C && MLXSW_CORE47	default m48	help49	  This is I2C bus implementation for Mellanox Technologies Switch ASICs.50 51	  To compile this driver as a module, choose M here: the52	  module will be called mlxsw_i2c.53 54config MLXSW_SPECTRUM55	tristate "Mellanox Technologies Spectrum family support"56	depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV && VLAN_8021Q57	depends on PSAMPLE || PSAMPLE=n58	depends on BRIDGE || BRIDGE=n59	depends on IPV6 || IPV6=n60	depends on NET_IPGRE || NET_IPGRE=n61	depends on IPV6_GRE || IPV6_GRE=n62	depends on VXLAN || VXLAN=n63	depends on PTP_1588_CLOCK_OPTIONAL64	select GENERIC_ALLOCATOR65	select PARMAN66	select OBJAGG67	select NET_PTP_CLASSIFY if PTP_1588_CLOCK68	default m69	help70	  This driver supports Mellanox Technologies71	  Spectrum/Spectrum-2/Spectrum-3/Spectrum-4 Ethernet Switch ASICs.72 73	  To compile this driver as a module, choose M here: the74	  module will be called mlxsw_spectrum.75 76config MLXSW_SPECTRUM_DCB77	bool "Data Center Bridging (DCB) support"78	depends on MLXSW_SPECTRUM && DCB79	default y80	help81	  Say Y here if you want to use Data Center Bridging (DCB) in the82	  driver.83 84config MLXSW_MINIMAL85	tristate "Mellanox Technologies minimal I2C support"86	depends on MLXSW_CORE && MLXSW_I2C87	default m88	help89	  This driver supports I2C access for Mellanox Technologies Switch90	  ASICs.91 92	  To compile this driver as a module, choose M here: the93	  module will be called mlxsw_minimal.94