xref: /linux/drivers/net/ethernet/mscc/Kconfig (revision 71e2f4dd5a65bd8dbca0b77661e75eea471168f8)
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	depends on GENERIC_PHY
27	depends on OF_NET
28	help
29	  This driver supports the Ocelot network switch device as present on
30	  the Ocelot SoCs.
31
32endif # NET_VENDOR_MICROSEMI
33