public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/1] net: spacemit: display phy driver information
@ 2026-02-01 10:00 Chukun Pan
  2026-02-02 21:42 ` Andrew Lunn
  2026-02-03  1:10 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Chukun Pan @ 2026-02-01 10:00 UTC (permalink / raw)
  To: Vivian Wang
  Cc: Yixun Lan, Chukun Pan, Paolo Abeni, Jakub Kicinski, Eric Dumazet,
	Andrew Lunn, David S . Miller, linux-riscv, linux-kernel,
	spacemit, netdev

Print the PHY driver used and interrupt status after connection.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
---
Changes in v2:
- Simplify using phy_attached_info()
- Link to v1: https://lore.kernel.org/lkml/20260122080001.73921-1-amadeus@jmu.edu.cn/
---
 drivers/net/ethernet/spacemit/k1_emac.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/ethernet/spacemit/k1_emac.c b/drivers/net/ethernet/spacemit/k1_emac.c
index c85dc742c404..b308e97d6bf2 100644
--- a/drivers/net/ethernet/spacemit/k1_emac.c
+++ b/drivers/net/ethernet/spacemit/k1_emac.c
@@ -1614,6 +1614,8 @@ static int emac_phy_connect(struct net_device *ndev)
 
 	emac_update_delay_line(priv);
 
+	phy_attached_info(phydev);
+
 err_node_put:
 	of_node_put(np);
 	return ret;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-02-03  1:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-01 10:00 [PATCH v2 1/1] net: spacemit: display phy driver information Chukun Pan
2026-02-02 21:42 ` Andrew Lunn
2026-02-03  1:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox