summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorChukun Pan <amadeus@jmu.edu.cn>2026-02-01 18:00:01 +0800
committerJakub Kicinski <kuba@kernel.org>2026-02-02 17:04:16 -0800
commitfd102acfd362de60a941d24f0836278d839b9391 (patch)
tree0a431a74c80a6998f493b816072b0b9a01a6501c /drivers/net
parenta22f57757f7e88c890499265c383ecb32900b645 (diff)
net: spacemit: display phy driver information
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/spacemit/k1_emac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/spacemit/k1_emac.c b/drivers/net/ethernet/spacemit/k1_emac.c
index 23b6f1531e0c..40c9504b7444 100644
--- 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;