net: phy: realtek: fix using paged operations with RTL8105e / RTL8208
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 1 Dec 2019 09:51:47 +0000 (10:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Dec 2019 21:14:21 +0000 (13:14 -0800)
commitf3284e014850e45f63fbc74c7382453c876fbc35
tree5c607b052c427498ff8f33207997c6f1c4d874ae
parent398fd408ccfb5e44b1cbe73a209d2281d3efa83c
net: phy: realtek: fix using paged operations with RTL8105e / RTL8208

It was reported [0] that since the referenced commit a warning is
triggered in phylib that complains about paged operations being used
with a PHY driver that doesn't support this. The commit isn't wrong,
just for one chip version (RTL8105e) no dedicated PHY driver exists
yet. So add the missing PHY driver.

[0] https://bugzilla.kernel.org/show_bug.cgi?id=202103

Fixes: 3a129e3f9ac4 ("r8169: switch to phylib functions in more places")
Reported-by: jhdskag3 <jhdskag3@tutanota.com>
Tested-by: jhdskag3 <jhdskag3@tutanota.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/realtek.c