summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/net/ethernet/mellanox/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/net/ethernet/mellanox/Kconfig')
-rw-r--r--kernel/drivers/net/ethernet/mellanox/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/kernel/drivers/net/ethernet/mellanox/Kconfig b/kernel/drivers/net/ethernet/mellanox/Kconfig
new file mode 100644
index 000000000..8cf7563a8
--- /dev/null
+++ b/kernel/drivers/net/ethernet/mellanox/Kconfig
@@ -0,0 +1,24 @@
+#
+# Mellanox driver configuration
+#
+
+config NET_VENDOR_MELLANOX
+ bool "Mellanox devices"
+ default y
+ depends on PCI
+ ---help---
+ If you have a network (Ethernet) card belonging to this class, say Y
+ and read the Ethernet-HOWTO, available from
+ <http://www.tldp.org/docs.html#howto>.
+
+ Note that the answer to this question doesn't directly affect the
+ kernel: saying N will just cause the configurator to skip all
+ the questions about Mellanox cards. If you say Y, you will be asked
+ for your specific card in the following questions.
+
+if NET_VENDOR_MELLANOX
+
+source "drivers/net/ethernet/mellanox/mlx4/Kconfig"
+source "drivers/net/ethernet/mellanox/mlx5/core/Kconfig"
+
+endif # NET_VENDOR_MELLANOX