spacepaste

  1.  
  2. diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
  3. index 6c955ca..73a469c 100644
  4. --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
  5. +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
  6. @@ -848,15 +848,18 @@ static int stmmac_init_phy(struct net_device *dev)
  7. priv->oldduplex = DUPLEX_UNKNOWN;
  8. if (priv->hw->mac->init_phy) {
  9. + pr_info("init_phy\n");
  10. ret = priv->hw->mac->init_phy(dev);
  11. if (ret)
  12. return ret;
  13. }
  14. if (priv->plat->phy_node) {
  15. + pr_info("%s of_phy_connect\n");
  16. phydev = of_phy_connect(dev, priv->plat->phy_node,
  17. &stmmac_adjust_link, 0, interface);
  18. } else {
  19. + pr_info("%s phy_connect BAD!\n");
  20. snprintf(bus_id, MII_BUS_ID_SIZE, "stmmac-%x",
  21. priv->plat->bus_id);
  22.