Kconfig 941 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. config HAVE_NET_DSA
  2. def_bool y
  3. depends on NETDEVICES && !S390
  4. # Drivers must select NET_DSA and the appropriate tagging format
  5. config NET_DSA
  6. tristate "Distributed Switch Architecture"
  7. depends on HAVE_NET_DSA && NET_SWITCHDEV
  8. select PHYLIB
  9. ---help---
  10. Say Y if you want to enable support for the hardware switches supported
  11. by the Distributed Switch Architecture.
  12. if NET_DSA
  13. config NET_DSA_HWMON
  14. bool "Distributed Switch Architecture HWMON support"
  15. default y
  16. depends on HWMON && !(NET_DSA=y && HWMON=m)
  17. ---help---
  18. Say Y if you want to expose thermal sensor data on switches supported
  19. by the Distributed Switch Architecture.
  20. Some of those switches contain thermal sensors. This data is available
  21. via the hwmon sysfs interface and exposes the onboard sensors.
  22. # tagging formats
  23. config NET_DSA_TAG_BRCM
  24. bool
  25. config NET_DSA_TAG_DSA
  26. bool
  27. config NET_DSA_TAG_EDSA
  28. bool
  29. config NET_DSA_TAG_TRAILER
  30. bool
  31. endif