OSDN Git Service

net: dsa: integrate with SWITCHDEV for HW bridging
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / net / dsa / Kconfig
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
7 config NET_DSA
8         tristate
9         depends on HAVE_NET_DSA
10         select PHYLIB
11         select NET_SWITCHDEV
12
13 if NET_DSA
14
15 config NET_DSA_HWMON
16         bool "Distributed Switch Architecture HWMON support"
17         default y
18         depends on HWMON && !(NET_DSA=y && HWMON=m)
19         ---help---
20           Say Y if you want to expose thermal sensor data on switches supported
21           by the Distributed Switch Architecture.
22
23           Some of those switches contain thermal sensors. This data is available
24           via the hwmon sysfs interface and exposes the onboard sensors.
25
26 # tagging formats
27 config NET_DSA_TAG_BRCM
28         bool
29
30 config NET_DSA_TAG_DSA
31         bool
32
33 config NET_DSA_TAG_EDSA
34         bool
35
36 config NET_DSA_TAG_TRAILER
37         bool
38
39 endif