Re: [PATCH v3 7/8] netdev: octeon-ethernet: Add Cavium Octeon III support.
From: Andrew Lunn <hidden>
Date: 2017-11-09 22:29:30
Also in:
linux-devicetree, linux-mips, lkml
From: Andrew Lunn <hidden>
Date: 2017-11-09 22:29:30
Also in:
linux-devicetree, linux-mips, lkml
+ 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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html