18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0 OR MIT)
28c2ecf20Sopenharmony_ciconfig NET_VENDOR_MICROSEMI
38c2ecf20Sopenharmony_ci	bool "Microsemi devices"
48c2ecf20Sopenharmony_ci	default y
58c2ecf20Sopenharmony_ci	help
68c2ecf20Sopenharmony_ci	  If you have a network (Ethernet) card belonging to this class, say Y.
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci	  Note that the answer to this question doesn't directly affect the
98c2ecf20Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all
108c2ecf20Sopenharmony_ci	  the questions about Microsemi devices.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciif NET_VENDOR_MICROSEMI
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci# Users should depend on NET_SWITCHDEV, HAS_IOMEM
158c2ecf20Sopenharmony_ciconfig MSCC_OCELOT_SWITCH_LIB
168c2ecf20Sopenharmony_ci	select REGMAP_MMIO
178c2ecf20Sopenharmony_ci	select PHYLIB
188c2ecf20Sopenharmony_ci	tristate
198c2ecf20Sopenharmony_ci	help
208c2ecf20Sopenharmony_ci	  This is a hardware support library for Ocelot network switches. It is
218c2ecf20Sopenharmony_ci	  used by switchdev as well as by DSA drivers.
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciconfig MSCC_OCELOT_SWITCH
248c2ecf20Sopenharmony_ci	tristate "Ocelot switch driver"
258c2ecf20Sopenharmony_ci	depends on NET_SWITCHDEV
268c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
278c2ecf20Sopenharmony_ci	depends on OF_NET
288c2ecf20Sopenharmony_ci	select MSCC_OCELOT_SWITCH_LIB
298c2ecf20Sopenharmony_ci	select GENERIC_PHY
308c2ecf20Sopenharmony_ci	help
318c2ecf20Sopenharmony_ci	  This driver supports the Ocelot network switch device as present on
328c2ecf20Sopenharmony_ci	  the Ocelot SoCs (VSC7514).
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciendif # NET_VENDOR_MICROSEMI
35