Re: [PATCH v3 7/8] netdev: octeon-ethernet: Add Cavium Octeon III support.

From: Andrew Lunn
Date: Thu Nov 09 2017 - 17:29:34 EST


> + if (link_changed != 0) {
> + struct port_status status;
> +
> + if (link_changed > 0) {
> + netdev_info(netdev, "Link is up - %d/%s\n",
> + priv->phydev->speed,
> + priv->phydev->duplex == DUPLEX_FULL ?
> + "Full" : "Half");
> + } else {
> + netdev_info(netdev, "Link is down\n");
> + }

phy_print_status()

Andrew