xref: /openbmc/linux/drivers/net/ethernet/mscc/Kconfig (revision 71e32a20)
1a556c76aSAlexandre Belloni# SPDX-License-Identifier: (GPL-2.0 OR MIT)
2a556c76aSAlexandre Belloniconfig NET_VENDOR_MICROSEMI
3a556c76aSAlexandre Belloni	bool "Microsemi devices"
4a556c76aSAlexandre Belloni	default y
5a556c76aSAlexandre Belloni	help
6a556c76aSAlexandre Belloni	  If you have a network (Ethernet) card belonging to this class, say Y.
7a556c76aSAlexandre Belloni
8a556c76aSAlexandre Belloni	  Note that the answer to this question doesn't directly affect the
9a556c76aSAlexandre Belloni	  kernel: saying N will just cause the configurator to skip all
10a556c76aSAlexandre Belloni	  the questions about Microsemi devices.
11a556c76aSAlexandre Belloni
12a556c76aSAlexandre Belloniif NET_VENDOR_MICROSEMI
13a556c76aSAlexandre Belloni
14a556c76aSAlexandre Belloniconfig MSCC_OCELOT_SWITCH
15a556c76aSAlexandre Belloni	tristate "Ocelot switch driver"
16a556c76aSAlexandre Belloni	depends on NET_SWITCHDEV
17a556c76aSAlexandre Belloni	depends on HAS_IOMEM
18a556c76aSAlexandre Belloni	select PHYLIB
19a556c76aSAlexandre Belloni	select REGMAP_MMIO
20a556c76aSAlexandre Belloni	help
21a556c76aSAlexandre Belloni	  This driver supports the Ocelot network switch device.
22a556c76aSAlexandre Belloni
23a556c76aSAlexandre Belloniconfig MSCC_OCELOT_SWITCH_OCELOT
24a556c76aSAlexandre Belloni	tristate "Ocelot switch driver on Ocelot"
25a556c76aSAlexandre Belloni	depends on MSCC_OCELOT_SWITCH
2671e32a20SQuentin Schulz	depends on GENERIC_PHY
2771e32a20SQuentin Schulz	depends on OF_NET
28a556c76aSAlexandre Belloni	help
29a556c76aSAlexandre Belloni	  This driver supports the Ocelot network switch device as present on
30a556c76aSAlexandre Belloni	  the Ocelot SoCs.
31a556c76aSAlexandre Belloni
32a556c76aSAlexandre Belloniendif # NET_VENDOR_MICROSEMI
33