On Fri, Aug 02, 2024 at 11:47:32AM GMT, Russell King (Oracle) wrote: > The pcs_ctrl_ane() method is no longer required as this will be handled > by the mac_pcs phylink_pcs instance. Remove these methods, their common > implementation, the pcs_link, pcs_duplex and pcs_speed members of > struct stmmac_extra_stats, and stmmac_has_mac_phylink_select_pcs(). > > Signed-off-by: Russell King (Oracle) <rmk+kernel@xxxxxxxxxxxxxxx> ... > diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c > index 3c8ae3753205..799af80024d2 100644 > --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c > +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c > @@ -321,48 +321,6 @@ static int stmmac_ethtool_get_link_ksettings(struct net_device *dev, > { > struct stmmac_priv *priv = netdev_priv(dev); > > - if (!(priv->plat->flags & STMMAC_FLAG_HAS_INTEGRATED_PCS) && This change effectively makes the INTEGRATED_PCS flag useless, I think we should remove it entirely. Thanks, Andrew