]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/net/ethernet/marvell/mvneta.c
ethernet: mvneta: Use PHY status standard message
[linux-beck.git] / drivers / net / ethernet / marvell / mvneta.c
index ade067de168959b30c9e7eafc07ed40df0967ee0..ccc3ce2e8c8c7c8d929b2ff5e271bf62948c7012 100644 (file)
@@ -2558,11 +2558,10 @@ static void mvneta_adjust_link(struct net_device *ndev)
                                MVNETA_GMAC_FORCE_LINK_DOWN);
                        mvreg_write(pp, MVNETA_GMAC_AUTONEG_CONFIG, val);
                        mvneta_port_up(pp);
-                       netdev_info(pp->dev, "link up\n");
                } else {
                        mvneta_port_down(pp);
-                       netdev_info(pp->dev, "link down\n");
                }
+               phy_print_status(phydev);
        }
 }