blob: 91e52973ee135573fc3230b7d85ac5741a9af342 [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"
Tobias Regnery768bfa22017-03-31 11:44:52 +02009 depends on HAVE_NET_DSA && MAY_USE_DEVLINK
Andrew Lunnee0ab7a22017-11-11 16:29:41 +010010 depends on BRIDGE || BRIDGE=n
Vivien Didelot3a89eaa2017-01-09 16:49:26 -050011 select NET_SWITCHDEV
Florian Fainelli11d8f3d2018-05-10 13:17:32 -070012 select PHYLINK
Mathieu Olivaric6f15072015-03-20 18:31:03 -070013 ---help---
14 Say Y if you want to enable support for the hardware switches supported
15 by the Distributed Switch Architecture.
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000016
Ben Hutchingsb3422a32012-11-26 09:16:10 +000017if NET_DSA
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000018
Florian Fainelli2a93c1a2017-12-06 15:03:33 -080019config NET_DSA_LEGACY
20 bool "Support for older platform device and Device Tree registration"
21 default y
22 ---help---
23 Say Y if you want to enable support for the older platform device and
24 deprecated Device Tree binding registration.
25
26 This feature is scheduled for removal in 4.17.
27
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000028# tagging formats
Florian Fainelli5037d532014-08-27 17:04:55 -070029config NET_DSA_TAG_BRCM
30 bool
31
Florian Fainellib74b70c2017-11-10 15:22:54 -080032config NET_DSA_TAG_BRCM_PREPEND
33 bool
34
Lennert Buytenhekcf85d082008-10-07 13:45:02 +000035config NET_DSA_TAG_DSA
Ben Hutchingsb3422a32012-11-26 09:16:10 +000036 bool
Lennert Buytenhekcf85d082008-10-07 13:45:02 +000037
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000038config NET_DSA_TAG_EDSA
Ben Hutchingsb3422a32012-11-26 09:16:10 +000039 bool
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000040
Hauke Mehrtens79691192018-09-09 22:16:43 +020041config NET_DSA_TAG_GSWIP
42 bool
43
Woojung Huh8b8010f2017-05-31 20:19:06 +000044config NET_DSA_TAG_KSZ
45 bool
46
Tristram Ha39d6b962018-12-15 01:58:04 +010047config NET_DSA_TAG_KSZ9477
48 bool
49 select NET_DSA_TAG_KSZ
50
Andrew Lunneb7b7212017-05-16 22:40:07 +020051config NET_DSA_TAG_LAN9303
John Crispincafdc452016-09-15 16:26:40 +020052 bool
53
Sean Wang5cd89852017-04-07 16:45:06 +080054config NET_DSA_TAG_MTK
55 bool
Juergen Beiserte8fe1772017-04-18 10:48:24 +020056
Andrew Lunneb7b7212017-05-16 22:40:07 +020057config NET_DSA_TAG_TRAILER
58 bool
59
60config NET_DSA_TAG_QCA
Juergen Beiserte8fe1772017-04-18 10:48:24 +020061 bool
62
Ben Hutchingsb3422a32012-11-26 09:16:10 +000063endif