Kconfig 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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