[PATCH net-next 4/7] net: stmmac/xpcs: convert to pcs_validate()

Jakub Kicinski kuba at kernel.org
Tue Jan 25 10:53:03 PST 2022


On Tue, 25 Jan 2022 16:40:40 +0000 Russell King (Oracle) wrote:
> stmmac explicitly calls the xpcs driver to validate the ethtool
> linkmodes. This is no longer necessary as phylink now supports
> validation through a PCS method. Convert both drivers to use this
> new mechanism.
> 
> Tested-by: Wong Vee Khee <vee.khee.wong at linux.intel.com> # Intel EHL            Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>

Sign-offs got scrambled.

Transient warning from here to patch 6:

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:943:22: warning: unused variable 'priv' [-Wunused-variable]
        struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev));
                            ^



More information about the linux-arm-kernel mailing list