projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a22f577
)
net: spacemit: display phy driver information
author
Chukun Pan
<amadeus@jmu.edu.cn>
Sun, 1 Feb 2026 10:00:01 +0000
(18:00 +0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Tue, 3 Feb 2026 01:04:16 +0000
(17:04 -0800)
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>
Link:
https://patch.msgid.link/20260201100001.33102-1-amadeus@jmu.edu.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/spacemit/k1_emac.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/spacemit/k1_emac.c
b/drivers/net/ethernet/spacemit/k1_emac.c
index
23b6f15
..
40c9504
100644
(file)
--- a/
drivers/net/ethernet/spacemit/k1_emac.c
+++ b/
drivers/net/ethernet/spacemit/k1_emac.c
@@
-1634,6
+1634,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;