]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - net/dsa/Kconfig
Merge tag 'for-linus-4.9-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-bionic-kernel.git] / net / dsa / Kconfig
CommitLineData
b3422a31
BH
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
3b158859 7config NET_DSA
c6f15070 8 tristate "Distributed Switch Architecture"
bd76a116 9 depends on HAVE_NET_DSA && NET_SWITCHDEV
45cec1ba 10 select PHYLIB
c6f15070
MO
11 ---help---
12 Say Y if you want to enable support for the hardware switches supported
13 by the Distributed Switch Architecture.
91da11f8 14
b3422a31 15if NET_DSA
91da11f8 16
51579c3f
GR
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
91da11f8 28# tagging formats
5037d532
FF
29config NET_DSA_TAG_BRCM
30 bool
31
cf85d08f 32config NET_DSA_TAG_DSA
b3422a31 33 bool
cf85d08f 34
91da11f8 35config NET_DSA_TAG_EDSA
b3422a31 36 bool
91da11f8 37
396138f0 38config NET_DSA_TAG_TRAILER
b3422a31
BH
39 bool
40
cafdc45c
JC
41config NET_DSA_TAG_QCA
42 bool
43
b3422a31 44endif