Kconfig 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2. config NET_VENDOR_MICROSEMI
  3. bool "Microsemi devices"
  4. default y
  5. help
  6. If you have a network (Ethernet) card belonging to this class, say Y.
  7. Note that the answer to this question doesn't directly affect the
  8. kernel: saying N will just cause the configurator to skip all
  9. the questions about Microsemi devices.
  10. if NET_VENDOR_MICROSEMI
  11. # Users should depend on NET_SWITCHDEV, HAS_IOMEM, BRIDGE
  12. config MSCC_OCELOT_SWITCH_LIB
  13. select NET_DEVLINK
  14. select REGMAP_MMIO
  15. select PACKING
  16. select PHYLINK
  17. tristate
  18. help
  19. This is a hardware support library for Ocelot network switches. It is
  20. used by switchdev as well as by DSA drivers.
  21. config MSCC_OCELOT_SWITCH
  22. tristate "Ocelot switch driver"
  23. depends on PTP_1588_CLOCK_OPTIONAL
  24. depends on BRIDGE || BRIDGE=n
  25. depends on NET_SWITCHDEV
  26. depends on HAS_IOMEM
  27. depends on OF
  28. select MSCC_OCELOT_SWITCH_LIB
  29. select GENERIC_PHY
  30. help
  31. This driver supports the Ocelot network switch device as present on
  32. the Ocelot SoCs (VSC7514).
  33. endif # NET_VENDOR_MICROSEMI