net: phy: smsc: Implement PHY statistics
authorAndrew Lunn <andrew@lunn.ch>
Sat, 3 Jun 2017 18:00:36 +0000 (20:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jun 2017 01:36:20 +0000 (21:36 -0400)
commit030a89028db07a7987f1f3bd6ee43114e36f5060
treeb9dd1e25672e2034fb93dd4c08cac39aaa226544
parent386e2e4bd7ca520e9466150585f87e0b9b9636ac
net: phy: smsc: Implement PHY statistics

Most of the PHYs supported by the SMSC driver have a counter of symbol
errors. This is 16 bit wide and wraps around when it reaches its
maximum value.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-By: Woojung Huh <Woojung.Huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/smsc.c