Fix PHY handle no longer parsing
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest3 patches 5 repliesApplied 3/3
- v43 patches 1 replySuperseded
- v33 patches 6 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 2 patches | 14 replies | Superseded | |
| v1 | 2 patches | 4 replies | Superseded |
Patches in v5 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net: phylink: add phylink_expects_phy() methoddrivers/ include/ | +20 | 2 replies | Applied |
| 2/3 | net: stmmac: check if MAC needs to attach to a PHYdrivers/ | +3 | 3 replies | Applied |
| 3/3 | net: stmmac: remove redundant fixup to support fixed-link modedrivers/ | +0 | 0 replies | Applied |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Russell King (Oracle) |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net v5 0/3] Fix PHY handle no longer parsing
After the fixed link support was introduced, it is observed that PHY no longer attach to the MAC properly. So we introduce a helper function to determine if the MAC should expect to connect to a PHY and proceed accordingly.
Michael Sit Wei Hong (3):
net: phylink: add phylink_expects_phy() method
net: stmmac: check if MAC needs to attach to a PHY
net: stmmac: remove redundant fixup to support fixed-link mode
.../net/ethernet/stmicro/stmmac/dwmac-intel.c | 1 - .../net/ethernet/stmicro/stmmac/stmmac_main.c | 4 +++- drivers/net/phy/phylink.c | 19 +++++++++++++++++++ include/linux/phylink.h | 1 + 4 files changed, 23 insertions(+), 2 deletions(-)
v2: Initialize fwnode before using the variable
v3: Introduced phylink_expects_phy() method as suggested by Russell King
remove xpcs_an_inband fixup instead of moving the fixed-link check as suggested by Andrew Lunn
v4: Modify phylink_expects_phy() to check for more complete set of
conditions when no PHY is needed and return false if met.
v5: Enhance phylink_expects_phy() description.
Signature · 1 line
2.34.1