Skip to content

net: phy: marvell-88x2222: a couple of improvements

Ivan Bornyakov lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesApplied 3/3
  2. v12 patches 9 repliesSuperseded

Changes in v2 from the cover letter

* make checking that link is operational more friendly for trancievers without SFP cages.
* split swapping 1G/10G modes into non-functional and functional commits for the sake of easier review.

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: phy: marvell-88x2222: check that link is operationaldrivers/net/phy/marvell-88x2222.c+43 -00 repliesApplied
2/3net: phy: marvell-88x2222: move read_status after config_anegdrivers/net/phy/marvell-88x2222.c+98 -980 repliesApplied
3/3net: phy: marvell-88x2222: swap 1G/10G modes on autonegdrivers/net/phy/marvell-88x2222.c+89 -280 repliesApplied

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH net-next v2 0/3] net: phy: marvell-88x2222: a couple of improvements

First, there are some SFP modules that only uses RX_LOS for link indication. Add check that link is operational before actual read of line-side status.

Second, it is invalid to set 10G speed without autonegotiation, according to phy_ethtool_ksettings_set(). Implement switching between 10GBase-R and 1000Base-X/SGMII if autonegotiation can't complete but there is signal in line.

Changelog:
v1 -> v2:
* make checking that link is operational more friendly for trancievers without SFP cages.
* split swapping 1G/10G modes into non-functional and functional commits for the sake of easier review.

Ivan Bornyakov (3):
net: phy: marvell-88x2222: check that link is operational
net: phy: marvell-88x2222: move read_status after config_aneg
net: phy: marvell-88x2222: swap 1G/10G modes on autoneg

 drivers/net/phy/marvell-88x2222.c | 314 ++++++++++++++++++++----------
 1 file changed, 209 insertions(+), 105 deletions(-)
Signature · 1 line
2.26.3