40 lines · plain
1# SPDX-License-Identifier: (GPL-2.0 OR MIT)2config NET_VENDOR_MICROSEMI3 bool "Microsemi devices"4 default y5 help6 If you have a network (Ethernet) card belonging to this class, say Y.7 8 Note that the answer to this question doesn't directly affect the9 kernel: saying N will just cause the configurator to skip all10 the questions about Microsemi devices.11 12if NET_VENDOR_MICROSEMI13 14# Users should depend on NET_SWITCHDEV, HAS_IOMEM, BRIDGE15config MSCC_OCELOT_SWITCH_LIB16 depends on PTP_1588_CLOCK_OPTIONAL17 select NET_DEVLINK18 select REGMAP_MMIO19 select PACKING20 select PHYLINK21 tristate22 help23 This is a hardware support library for Ocelot network switches. It is24 used by switchdev as well as by DSA drivers.25 26config MSCC_OCELOT_SWITCH27 tristate "Ocelot switch driver"28 depends on PTP_1588_CLOCK_OPTIONAL29 depends on BRIDGE || BRIDGE=n30 depends on NET_SWITCHDEV31 depends on HAS_IOMEM32 depends on OF33 select MSCC_OCELOT_SWITCH_LIB34 select GENERIC_PHY35 help36 This driver supports the Ocelot network switch device as present on37 the Ocelot SoCs (VSC7514).38 39endif # NET_VENDOR_MICROSEMI40