diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-03-22 20:00:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-26 01:08:21 +0100 |
commit | d29f5aa0bc0c321e1b9e4658a2a7e08e885da52a (patch) | |
tree | f00bbcfc3a9cba7459b1ccaca4350e0aea7850b5 /Makefile | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff) | |
download | linux-d29f5aa0bc0c321e1b9e4658a2a7e08e885da52a.tar.xz linux-d29f5aa0bc0c321e1b9e4658a2a7e08e885da52a.zip |
net: phy: don't clear BMCR in genphy_soft_reset
So far we effectively clear the BMCR register. Some PHY's can deal
with this (e.g. because they reset BMCR to a default as part of a
soft-reset) whilst on others this causes issues because e.g. the
autoneg bit is cleared. Marvell is an example, see also thread [0].
So let's be a little bit more gentle and leave all bits we're not
interested in as-is. This change is needed for PHY drivers to
properly deal with the original patch.
[0] https://marc.info/?t=155264050700001&r=1&w=2
Fixes: 6e2d85ec0559 ("net: phy: Stop with excessive soft reset")
Tested-by: Phil Reid <preid@electromag.com.au>
Tested-by: liweihang <liweihang@hisilicon.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions