Kconfig 954 B

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