[PATCH net-next v1 3/3] net: fec: add basic selftest support
Andrew Lunn
andrew at lunn.ch
Wed Mar 31 13:27:19 BST 2021
On Tue, Mar 30, 2021 at 03:54:07PM +0200, Oleksij Rempel wrote:
> Port some parts of the stmmac selftest to the FEC. This patch was tested
> on iMX6DL.
> With this tests it is possible to detect some basic issues like:
> - MAC loopback fail: most probably wrong clock configuration.
> - PHY loopback fail: incorrect RGMII timings, damaged traces, etc
Hi
Oleksij
I've not done a side-by-side diff with stmmac, but i guess a lot of
this code is identical? Rather than make a copy/paste, could you move
it somewhere under net and turn it into a library any driver can use?
Andrew
More information about the linux-arm-kernel
mailing list