blob: 9649238eef404095a89d34a006dc0b504bc47038 [file] [log] [blame]
Ben Hutchingsb3422a32012-11-26 09:16:10 +00001config HAVE_NET_DSA
2 def_bool y
Vivien Didelot3a89eaa2017-01-09 16:49:26 -05003 depends on INET && NETDEVICES && !S390
Ben Hutchingsb3422a32012-11-26 09:16:10 +00004
5# Drivers must select NET_DSA and the appropriate tagging format
6
Ben Hutchings3b1588592011-11-27 17:08:33 +00007config NET_DSA
Mathieu Olivaric6f15072015-03-20 18:31:03 -07008 tristate "Distributed Switch Architecture"
Vivien Didelot3a89eaa2017-01-09 16:49:26 -05009 depends on HAVE_NET_DSA
10 select NET_SWITCHDEV
David S. Miller45cec1b2008-10-08 17:33:01 -070011 select PHYLIB
Mathieu Olivaric6f15072015-03-20 18:31:03 -070012 ---help---
13 Say Y if you want to enable support for the hardware switches supported
14 by the Distributed Switch Architecture.
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000015
Ben Hutchingsb3422a32012-11-26 09:16:10 +000016if NET_DSA
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000017
18# tagging formats
Florian Fainelli5037d532014-08-27 17:04:55 -070019config NET_DSA_TAG_BRCM
20 bool
21
Lennert Buytenhekcf85d082008-10-07 13:45:02 +000022config NET_DSA_TAG_DSA
Ben Hutchingsb3422a32012-11-26 09:16:10 +000023 bool
Lennert Buytenhekcf85d082008-10-07 13:45:02 +000024
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000025config NET_DSA_TAG_EDSA
Ben Hutchingsb3422a32012-11-26 09:16:10 +000026 bool
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000027
Lennert Buytenhek396138f2008-10-07 13:46:07 +000028config NET_DSA_TAG_TRAILER
Ben Hutchingsb3422a32012-11-26 09:16:10 +000029 bool
30
John Crispincafdc452016-09-15 16:26:40 +020031config NET_DSA_TAG_QCA
32 bool
33
Ben Hutchingsb3422a32012-11-26 09:16:10 +000034endif