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

* Re: [PATCH v2 1/1] net: spacemit: display phy driver information
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2026-02-02 21:42 UTC (permalink / raw)
  To: Chukun Pan
  Cc: Vivian Wang, Yixun Lan, Paolo Abeni, Jakub Kicinski, Eric Dumazet,
	Andrew Lunn, David S . Miller, linux-riscv, linux-kernel,
	spacemit, netdev

On Sun, Feb 01, 2026 at 06:00:01PM +0800, Chukun Pan wrote:
> Print the PHY driver used and interrupt status after connection.
> 
> Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

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

* Re: [PATCH v2 1/1] net: spacemit: display phy driver information
  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
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-02-03  1:10 UTC (permalink / raw)
  To: Chukun Pan
  Cc: wangruikang, dlan, pabeni, kuba, edumazet, andrew+netdev, davem,
	linux-riscv, linux-kernel, spacemit, netdev

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sun,  1 Feb 2026 18:00:01 +0800 you wrote:
> 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/
> 
> [...]

Here is the summary with links:
  - [v2,1/1] net: spacemit: display phy driver information
    https://git.kernel.org/netdev/net-next/c/fd102acfd362

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[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