0001 # SPDX-License-Identifier: (GPL-2.0 OR MIT)
0002 config NET_VENDOR_MICROSEMI
0003 bool "Microsemi devices"
0004 default y
0005 help
0006 If you have a network (Ethernet) card belonging to this class, say Y.
0007
0008 Note that the answer to this question doesn't directly affect the
0009 kernel: saying N will just cause the configurator to skip all
0010 the questions about Microsemi devices.
0011
0012 if NET_VENDOR_MICROSEMI
0013
0014 # Users should depend on NET_SWITCHDEV, HAS_IOMEM, BRIDGE
0015 config MSCC_OCELOT_SWITCH_LIB
0016 select NET_DEVLINK
0017 select REGMAP_MMIO
0018 select PACKING
0019 select PHYLINK
0020 tristate
0021 help
0022 This is a hardware support library for Ocelot network switches. It is
0023 used by switchdev as well as by DSA drivers.
0024
0025 config MSCC_OCELOT_SWITCH
0026 tristate "Ocelot switch driver"
0027 depends on PTP_1588_CLOCK_OPTIONAL
0028 depends on BRIDGE || BRIDGE=n
0029 depends on NET_SWITCHDEV
0030 depends on HAS_IOMEM
0031 depends on OF
0032 select MSCC_OCELOT_SWITCH_LIB
0033 select GENERIC_PHY
0034 help
0035 This driver supports the Ocelot network switch device as present on
0036 the Ocelot SoCs (VSC7514).
0037
0038 endif # NET_VENDOR_MICROSEMI