status = edma_check_link(adapter);
if (status == __EDMA_LINKUP && adapter->link_state == __EDMA_LINKDOWN) {
- dev_info(&adapter->pdev->dev, "%s: GMAC Link is up with phy_speed=%d\n", netdev->name, phydev->speed);
+ phy_print_status(phydev);
adapter->link_state = __EDMA_LINKUP;
if (adapter->edma_cinfo->is_single_phy) {
ess_set_port_status_speed(adapter->edma_cinfo, phydev,
if (netif_running(netdev))
netif_tx_wake_all_queues(netdev);
} else if (status == __EDMA_LINKDOWN && adapter->link_state == __EDMA_LINKUP) {
- dev_info(&adapter->pdev->dev, "%s: GMAC Link is down\n", netdev->name);
+ phy_print_status(phydev);
adapter->link_state = __EDMA_LINKDOWN;
netif_carrier_off(netdev);
netif_tx_stop_all_queues(netdev);