realtek: Add specific PHY polling options to support the Zyxel XGS1250/XGS1210
authorBirger Koblitz <git@birger-koblitz.de>
Sun, 30 Jan 2022 05:20:25 +0000 (06:20 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 17 Feb 2022 15:21:47 +0000 (15:21 +0000)
commit08cf48c344395d69bdd31cc4a9e9cde11295b8a5
tree78dce47d79e1f0e7c53f1196282abdfff045402d
parent3cab11ad13d795650be4745815ad2829e74d430f
realtek: Add specific PHY polling options to support the Zyxel XGS1250/XGS1210

Both the Aquantia AQR113c and the RTL8226 PHYs in the Zyxel XGS1250 and the
Zyxel XGS1210 require special polling configuration settings in the
RTL930X_SMI_10GPHY_POLLING_REGxx_CFG configuration registers. Set them.
Additionally, for RTL 1GBit phys set the RTL930X_SMI_PRVTE_POLLING_CTRL bits
in the poll mask.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
target/linux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.c
target/linux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.h