Commit | Line | Data |
---|---|---|
b3422a31 BH |
1 | config HAVE_NET_DSA |
2 | def_bool y | |
3 | depends on NETDEVICES && !S390 | |
4 | ||
5 | # Drivers must select NET_DSA and the appropriate tagging format | |
6 | ||
3b158859 | 7 | config NET_DSA |
82167cb8 | 8 | tristate |
b3422a31 | 9 | depends on HAVE_NET_DSA |
45cec1ba | 10 | select PHYLIB |
91da11f8 | 11 | |
b3422a31 | 12 | if NET_DSA |
91da11f8 | 13 | |
51579c3f GR |
14 | config NET_DSA_HWMON |
15 | bool "Distributed Switch Architecture HWMON support" | |
16 | default y | |
17 | depends on HWMON && !(NET_DSA=y && HWMON=m) | |
18 | ---help--- | |
19 | Say Y if you want to expose thermal sensor data on switches supported | |
20 | by the Distributed Switch Architecture. | |
21 | ||
22 | Some of those switches contain thermal sensors. This data is available | |
23 | via the hwmon sysfs interface and exposes the onboard sensors. | |
24 | ||
91da11f8 | 25 | # tagging formats |
5037d532 FF |
26 | config NET_DSA_TAG_BRCM |
27 | bool | |
28 | ||
cf85d08f | 29 | config NET_DSA_TAG_DSA |
b3422a31 | 30 | bool |
cf85d08f | 31 | |
91da11f8 | 32 | config NET_DSA_TAG_EDSA |
b3422a31 | 33 | bool |
91da11f8 | 34 | |
396138f0 | 35 | config NET_DSA_TAG_TRAILER |
b3422a31 BH |
36 | bool |
37 | ||
38 | endif |