On 26/2/2025 11:43 pm, Russell King (Oracle) wrote:
On Wed, Feb 26, 2025 at 03:48:35PM +0800, Choong Yong Liang wrote:
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index 6d2aa77ea963..af22a11c2b8a 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -236,6 +236,10 @@ struct plat_stmmacenet_data {
int (*serdes_powerup)(struct net_device *ndev, void *priv);
void (*serdes_powerdown)(struct net_device *ndev, void *priv);
void (*speed_mode_2500)(struct net_device *ndev, void *priv);
+ int (*mac_finish)(struct net_device *ndev,
+ void *priv,
+ unsigned int mode,
+ phy_interface_t interface);
void (*ptp_clk_freq_config)(struct stmmac_priv *priv);
int (*init)(struct platform_device *pdev, void *priv);
void (*exit)(struct platform_device *pdev, void *priv);
This should be part of patch 5, and the order of patches 4 and 5
reversed.
The subject line should also be "net: stmmac: ..."
Thank you for your guidance. I will adjust the patch sequence as suggested
and update the subject line to "net: stmmac: ...". I appreciate your
attention to detail.