aboutsummaryrefslogtreecommitdiff
path: root/net/dsa/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'net/dsa/Kconfig')
-rw-r--r--net/dsa/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig
new file mode 100644
index 00000000000..f5eede1d6cb
--- /dev/null
+++ b/net/dsa/Kconfig
@@ -0,0 +1,24 @@
+config HAVE_NET_DSA
+ def_bool y
+ depends on NETDEVICES && !S390
+
+# Drivers must select NET_DSA and the appropriate tagging format
+
+config NET_DSA
+ tristate
+ depends on HAVE_NET_DSA
+ select PHYLIB
+
+if NET_DSA
+
+# tagging formats
+config NET_DSA_TAG_DSA
+ bool
+
+config NET_DSA_TAG_EDSA
+ bool
+
+config NET_DSA_TAG_TRAILER
+ bool
+
+endif