Skip to content

Adding PHY MDI(X) support

Raju Lakkaraju netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 1 replyIn review

Changes in v2 from the cover letter

- Split the mdi(x) as signal set of patches.
- Remove the out_unlock as suggested by Andrew.
- Add mdix_ctrl parameter in "phy_device" to handle the user configure mdi(x). Proposed implementation accepted by Florian.
- phydev->mdix_ctrl initialize with ETH_TP_MDI_AUTO. Ethernet controller never initialize this parameter.
- Fix the mdix changes in marvell and microchip driver.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: phy: add mdix_ctrl to hold the user configuration.include/linux/phy.h+1 -00 replies
2/4net: phy: update the mdix_ctrl with correct value.drivers/net/phy/phy.c+6 -40 replies
3/4net: phy: Add mdi(x) support in Microsemi PHYs driverdrivers/net/phy/mscc.c+97 -80 replies
4/4net: phy: Fix the mdix_ctrl changesdrivers/net/phy/marvell.c drivers/net/phy/microchip.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/4] Adding PHY MDI(X) support

Hi All,

I updated all review comments which were given by Andrew and Florian.

This series add support for PHY MDI(X), and implement it for MSCC phys.

Tested on Beaglebone Black with VSC 8531 PHY.

Please review.

Thanks and regards
Raju.

---
Change set:
v1:
- Initial patch submit the WoL and MDI-X in single set of patches

v2:
- Split the mdi(x) as signal set of patches.
- Remove the out_unlock as suggested by Andrew.
- Add mdix_ctrl parameter in "phy_device" to handle the user configure mdi(x). Proposed implementation accepted by Florian.
- phydev->mdix_ctrl initialize with ETH_TP_MDI_AUTO. Ethernet controller never initialize this parameter.
- Fix the mdix changes in marvell and microchip driver.

Raju Lakkaraju (4):
net: phy: add mdix_ctrl to hold the user configuration.
net: phy: update the mdix_ctrl with correct value.
net: phy: Add mdi(x) support in Microsemi PHYs driver
net: phy: Fix the mdix_ctrl changes

 drivers/net/phy/marvell.c   |   4 +-
 drivers/net/phy/microchip.c |   2 +-
 drivers/net/phy/mscc.c      | 105 ++++++++++++++++++++++++++++++++++++++++----
 drivers/net/phy/phy.c       |  10 +++--
 include/linux/phy.h         |   1 +
 5 files changed, 107 insertions(+), 15 deletions(-)
Signature · 1 line
2.7.4