]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: spacemit: display phy driver information
authorChukun Pan <amadeus@jmu.edu.cn>
Sun, 1 Feb 2026 10:00:01 +0000 (18:00 +0800)
committerJakub 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

index 23b6f1531e0c0d6bf244dc7d44d7ee96bf91cd7e..40c9504b7444536c3ebed3aac4909efe48cfd5bb 100644 (file)
@@ -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;