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 70b9f9dfbSAndrew Lunnmenuconfig NET_DSA 8c6f15070SMathieu Olivari tristate "Distributed Switch Architecture" 9f4b6bcc7SJakub Kicinski depends on HAVE_NET_DSA 10ee0ab7a2SAndrew Lunn depends on BRIDGE || BRIDGE=n 113a89eaa6SVivien Didelot select NET_SWITCHDEV 1211d8f3ddSFlorian Fainelli select PHYLINK 13f6b19b35SJiri Pirko select NET_DEVLINK 14c6f15070SMathieu Olivari ---help--- 15c6f15070SMathieu Olivari Say Y if you want to enable support for the hardware switches supported 16c6f15070SMathieu Olivari by the Distributed Switch Architecture. 1791da11f8SLennert Buytenhek 18b3422a31SBen Hutchingsif NET_DSA 1991da11f8SLennert Buytenhek 202a93c1a3SFlorian Fainelliconfig NET_DSA_LEGACY 212a93c1a3SFlorian Fainelli bool "Support for older platform device and Device Tree registration" 222a93c1a3SFlorian Fainelli default y 232a93c1a3SFlorian Fainelli ---help--- 242a93c1a3SFlorian Fainelli Say Y if you want to enable support for the older platform device and 252a93c1a3SFlorian Fainelli deprecated Device Tree binding registration. 262a93c1a3SFlorian Fainelli 272a93c1a3SFlorian Fainelli This feature is scheduled for removal in 4.17. 282a93c1a3SFlorian Fainelli 290b9f9dfbSAndrew Lunnconfig NET_DSA_TAG_BRCM_COMMON 300b9f9dfbSAndrew Lunn tristate 310b9f9dfbSAndrew Lunn default n 320b9f9dfbSAndrew Lunn 335037d532SFlorian Fainelliconfig NET_DSA_TAG_BRCM 340b9f9dfbSAndrew Lunn tristate "Tag driver for Broadcom switches using in-frame headers" 350b9f9dfbSAndrew Lunn select NET_DSA_TAG_BRCM_COMMON 360b9f9dfbSAndrew Lunn help 370b9f9dfbSAndrew Lunn Say Y if you want to enable support for tagging frames for the 380b9f9dfbSAndrew Lunn Broadcom switches which place the tag after the MAC source address. 390b9f9dfbSAndrew Lunn 405037d532SFlorian Fainelli 41b74b70c4SFlorian Fainelliconfig NET_DSA_TAG_BRCM_PREPEND 420b9f9dfbSAndrew Lunn tristate "Tag driver for Broadcom switches using prepended headers" 430b9f9dfbSAndrew Lunn select NET_DSA_TAG_BRCM_COMMON 440b9f9dfbSAndrew Lunn help 450b9f9dfbSAndrew Lunn Say Y if you want to enable support for tagging frames for the 460b9f9dfbSAndrew Lunn Broadcom switches which places the tag before the Ethernet header 470b9f9dfbSAndrew Lunn (prepended). 4891da11f8SLennert Buytenhek 4979691192SHauke Mehrtensconfig NET_DSA_TAG_GSWIP 500b9f9dfbSAndrew Lunn tristate "Tag driver for Lantiq / Intel GSWIP switches" 510b9f9dfbSAndrew Lunn help 520b9f9dfbSAndrew Lunn Say Y or M if you want to enable support for tagging frames for the 530b9f9dfbSAndrew Lunn Lantiq / Intel GSWIP switches. 5479691192SHauke Mehrtens 550b9f9dfbSAndrew Lunnconfig NET_DSA_TAG_DSA 560b9f9dfbSAndrew Lunn tristate "Tag driver for Marvell switches using DSA headers" 570b9f9dfbSAndrew Lunn help 580b9f9dfbSAndrew Lunn Say Y or M if you want to enable support for tagging frames for the 590b9f9dfbSAndrew Lunn Marvell switches which use DSA headers. 608b8010fbSWoojung Huh 610b9f9dfbSAndrew Lunnconfig NET_DSA_TAG_EDSA 620b9f9dfbSAndrew Lunn tristate "Tag driver for Marvell switches using EtherType DSA headers" 630b9f9dfbSAndrew Lunn help 640b9f9dfbSAndrew Lunn Say Y or M if you want to enable support for tagging frames for the 650b9f9dfbSAndrew Lunn Marvell switches which use EtherType DSA headers. 66cafdc45cSJohn Crispin 675cd8985aSSean Wangconfig NET_DSA_TAG_MTK 680b9f9dfbSAndrew Lunn tristate "Tag driver for Mediatek switches" 690b9f9dfbSAndrew Lunn help 700b9f9dfbSAndrew Lunn Say Y or M if you want to enable support for tagging frames for 710b9f9dfbSAndrew Lunn Mediatek switches. 72e8fe177aSJuergen Beisert 730b9f9dfbSAndrew Lunnconfig NET_DSA_TAG_KSZ_COMMON 740b9f9dfbSAndrew Lunn tristate 750b9f9dfbSAndrew Lunn default n 760b9f9dfbSAndrew Lunn 770b9f9dfbSAndrew Lunnconfig NET_DSA_TAG_KSZ 780b9f9dfbSAndrew Lunn tristate "Tag driver for Microchip 9893 family of switches" 790b9f9dfbSAndrew Lunn select NET_DSA_TAG_KSZ_COMMON 800b9f9dfbSAndrew Lunn help 810b9f9dfbSAndrew Lunn Say Y if you want to enable support for tagging frames for the 820b9f9dfbSAndrew Lunn Microchip 9893 family of switches. 830b9f9dfbSAndrew Lunn 840b9f9dfbSAndrew Lunnconfig NET_DSA_TAG_KSZ9477 850b9f9dfbSAndrew Lunn tristate "Tag driver for Microchip 9477 family of switches" 860b9f9dfbSAndrew Lunn select NET_DSA_TAG_KSZ_COMMON 870b9f9dfbSAndrew Lunn help 880b9f9dfbSAndrew Lunn Say Y if you want to enable support for tagging frames for the 890b9f9dfbSAndrew Lunn Microchip 9477 family of switches. 90eb7b7211SAndrew Lunn 91eb7b7211SAndrew Lunnconfig NET_DSA_TAG_QCA 920b9f9dfbSAndrew Lunn tristate "Tag driver for Qualcomm Atheros QCA8K switches" 930b9f9dfbSAndrew Lunn help 940b9f9dfbSAndrew Lunn Say Y or M if you want to enable support for tagging frames for 950b9f9dfbSAndrew Lunn the Qualcomm Atheros QCA8K switches. 960b9f9dfbSAndrew Lunn 970b9f9dfbSAndrew Lunnconfig NET_DSA_TAG_LAN9303 980b9f9dfbSAndrew Lunn tristate "Tag driver for SMSC/Microchip LAN9303 family of switches" 990b9f9dfbSAndrew Lunn help 1000b9f9dfbSAndrew Lunn Say Y or M if you want to enable support for tagging frames for the 1010b9f9dfbSAndrew Lunn SMSC/Microchip LAN9303 family of switches. 1020b9f9dfbSAndrew Lunn 1030b9f9dfbSAndrew Lunnconfig NET_DSA_TAG_TRAILER 1040b9f9dfbSAndrew Lunn tristate "Tag driver for switches using a trailer tag" 1050b9f9dfbSAndrew Lunn help 1060b9f9dfbSAndrew Lunn Say Y or M if you want to enable support for tagging frames at 1070b9f9dfbSAndrew Lunn with a trailed. e.g. Marvell 88E6060. 108e8fe177aSJuergen Beisert 109b3422a31SBen Hutchingsendif 110