From: Jonas Jelonek Date: Fri, 26 Jun 2026 10:08:43 +0000 (+0000) Subject: realtek: mdio: add polling setup support for RTL8264B X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F23946%2Fhead;p=thirdparty%2Fopenwrt.git realtek: mdio: add polling setup support for RTL8264B Add polling setup support for RTL8264B PHY to avoid 'skip polling' message during boot. Rely on the default register values for polling for now, similar to RTL8261. Link: https://github.com/openwrt/openwrt/pull/23946 Signed-off-by: Jonas Jelonek --- diff --git a/target/linux/realtek/files-6.18/drivers/net/mdio/mdio-realtek-otto.c b/target/linux/realtek/files-6.18/drivers/net/mdio/mdio-realtek-otto.c index c4d425b7847..0a4214166ff 100644 --- a/target/linux/realtek/files-6.18/drivers/net/mdio/mdio-realtek-otto.c +++ b/target/linux/realtek/files-6.18/drivers/net/mdio/mdio-realtek-otto.c @@ -92,6 +92,7 @@ #define RTMD_PHY_RTL8224 0x001ccad0 #define RTMD_PHY_RTL8226 0x001cc838 #define RTMD_PHY_RTL8261 0x001ccaf3 +#define RTMD_PHY_RTL8264B 0x001cc813 #define RTMD_PHY_MAC_1G 3 #define RTMD_PHY_MAC_2G_PLUS 1 @@ -737,6 +738,7 @@ static int rtmd_get_phy_info(struct rtmd_ctrl *ctrl, int pn, struct rtmd_phy_inf phyinfo->poll_lpa_1000 = RTMD_PHY_POLL_MMD(31, 0xa414, 11); break; case RTMD_PHY_RTL8261: + case RTMD_PHY_RTL8264B: phyinfo->mac_type = RTMD_PHY_MAC_2G_PLUS; phyinfo->has_giga_lite = true; phyinfo->has_res_reg = true;