1config HAVE_NET_DSA 2 def_bool y 3 depends on INET && NETDEVICES && !S390 4 5# Drivers must select NET_DSA and the appropriate tagging format 6 7config NET_DSA 8 tristate "Distributed Switch Architecture" 9 depends on HAVE_NET_DSA 10 select NET_SWITCHDEV 11 select PHYLIB 12 ---help--- 13 Say Y if you want to enable support for the hardware switches supported 14 by the Distributed Switch Architecture. 15 16if NET_DSA 17 18config NET_DSA_HWMON 19 bool "Distributed Switch Architecture HWMON support" 20 default y 21 depends on HWMON && !(NET_DSA=y && HWMON=m) 22 ---help--- 23 Say Y if you want to expose thermal sensor data on switches supported 24 by the Distributed Switch Architecture. 25 26 Some of those switches contain thermal sensors. This data is available 27 via the hwmon sysfs interface and exposes the onboard sensors. 28 29# tagging formats 30config NET_DSA_TAG_BRCM 31 bool 32 33config NET_DSA_TAG_DSA 34 bool 35 36config NET_DSA_TAG_EDSA 37 bool 38 39config NET_DSA_TAG_TRAILER 40 bool 41 42config NET_DSA_TAG_QCA 43 bool 44 45endif 46