]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: fix OCP access on RTL8117
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 21 May 2020 20:03:08 +0000 (22:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 May 2020 23:14:01 +0000 (16:14 -0700)
commit690b529aeb6c24791297e3b515850cfb1877dfe1
treea52c0faf0e485e6bc1958b3cc5ff9ad8d36f24d6
parent85717e78729d010b4ce7386ea7de9d50491df199
r8169: fix OCP access on RTL8117

According to r8168 vendor driver DASHv3 chips like RTL8168fp/RTL8117
need a special addressing for OCP access.
Fix is compile-tested only due to missing test hardware.

Fixes: 24ea8ff2185c ("r8169: add support for RTL8117")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c