summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/stmicro/Kconfig')
-rw-r--r--drivers/net/ethernet/stmicro/Kconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/Kconfig b/drivers/net/ethernet/stmicro/Kconfig
new file mode 100644
index 0000000000..cc136b4c9a
--- /dev/null
+++ b/drivers/net/ethernet/stmicro/Kconfig
@@ -0,0 +1,23 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# STMicroelectronics device configuration
+#
+
+config NET_VENDOR_STMICRO
+ bool "STMicroelectronics devices"
+ default y
+ depends on HAS_IOMEM
+ help
+ If you have a network (Ethernet) card based on Synopsys Ethernet IP
+ Cores, say Y.
+
+ 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 STMicroelectronics cards. If you say Y, you will
+ be asked for your specific card in the following questions.
+
+if NET_VENDOR_STMICRO
+
+source "drivers/net/ethernet/stmicro/stmmac/Kconfig"
+
+endif # NET_VENDOR_STMICRO