spacepaste

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