mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 07:27:35 +07:00
71e32a20cf
Previously, the SerDes muxing was hardcoded to a given mode in the MAC controller driver. Now, the SerDes muxing is configured within the Device Tree and is enforced in the MAC controller driver so we can have a lot of different SerDes configurations. Make use of the SerDes PHYs in the MAC controller to set up the SerDes according to the SerDes<->switch port mapping and the communication mode with the Ethernet PHY. Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
33 lines
875 B
Plaintext
33 lines
875 B
Plaintext
# SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
|
config NET_VENDOR_MICROSEMI
|
|
bool "Microsemi devices"
|
|
default y
|
|
help
|
|
If you have a network (Ethernet) card belonging to this class, say Y.
|
|
|
|
Note that the answer to this question doesn't directly affect the
|
|
kernel: saying N will just cause the configurator to skip all
|
|
the questions about Microsemi devices.
|
|
|
|
if NET_VENDOR_MICROSEMI
|
|
|
|
config MSCC_OCELOT_SWITCH
|
|
tristate "Ocelot switch driver"
|
|
depends on NET_SWITCHDEV
|
|
depends on HAS_IOMEM
|
|
select PHYLIB
|
|
select REGMAP_MMIO
|
|
help
|
|
This driver supports the Ocelot network switch device.
|
|
|
|
config MSCC_OCELOT_SWITCH_OCELOT
|
|
tristate "Ocelot switch driver on Ocelot"
|
|
depends on MSCC_OCELOT_SWITCH
|
|
depends on GENERIC_PHY
|
|
depends on OF_NET
|
|
help
|
|
This driver supports the Ocelot network switch device as present on
|
|
the Ocelot SoCs.
|
|
|
|
endif # NET_VENDOR_MICROSEMI
|