On Fri, Aug 16, 2019 at 04:10:10PM +0300, Alexandru Ardelean wrote: > This change implements retrieving all the error counters from the PHY. > > The counters require that the RxErrCnt register (0x0014) be read first, > after which copies of the counters are latched into the registers. This > ensures that all registers read after RxErrCnt are synchronized at the > moment that they are read. > > The counter values need to be accumulated by the driver, as each time that > RxErrCnt is read, the values that are latched are the ones that have > incremented from the last read. > > Signed-off-by: Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx> Reviewed-by: Andrew Lunn <andrew@xxxxxxx> Andrew