realtek: rtl93xx: Do not use media register to get link status
authorHarshal Gohel <hg@simonwunderlich.de>
Thu, 3 Jul 2025 13:28:22 +0000 (13:28 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 7 Aug 2025 13:50:01 +0000 (15:50 +0200)
commit2645c4afbb0935ed91d38c961037465078078064
tree77d5222e1f2aa50c3371a9503e9fc0e8e9dc9239
parent71c85bd88a7454f5ac34513ca70ade3854dd3086
realtek: rtl93xx: Do not use media register to get link status

The media_sts register only shows type of link, fiber/copper,
and has nothing to do with the link status

Signed-off-by: Harshal Gohel <hg@simonwunderlich.de>
Signed-off-by: Sharadanand Karanjkar <sk@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/19575
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c