aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa
diff options
context:
space:
mode:
Diffstat (limited to 'net/dsa')
-rw-r--r--net/dsa/Kconfig30
1 files changed, 13 insertions, 17 deletions
diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig
index 0f5dc344ed92..f5eede1d6cb8 100644
--- a/net/dsa/Kconfig
+++ b/net/dsa/Kconfig
@@ -1,28 +1,24 @@
1config HAVE_NET_DSA
2 def_bool y
3 depends on NETDEVICES && !S390
4
5# Drivers must select NET_DSA and the appropriate tagging format
6
1config NET_DSA 7config NET_DSA
2 tristate 8 tristate
3 default n 9 depends on HAVE_NET_DSA
4 depends on EXPERIMENTAL && NETDEVICES && !S390
5 select PHYLIB 10 select PHYLIB
6 ---help---
7 This allows you to use hardware switch chips that use
8 the Distributed Switch Architecture.
9 11
10 12if NET_DSA
11menu "Distributed Switch Architecture support"
12 13
13# tagging formats 14# tagging formats
14config NET_DSA_TAG_DSA 15config NET_DSA_TAG_DSA
15 bool "Original DSA packet tagging format" 16 bool
16 select NET_DSA
17 default n
18 17
19config NET_DSA_TAG_EDSA 18config NET_DSA_TAG_EDSA
20 bool "Ethertype DSA packet tagging format" 19 bool
21 select NET_DSA
22 default n
23 20
24config NET_DSA_TAG_TRAILER 21config NET_DSA_TAG_TRAILER
25 bool "Trailer DSA packet tagging format" 22 bool
26 select NET_DSA 23
27 default n 24endif
28endmenu