Kconfig 1.0 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
# SPDX-License-Identifier: (GPL-2.0 OR MIT)
config NET_VENDOR_MICROSEMI
	bool "Microsemi devices"
	default y
	help
	  If you have a network (Ethernet) card belonging to this class, say Y.

	  Note that the answer to this question doesn't directly affect the
	  kernel: saying N will just cause the configurator to skip all
	  the questions about Microsemi devices.

if NET_VENDOR_MICROSEMI

14
# Users should depend on NET_SWITCHDEV, HAS_IOMEM, BRIDGE
15
config MSCC_OCELOT_SWITCH_LIB
16
	select NET_DEVLINK
17
	select REGMAP_MMIO
18
	select PACKING
19
	select PHYLINK
20
	tristate
21
	help
22 23
	  This is a hardware support library for Ocelot network switches. It is
	  used by switchdev as well as by DSA drivers.
24

25 26
config MSCC_OCELOT_SWITCH
	tristate "Ocelot switch driver"
27
	depends on PTP_1588_CLOCK_OPTIONAL
28
	depends on BRIDGE || BRIDGE=n
29 30
	depends on NET_SWITCHDEV
	depends on HAS_IOMEM
31
	depends on OF_NET
32
	select MSCC_OCELOT_SWITCH_LIB
33
	select GENERIC_PHY
34 35
	help
	  This driver supports the Ocelot network switch device as present on
36
	  the Ocelot SoCs (VSC7514).
37 38

endif # NET_VENDOR_MICROSEMI