162306a36Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0 OR MIT)
262306a36Sopenharmony_ciconfig NET_VENDOR_MICROSEMI
362306a36Sopenharmony_ci	bool "Microsemi devices"
462306a36Sopenharmony_ci	default y
562306a36Sopenharmony_ci	help
662306a36Sopenharmony_ci	  If you have a network (Ethernet) card belonging to this class, say Y.
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci	  Note that the answer to this question doesn't directly affect the
962306a36Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all
1062306a36Sopenharmony_ci	  the questions about Microsemi devices.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ciif NET_VENDOR_MICROSEMI
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci# Users should depend on NET_SWITCHDEV, HAS_IOMEM, BRIDGE
1562306a36Sopenharmony_ciconfig MSCC_OCELOT_SWITCH_LIB
1662306a36Sopenharmony_ci	depends on PTP_1588_CLOCK_OPTIONAL
1762306a36Sopenharmony_ci	select NET_DEVLINK
1862306a36Sopenharmony_ci	select REGMAP_MMIO
1962306a36Sopenharmony_ci	select PACKING
2062306a36Sopenharmony_ci	select PHYLINK
2162306a36Sopenharmony_ci	tristate
2262306a36Sopenharmony_ci	help
2362306a36Sopenharmony_ci	  This is a hardware support library for Ocelot network switches. It is
2462306a36Sopenharmony_ci	  used by switchdev as well as by DSA drivers.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciconfig MSCC_OCELOT_SWITCH
2762306a36Sopenharmony_ci	tristate "Ocelot switch driver"
2862306a36Sopenharmony_ci	depends on PTP_1588_CLOCK_OPTIONAL
2962306a36Sopenharmony_ci	depends on BRIDGE || BRIDGE=n
3062306a36Sopenharmony_ci	depends on NET_SWITCHDEV
3162306a36Sopenharmony_ci	depends on HAS_IOMEM
3262306a36Sopenharmony_ci	depends on OF
3362306a36Sopenharmony_ci	select MSCC_OCELOT_SWITCH_LIB
3462306a36Sopenharmony_ci	select GENERIC_PHY
3562306a36Sopenharmony_ci	help
3662306a36Sopenharmony_ci	  This driver supports the Ocelot network switch device as present on
3762306a36Sopenharmony_ci	  the Ocelot SoCs (VSC7514).
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciendif # NET_VENDOR_MICROSEMI
40