Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / drivers / net / ethernet / mellanox / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Mellanox driver configuration
4 #
5
6 config 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
19 if NET_VENDOR_MELLANOX
20
21 source "drivers/net/ethernet/mellanox/mlx4/Kconfig"
22 source "drivers/net/ethernet/mellanox/mlx5/core/Kconfig"
23 source "drivers/net/ethernet/mellanox/mlxsw/Kconfig"
24 source "drivers/net/ethernet/mellanox/mlxfw/Kconfig"
25
26 endif # NET_VENDOR_MELLANOX