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