diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-06-18 23:25:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-20 17:31:26 -0700 |
commit | 89fbd26cca7ec9e82ec4787a4b6e95939b57d073 (patch) | |
tree | ea3ed8e8ab504314bd304a4a012f0ec72e965ce7 /tools | |
parent | 8b40eb73509f5704a0e8cd25de0163876299f1a7 (diff) | |
download | linux-89fbd26cca7ec9e82ec4787a4b6e95939b57d073.tar.bz2 |
r8169: fix firmware not resetting tp->ocp_base
Typically the firmware takes care that tp->ocp_base is reset to its
default value. That's not the case (at least) for RTL8117.
As a result subsequent PHY access reads/writes the wrong page and
the link is broken. Fix this be resetting tp->ocp_base explicitly.
Fixes: 229c1e0dfd3d ("r8169: load firmware for RTL8168fp/RTL8117")
Reported-by: Aaron Ma <mapengyu@gmail.com>
Tested-by: Aaron Ma <mapengyu@gmail.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions