Searched hist:"2 b30842b23b9e6796c7bd5f0916fd2ebf6b7d633" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/freescale/ |
H A D | fec.h | diff 2b30842b23b9e6796c7bd5f0916fd2ebf6b7d633 Wed Jun 07 03:57:09 CEST 2017 Andrew Lunn <andrew@lunn.ch> 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>
|
H A D | fec_main.c | diff 2b30842b23b9e6796c7bd5f0916fd2ebf6b7d633 Wed Jun 07 03:57:09 CEST 2017 Andrew Lunn <andrew@lunn.ch> 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>
|