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" 93a89eaa6SVivien Didelot depends on HAVE_NET_DSA 103a89eaa6SVivien Didelot select NET_SWITCHDEV 1145cec1baSDavid S. Miller select PHYLIB 12c6f15070SMathieu Olivari ---help--- 13c6f15070SMathieu Olivari Say Y if you want to enable support for the hardware switches supported 14c6f15070SMathieu Olivari by the Distributed Switch Architecture. 1591da11f8SLennert Buytenhek 16b3422a31SBen Hutchingsif NET_DSA 1791da11f8SLennert Buytenhek 1851579c3fSGuenter Roeckconfig NET_DSA_HWMON 1951579c3fSGuenter Roeck bool "Distributed Switch Architecture HWMON support" 2051579c3fSGuenter Roeck default y 2151579c3fSGuenter Roeck depends on HWMON && !(NET_DSA=y && HWMON=m) 2251579c3fSGuenter Roeck ---help--- 2351579c3fSGuenter Roeck Say Y if you want to expose thermal sensor data on switches supported 2451579c3fSGuenter Roeck by the Distributed Switch Architecture. 2551579c3fSGuenter Roeck 2651579c3fSGuenter Roeck Some of those switches contain thermal sensors. This data is available 2751579c3fSGuenter Roeck via the hwmon sysfs interface and exposes the onboard sensors. 2851579c3fSGuenter Roeck 2991da11f8SLennert Buytenhek# tagging formats 305037d532SFlorian Fainelliconfig NET_DSA_TAG_BRCM 315037d532SFlorian Fainelli bool 325037d532SFlorian Fainelli 33cf85d08fSLennert Buytenhekconfig NET_DSA_TAG_DSA 34b3422a31SBen Hutchings bool 35cf85d08fSLennert Buytenhek 3691da11f8SLennert Buytenhekconfig NET_DSA_TAG_EDSA 37b3422a31SBen Hutchings bool 3891da11f8SLennert Buytenhek 39396138f0SLennert Buytenhekconfig NET_DSA_TAG_TRAILER 40b3422a31SBen Hutchings bool 41b3422a31SBen Hutchings 42cafdc45cSJohn Crispinconfig NET_DSA_TAG_QCA 43cafdc45cSJohn Crispin bool 44cafdc45cSJohn Crispin 45b3422a31SBen Hutchingsendif 46