Kconfig 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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 && MAY_USE_DEVLINK
  8. depends on BRIDGE || BRIDGE=n
  9. select NET_SWITCHDEV
  10. select PHYLINK
  11. ---help---
  12. Say Y if you want to enable support for the hardware switches supported
  13. by the Distributed Switch Architecture.
  14. if NET_DSA
  15. config NET_DSA_LEGACY
  16. bool "Support for older platform device and Device Tree registration"
  17. default y
  18. ---help---
  19. Say Y if you want to enable support for the older platform device and
  20. deprecated Device Tree binding registration.
  21. This feature is scheduled for removal in 4.17.
  22. # tagging formats
  23. config NET_DSA_TAG_BRCM
  24. bool
  25. config NET_DSA_TAG_BRCM_PREPEND
  26. bool
  27. config NET_DSA_TAG_DSA
  28. bool
  29. config NET_DSA_TAG_EDSA
  30. bool
  31. config NET_DSA_TAG_KSZ
  32. bool
  33. config NET_DSA_TAG_LAN9303
  34. bool
  35. config NET_DSA_TAG_MTK
  36. bool
  37. config NET_DSA_TAG_TRAILER
  38. bool
  39. config NET_DSA_TAG_QCA
  40. bool
  41. endif