Subject: Re: sun7i-dwmac: link detection failure with 1000Mbit parters

From: Russell King - ARM Linux admin <[email-masked]>
Date: Fri, 1 Nov 2019 10:57:45 +0000

On Fri, Nov 01, 2019 at 09:49:20AM +0000, Priit Laes wrote:
> On Thu, Oct 31, 2019 at 10:38:41AM +0000, Russell King - ARM Linux admin wrote:
> >   mii-diag -v eth0
> > 
> > would be useful to see for the case where the link has failed, without
> > replugging the ethernet cable.
> 
> mii-diag seems to be quite an useful tool, but unfortunately has not been
> packaged anymore on newer distro releases like Debian stable and latest
> Ubuntu LTS.

which is unfortunate because it's the best tool for debugging PHY
related problems.  mii-tool doesn't dump registers, and dumping the
PHY registers is extremely useful.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up