1b3422a31SBen Hutchingsconfig HAVE_NET_DSA 2b3422a31SBen Hutchings def_bool y 3b3422a31SBen Hutchings depends on 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" 9bd76a116SJiri Pirko depends on HAVE_NET_DSA && NET_SWITCHDEV 1045cec1baSDavid S. Miller select PHYLIB 11c6f15070SMathieu Olivari ---help--- 12c6f15070SMathieu Olivari Say Y if you want to enable support for the hardware switches supported 13c6f15070SMathieu Olivari by the Distributed Switch Architecture. 1491da11f8SLennert Buytenhek 15b3422a31SBen Hutchingsif NET_DSA 1691da11f8SLennert Buytenhek 1751579c3fSGuenter Roeckconfig NET_DSA_HWMON 1851579c3fSGuenter Roeck bool "Distributed Switch Architecture HWMON support" 1951579c3fSGuenter Roeck default y 2051579c3fSGuenter Roeck depends on HWMON && !(NET_DSA=y && HWMON=m) 2151579c3fSGuenter Roeck ---help--- 2251579c3fSGuenter Roeck Say Y if you want to expose thermal sensor data on switches supported 2351579c3fSGuenter Roeck by the Distributed Switch Architecture. 2451579c3fSGuenter Roeck 2551579c3fSGuenter Roeck Some of those switches contain thermal sensors. This data is available 2651579c3fSGuenter Roeck via the hwmon sysfs interface and exposes the onboard sensors. 2751579c3fSGuenter Roeck 2891da11f8SLennert Buytenhek# tagging formats 295037d532SFlorian Fainelliconfig NET_DSA_TAG_BRCM 305037d532SFlorian Fainelli bool 315037d532SFlorian Fainelli 32cf85d08fSLennert Buytenhekconfig NET_DSA_TAG_DSA 33b3422a31SBen Hutchings bool 34cf85d08fSLennert Buytenhek 3591da11f8SLennert Buytenhekconfig NET_DSA_TAG_EDSA 36b3422a31SBen Hutchings bool 3791da11f8SLennert Buytenhek 38396138f0SLennert Buytenhekconfig NET_DSA_TAG_TRAILER 39b3422a31SBen Hutchings bool 40b3422a31SBen Hutchings 41cafdc45cSJohn Crispinconfig NET_DSA_TAG_QCA 42cafdc45cSJohn Crispin bool 43cafdc45cSJohn Crispin 44b3422a31SBen Hutchingsendif 45