xref: /linux/drivers/net/ethernet/mellanox/Kconfig (revision b9d7eb6a31be296ca0af95641a23c4c758703c0a)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Mellanox driver configuration
4#
5
6config NET_VENDOR_MELLANOX
7	bool "Mellanox devices"
8	default y
9	depends on PCI || I2C
10	help
11	  If you have a network (Ethernet or RDMA) device belonging to this
12	  class, say Y.
13
14	  Note that the answer to this question doesn't directly affect the
15	  kernel: saying N will just cause the configurator to skip all
16	  the questions about Mellanox cards. If you say Y, you will be asked
17	  for your specific card in the following questions.
18
19if NET_VENDOR_MELLANOX
20
21source "drivers/net/ethernet/mellanox/mlx4/Kconfig"
22source "drivers/net/ethernet/mellanox/mlx5/core/Kconfig"
23source "drivers/net/ethernet/mellanox/mlxsw/Kconfig"
24source "drivers/net/ethernet/mellanox/mlxfw/Kconfig"
25source "drivers/net/ethernet/mellanox/mlxbf_gige/Kconfig"
26
27endif # NET_VENDOR_MELLANOX
28