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

Andrew Lunn andrew at lunn.ch
Thu Nov 9 22:29:19 UTC 2017


> +	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


More information about the devel mailing list