Thread (14 messages) 14 messages, 2 authors, 2025-02-27

Re: [PATCH net-next v8 4/6] stmmac: intel: configure SerDes according to the interface mode

From: Choong Yong Liang <hidden>
Date: 2025-02-27 11:18:36
Also in: lkml, netdev, platform-driver-x86


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:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help