On Mon, Oct 05, 2026 at 02:42:43AM +0800, David Yang wrote:
The YT921x switches integrate GbE PHYs of the YT861x family (PHY ID
0x01e04281) on the switch-internal MDIO bus exposed by the yt921x DSA
driver. Without a specific driver they bind to the generic PHY driver
and lack the cable diagnostic facility. Add a driver entry for them
with cable test support.
Since this does two different things, it should be two patches.
Does the cable test code apply to other devices this driver drive?
quoted hunk ↗ jump to hunk
@@ -18,7 +19,9 @@
#define PHY_ID_YT8522 0x4f51e928
#define PHY_ID_YT8531 0x4f51e91b
#define PHY_ID_YT8531S 0x4f51e91a
+#define PHY_ID_INT861X 0x01e04281
Is this the ID of the switch itself? It does not match the pattern.
#define PHY_ID_YT8821 0x4f51ea19
Andrew