Thread (6 messages) 6 messages, 3 authors, 1d ago
WARM1d
Revisions (2)
  1. v2 current
  2. v3 [diff vs current]

[PATCH net-next v2 0/2] net: stmmac: Fix PHY attach when custom PCS is in use

From: Zxyan Zhu <hidden>
Date: 2026-07-26 13:26:43
Also in: linux-arm-kernel, lkml

This series fixes the issue where stmmac platforms using a custom PCS
via the pcs_init callback fail to probe when no phy-handle is specified
in the device tree.

Patch 1 is Russell King's phylink patch that relaxes phylink_expects_phy()
to allow PHYs to be attached in 802.3z inband mode.

Patch 2 skips the PHY attach in stmmac when a custom PCS is already
configured via priv->hw->phylink_pcs, avoiding the "no phy found" error
for platforms that manage link state entirely through the PCS.

v2:
- Include Russell's phylink patch as prerequisite (Patch 1)
- This is now a 2-patch series targeting net-next

Russell King (Oracle) (1):
  net: phylink: allow PHYs to be attached in 802.3z inband mode

Zxyan Zhu (1):
  net: stmmac: Skip PHY attach if custom PCS is in use

 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 ++++
 drivers/net/phy/phylink.c                         | 8 ++------
 2 files changed, 6 insertions(+), 6 deletions(-)

--
2.34.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help