]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: realtek: support paged operations on RTL8201CP
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 8 Nov 2020 21:44:02 +0000 (22:44 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Nov 2020 00:11:39 +0000 (16:11 -0800)
commit2c4f1b26f4481da1fb839664f2627e7b4a73dd6f
treeab9c151461c44e43bf18b36c5ecd5f213bcba2c9
parentd0fcb0ee2abdb4d074ddd3c8f225df3d65c398dd
net: phy: realtek: support paged operations on RTL8201CP

The RTL8401-internal PHY identifies as RTL8201CP, and the init
sequence in r8169, copied from vendor driver r8168, uses paged
operations. Therefore set the same paged operation callbacks as
for the other Realtek PHY's.

Fixes: 354b6f8f0a86 ("r8169: sync support for RTL8401 with vendor driver")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/69882f7a-ca2f-e0c7-ae83-c9b6937282cd@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/realtek.c