diff options
author | Andrew Lunn <[email protected]> | 2017-06-07 03:57:09 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-06-07 10:06:52 -0400 |
commit | 2b30842b23b9e6796c7bd5f0916fd2ebf6b7d633 (patch) | |
tree | f994f2eca18a366530da02797c29ffd7693a9db3 /net/switchdev/switchdev.c | |
parent | 216fe8f021e33c36e3b27c49c9f1951f6b037d7f (diff) |
net: fec: Clear and enable MIB counters on imx51
Both the IMX51 and IMX53 datasheet indicates that the MIB counters
should be cleared during setup. Otherwise random numbers are returned
via ethtool -S. Add a quirk and a function to do this.
Tested on an IMX51.
Signed-off-by: Andrew Lunn <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions