[PATCH RFC net-next 2/5] net: dsa: mv88e6xxx: report the default interface mode for the port
Marek Behún
kabel at kernel.org
Tue Jul 5 03:55:00 PDT 2022
On Tue, 05 Jul 2022 10:47:52 +0100
"Russell King (Oracle)" <rmk+kernel at armlinux.org.uk> wrote:
> Report the maximum speed interface mode for the port, or if we don't
> have that information, the hardware configured interface mode for
> the port.
>
> This allows phylink to know which interface mode CPU and DSA ports
> are operating, which will be necessary when we want to select the
> maximum speed for the port (required for such ports without a PHY or
> fixed-link specified in firmware.)
>
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>
Reviewed-by: Marek Behún <kabel at kernel.org>
More information about the Linux-mediatek
mailing list