Merge commit 'linus' into x86/urgent, to pick up recent x86 changes
[linux-2.6/btrfs-unstable.git] / net / dsa / Kconfig
blobff7736f7ff42d335b08cef345b3b1309e81b7985
1 config HAVE_NET_DSA
2         def_bool y
3         depends on NETDEVICES && !S390
5 # Drivers must select NET_DSA and the appropriate tagging format
7 config 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.
15 if NET_DSA
17 config 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.
25           Some of those switches contain thermal sensors. This data is available
26           via the hwmon sysfs interface and exposes the onboard sensors.
28 # tagging formats
29 config NET_DSA_TAG_BRCM
30         bool
32 config NET_DSA_TAG_DSA
33         bool
35 config NET_DSA_TAG_EDSA
36         bool
38 config NET_DSA_TAG_TRAILER
39         bool
41 endif