Kconfig 760 B

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