]> Pileus Git - ~andy/linux/blobdiff - net/dsa/Kconfig
net: dsa/slave: Fix compilation warnings
[~andy/linux] / net / dsa / Kconfig
index 274791cd7a35df1274e9120d199af84ea9f60dd0..0f5dc344ed92e1d679ac4a414713582528642eb9 100644 (file)
@@ -1,5 +1,5 @@
 config NET_DSA
-       tristate "Distributed Switch Architecture support"
+       tristate
        default n
        depends on EXPERIMENTAL && NETDEVICES && !S390
        select PHYLIB
@@ -8,19 +8,21 @@ config NET_DSA
          the Distributed Switch Architecture.
 
 
-if NET_DSA
+menu "Distributed Switch Architecture support"
 
 # tagging formats
 config NET_DSA_TAG_DSA
-       bool
+       bool "Original DSA packet tagging format"
+       select NET_DSA
        default n
 
 config NET_DSA_TAG_EDSA
-       bool
+       bool "Ethertype DSA packet tagging format"
+       select NET_DSA
        default n
 
 config NET_DSA_TAG_TRAILER
-       bool
+       bool "Trailer DSA packet tagging format"
+       select NET_DSA
        default n
-
-endif
+endmenu