1
1

realtek: mdio: RTL931x does not need ext_page set

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>
This commit is contained in:
Markus Stockhausen 2026-05-03 17:25:25 +02:00 committed by Robert Marko
parent fa4eec38ca
commit f91c59650e

View 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,