> > > It looks like you are using an old tree.
> > Yes, it is linux-4.19.y, since 4.19.y does not have autoneg_complete flag,,
> > This patch adds the condition before
> > reading GBSR register to fix this error state.
>
> So you first need to fix it in net/master, and then backport it to
> older kernels.
This patch is modified according to the contents of the latest kernels,
the following is a reference:
[ Upstream commit b6163f194c699ff75fa6aa4565b1eb8946c2c652 ]
[ Upstream commit 4950c2ba49cc6f2b38dbedcfa0ff67acf761419a ]