diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index 92b7ca9..517e01c 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c @@ -167,6 +167,8 @@ static int stmmac_dt_phy(struct plat_stmmacenet_data *plat, { .compatible = "allwinner,sun50i-a64-emac" }, }; + pr_info("%s\n", __func__); + /* If phy-handle property is passed from DT, use it as the PHY */ plat->phy_node = of_parse_phandle(np, "phy-handle", 0); if (plat->phy_node) @@ -184,6 +186,7 @@ static int stmmac_dt_phy(struct plat_stmmacenet_data *plat, if (of_match_node(need_mdio_ids, np)) { plat->mdio_node = of_get_child_by_name(np, "mdio"); + pr_info("%s %p\n", __func__, plat->mdio_node); } else { /** * If snps,dwmac-mdio is passed from DT, always register