GNU Linux-libre 4.9.288-gnu1
[releases.git] / net / dsa / Kconfig
1 config 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
7 config 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
16 if NET_DSA
17
18 config 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
30 config NET_DSA_TAG_BRCM
31         bool
32
33 config NET_DSA_TAG_DSA
34         bool
35
36 config NET_DSA_TAG_EDSA
37         bool
38
39 config NET_DSA_TAG_TRAILER
40         bool
41
42 config NET_DSA_TAG_QCA
43         bool
44
45 endif