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