[PATCH net-next] net: stmmac: remove pcs_get_adv_lp() support

Jacob Keller jacob.e.keller at intel.com
Thu Jun 12 10:16:17 PDT 2025



On 6/12/2025 9:16 AM, Russell King (Oracle) wrote:
> It appears that the GMAC_ANE_ADV and GMAC_ANE_LPA registers are only
> available for TBI and RTBI PHY interfaces. In commit 482b3c3ba757
> ("net: stmmac: Drop TBI/RTBI PCS flags") support for these was dropped,
> and thus it no longer makes sense to access these registers.
> 
> Remove the *_get_adv_lp() functions, and the now redundant struct
> rgmii_adv and STMMAC_PCS_* definitions.
> 
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>
> ---
Reviewed-by: Jacob Keller <jacob.e.keller at intel.com>



More information about the linux-arm-kernel mailing list