]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'Fix-88x3310-leaving-power-save-mode'
authorDavid S. Miller <davem@davemloft.net>
Tue, 14 Apr 2020 23:48:09 +0000 (16:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Apr 2020 23:48:09 +0000 (16:48 -0700)
commitc7d6666781b09215f17ff06858a15b59c99b317e
tree395d2def7dbc1aed505bc7e644409261602c8056
parent0ac1495aab3df29e0a45b76a2b0b5e1ff281250e
parentcb354d23c8b19cb775186160b89dde669114a4b5
Merge branch 'Fix-88x3310-leaving-power-save-mode'

Russell King says:

====================
Fix 88x3310 leaving power save mode

This series fixes a problem with the 88x3310 PHY on Macchiatobin
coming out of powersave mode noticed by Matteo Croce.  It seems
that certain PHY firmwares do not properly exit powersave mode,
resulting in a fibre link not coming up.

The solution appears to be to soft-reset the PHY after clearing
the powersave bit.

We add support for reporting the PHY firmware version to the kernel
log, and use it to trigger this new behaviour if we have v0.3.x.x
or more recent firmware on the PHY.  This, however, is a guess as
the firmware revision documentation does not mention this issue,
and we know that v0.2.1.0 works without this fix but v0.3.3.0 and
later does not.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>