GNU Linux-libre 4.19.286-gnu1
[releases.git] / drivers / net / ethernet / mscc / Kconfig
1 # SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 config 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
12 if NET_VENDOR_MICROSEMI
13
14 config 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
23 config 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
30 endif # NET_VENDOR_MICROSEMI