xref: /openbmc/linux/drivers/net/ethernet/mscc/Kconfig (revision ba61bb17)
1# SPDX-License-Identifier: (GPL-2.0 OR MIT)
2config NET_VENDOR_MICROSEMI
3	bool "Microsemi devices"
4	default y
5	help
6	  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 the
9	  kernel: saying N will just cause the configurator to skip all
10	  the questions about Microsemi devices.
11
12if NET_VENDOR_MICROSEMI
13
14config MSCC_OCELOT_SWITCH
15	tristate "Ocelot switch driver"
16	depends on NET_SWITCHDEV
17	depends on HAS_IOMEM
18	select PHYLIB
19	select REGMAP_MMIO
20	help
21	  This driver supports the Ocelot network switch device.
22
23config MSCC_OCELOT_SWITCH_OCELOT
24	tristate "Ocelot switch driver on Ocelot"
25	depends on MSCC_OCELOT_SWITCH
26	help
27	  This driver supports the Ocelot network switch device as present on
28	  the Ocelot SoCs.
29
30endif # NET_VENDOR_MICROSEMI
31