1b3422a31SBen Hutchingsconfig HAVE_NET_DSA 2b3422a31SBen Hutchings def_bool y 33a89eaa6SVivien Didelot depends on INET && NETDEVICES && !S390 4b3422a31SBen Hutchings 5b3422a31SBen Hutchings# Drivers must select NET_DSA and the appropriate tagging format 6b3422a31SBen Hutchings 73b158859SBen Hutchingsconfig NET_DSA 8c6f15070SMathieu Olivari tristate "Distributed Switch Architecture" 9*f4b6bcc7SJakub Kicinski depends on HAVE_NET_DSA 10ee0ab7a2SAndrew Lunn depends on BRIDGE || BRIDGE=n 113a89eaa6SVivien Didelot select NET_SWITCHDEV 1211d8f3ddSFlorian Fainelli select PHYLINK 13c6f15070SMathieu Olivari ---help--- 14c6f15070SMathieu Olivari Say Y if you want to enable support for the hardware switches supported 15c6f15070SMathieu Olivari by the Distributed Switch Architecture. 1691da11f8SLennert Buytenhek 17b3422a31SBen Hutchingsif NET_DSA 1891da11f8SLennert Buytenhek 192a93c1a3SFlorian Fainelliconfig NET_DSA_LEGACY 202a93c1a3SFlorian Fainelli bool "Support for older platform device and Device Tree registration" 212a93c1a3SFlorian Fainelli default y 222a93c1a3SFlorian Fainelli ---help--- 232a93c1a3SFlorian Fainelli Say Y if you want to enable support for the older platform device and 242a93c1a3SFlorian Fainelli deprecated Device Tree binding registration. 252a93c1a3SFlorian Fainelli 262a93c1a3SFlorian Fainelli This feature is scheduled for removal in 4.17. 272a93c1a3SFlorian Fainelli 2891da11f8SLennert Buytenhek# tagging formats 295037d532SFlorian Fainelliconfig NET_DSA_TAG_BRCM 305037d532SFlorian Fainelli bool 315037d532SFlorian Fainelli 32b74b70c4SFlorian Fainelliconfig NET_DSA_TAG_BRCM_PREPEND 33b74b70c4SFlorian Fainelli bool 34b74b70c4SFlorian Fainelli 35cf85d08fSLennert Buytenhekconfig NET_DSA_TAG_DSA 36b3422a31SBen Hutchings bool 37cf85d08fSLennert Buytenhek 3891da11f8SLennert Buytenhekconfig NET_DSA_TAG_EDSA 39b3422a31SBen Hutchings bool 4091da11f8SLennert Buytenhek 4179691192SHauke Mehrtensconfig NET_DSA_TAG_GSWIP 4279691192SHauke Mehrtens bool 4379691192SHauke Mehrtens 448b8010fbSWoojung Huhconfig NET_DSA_TAG_KSZ 458b8010fbSWoojung Huh bool 468b8010fbSWoojung Huh 4739d6b96fSTristram Haconfig NET_DSA_TAG_KSZ9477 4839d6b96fSTristram Ha bool 4939d6b96fSTristram Ha select NET_DSA_TAG_KSZ 5039d6b96fSTristram Ha 51eb7b7211SAndrew Lunnconfig NET_DSA_TAG_LAN9303 52cafdc45cSJohn Crispin bool 53cafdc45cSJohn Crispin 545cd8985aSSean Wangconfig NET_DSA_TAG_MTK 555cd8985aSSean Wang bool 56e8fe177aSJuergen Beisert 57eb7b7211SAndrew Lunnconfig NET_DSA_TAG_TRAILER 58eb7b7211SAndrew Lunn bool 59eb7b7211SAndrew Lunn 60eb7b7211SAndrew Lunnconfig NET_DSA_TAG_QCA 61e8fe177aSJuergen Beisert bool 62e8fe177aSJuergen Beisert 63b3422a31SBen Hutchingsendif 64