]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: mdio: RTL931x does not need ext_page set
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sun, 3 May 2026 15:25:25 +0000 (17:25 +0200)
committerRobert Marko <robimarko@gmail.com>
Tue, 5 May 2026 11:12:17 +0000 (13:12 +0200)
Remove the register write. It is never used in the SDK.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/23204
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.18/drivers/net/mdio/mdio-realtek-otto.c

index 9798ec2a420ccf88902b53d0976c28f909edde5a..0e10720b491b68d0f66a8beaf51c88d7b2b82c8a 100644 (file)
@@ -480,7 +480,6 @@ static int rtmdio_931x_write_c22(struct mii_bus *bus, u32 pn, u32 page, u32 reg,
 {
        struct rtmdio_931x_smi_access smi_access = {
                .ctrl_0 = RTMDIO_931X_C22_DATA(page, reg),
-               .ctrl_1 = 0x1ff,
                .ctrl_2 = (u32)(BIT_ULL(pn)),
                .ctrl_x = (u32)(BIT_ULL(pn) >> 32),
                .ctrl_3 = val,