]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - drivers/net/ethernet/mscc/Kconfig
net/mlx5e: Use shared mappings for restoring from metadata
[mirror_ubuntu-jammy-kernel.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 # Users should depend on NET_SWITCHDEV, HAS_IOMEM, BRIDGE
15 config MSCC_OCELOT_SWITCH_LIB
16 select NET_DEVLINK
17 select REGMAP_MMIO
18 select PACKING
19 select PHYLIB
20 tristate
21 help
22 This is a hardware support library for Ocelot network switches. It is
23 used by switchdev as well as by DSA drivers.
24
25 config MSCC_OCELOT_SWITCH
26 tristate "Ocelot switch driver"
27 depends on BRIDGE || BRIDGE=n
28 depends on NET_SWITCHDEV
29 depends on HAS_IOMEM
30 depends on OF_NET
31 select MSCC_OCELOT_SWITCH_LIB
32 select GENERIC_PHY
33 help
34 This driver supports the Ocelot network switch device as present on
35 the Ocelot SoCs (VSC7514).
36
37 endif # NET_VENDOR_MICROSEMI