diff options
author | Andrew Lunn <andrew@lunn.ch> | 2017-06-07 03:57:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-07 10:06:52 -0400 |
commit | 2b30842b23b9e6796c7bd5f0916fd2ebf6b7d633 (patch) | |
tree | f994f2eca18a366530da02797c29ffd7693a9db3 /drivers/target | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff) | |
download | linux-dev-2b30842b23b9e6796c7bd5f0916fd2ebf6b7d633.tar.xz linux-dev-2b30842b23b9e6796c7bd5f0916fd2ebf6b7d633.zip |
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 <andrew@lunn.ch>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions