]> 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)
commit2d68d5411accaa82e9ba7e35783cf79b4161024f
treea52c0faf0e485e6bc1958b3cc5ff9ad8d36f24d6
parent74dd99cc0b9970fe04e7a813531a34f5e569c353
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: d7a87ee16ab1 ("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