realtek: phy: fix RTL8218D detection
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sun, 22 Sep 2024 17:36:14 +0000 (13:36 -0400)
committerRobert Marko <robimarko@gmail.com>
Sun, 27 Oct 2024 21:26:25 +0000 (22:26 +0100)
commit8f68e1abe591db4db5542466761b815d06775d21
treee8fa45b746ce50690ca818dde3fdb883a6e0e206
parent0ed688a4d9c72e2bc1b2197f13e44d10caa9841e
realtek: phy: fix RTL8218D detection

Currently RTL8218D detection works for a range of devices. That can lead to
false positives. E.g. RTL8218B or RTL8214FC are covered by the detection mask
as well. That is wrong. Nail detection down to the real RTL8218D phy id.

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