[PATCH net-next 10/14] net: stmmac: move dwmac_ctrl_ane() into stmmac_pcs.c

Andrew Halaney ahalaney at redhat.com
Fri Aug 2 11:45:14 PDT 2024


On Fri, Aug 02, 2024 at 11:47:17AM GMT, Russell King (Oracle) wrote:
> Move dwmac_ctrl_ane() into stmmac_pcs.c, changing its arguments to take
> the stmmac_priv structure. Update it to use the previously provided
> __dwmac_ctrl_ane() function, which makes use of the stmmac_pcs struct
> and thus does not require passing the PCS base address offset.
> 
> This removes the core-specific functions, instead pointing the method
> at the generic method in stmmac_pcs.c.
> 
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>

Reviewed-by: Andrew Halaney <ahalaney at redhat.com>




More information about the linux-arm-kernel mailing list