blob: fc0c09e770e6ed5807a98e83a100484ace4e52bb [file] [log] [blame]
Kyle Swenson8d8f6542021-03-15 11:02:55 -06001config 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
42endif