blob: cc5f8f971689b9fd9947adbdaaf9a92b7b3f3944 [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 Hutchings3b158852011-11-27 17:08:33 +00007config NET_DSA
Mathieu Olivaric6f15072015-03-20 18:31:03 -07008 tristate "Distributed Switch Architecture"
Tobias Regnery768bfa22017-03-31 11:44:52 +02009 depends on HAVE_NET_DSA && MAY_USE_DEVLINK
Vivien Didelot3a89eaa2017-01-09 16:49:26 -050010 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
Woojung Huh8b8010f2017-05-31 20:19:06 +000028config NET_DSA_TAG_KSZ
29 bool
30
Andrew Lunneb7b7212017-05-16 22:40:07 +020031config NET_DSA_TAG_LAN9303
John Crispincafdc452016-09-15 16:26:40 +020032 bool
33
Sean Wang5cd89852017-04-07 16:45:06 +080034config NET_DSA_TAG_MTK
35 bool
Juergen Beiserte8fe1772017-04-18 10:48:24 +020036
Andrew Lunneb7b7212017-05-16 22:40:07 +020037config NET_DSA_TAG_TRAILER
38 bool
39
40config NET_DSA_TAG_QCA
Juergen Beiserte8fe1772017-04-18 10:48:24 +020041 bool
42
Ben Hutchingsb3422a32012-11-26 09:16:10 +000043endif