]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: evaluate pcs-handle instead of sds property
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Wed, 24 Sep 2025 12:28:35 +0000 (08:28 -0400)
committerRobert Marko <robimarko@gmail.com>
Thu, 25 Sep 2025 09:01:10 +0000 (11:01 +0200)
commit7d67b1022a0bef3a55be5c57743f15560f97697f
treedbcfd9c22dd65922989296f514f3dc4b7f8b183a
parent10f3f6d6d850b7e8c690ce732111ca939ccaeb3c
realtek: evaluate pcs-handle instead of sds property

In the Realtek dts the pcs-handle property at the switch port is the
successor of the sds property at the phy. Rearrange the MDIO and DSA
driver so they always look at the new attribute.

Remark! This code can be dropped completely if the new PCS driver
is fully featured. But this will take some time.

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