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