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"
25
26endif # NET_VENDOR_MELLANOX
27