xref: /OK3568_Linux_fs/kernel/drivers/net/ethernet/mscc/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0 OR MIT)
2*4882a593Smuzhiyunconfig NET_VENDOR_MICROSEMI
3*4882a593Smuzhiyun	bool "Microsemi devices"
4*4882a593Smuzhiyun	default y
5*4882a593Smuzhiyun	help
6*4882a593Smuzhiyun	  If you have a network (Ethernet) card belonging to this class, say Y.
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun	  Note that the answer to this question doesn't directly affect the
9*4882a593Smuzhiyun	  kernel: saying N will just cause the configurator to skip all
10*4882a593Smuzhiyun	  the questions about Microsemi devices.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyunif NET_VENDOR_MICROSEMI
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun# Users should depend on NET_SWITCHDEV, HAS_IOMEM
15*4882a593Smuzhiyunconfig MSCC_OCELOT_SWITCH_LIB
16*4882a593Smuzhiyun	select REGMAP_MMIO
17*4882a593Smuzhiyun	select PHYLIB
18*4882a593Smuzhiyun	tristate
19*4882a593Smuzhiyun	help
20*4882a593Smuzhiyun	  This is a hardware support library for Ocelot network switches. It is
21*4882a593Smuzhiyun	  used by switchdev as well as by DSA drivers.
22*4882a593Smuzhiyun
23*4882a593Smuzhiyunconfig MSCC_OCELOT_SWITCH
24*4882a593Smuzhiyun	tristate "Ocelot switch driver"
25*4882a593Smuzhiyun	depends on NET_SWITCHDEV
26*4882a593Smuzhiyun	depends on HAS_IOMEM
27*4882a593Smuzhiyun	depends on OF_NET
28*4882a593Smuzhiyun	select MSCC_OCELOT_SWITCH_LIB
29*4882a593Smuzhiyun	select GENERIC_PHY
30*4882a593Smuzhiyun	help
31*4882a593Smuzhiyun	  This driver supports the Ocelot network switch device as present on
32*4882a593Smuzhiyun	  the Ocelot SoCs (VSC7514).
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunendif # NET_VENDOR_MICROSEMI
35