> + if (new_speed) { > + netdev_info(netdev, "Link up at %d Mbit/s %s duplex\n", > + new_speed, > + phydev->duplex == DUPLEX_FULL ? "full" : "half"); > + } else if (priv->cur_speed) { > + /* No link, just return. Leave the HW alone so it can > + * continue draining the tx ring. > + */ > + netdev_info(netdev, "Link down\n"); > return;
Hi Ben Please consider using phy_print_status(). Andrew