mv88e6xxx fixes (mainly 88E6393X family)
Status from this message: This series was applied to netdev/net.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 0 repliesApplied 6/6
- v16 patches 8 repliesSuperseded
Changes in v2 from the cover letter
- fixed wrong operator in patch 3 (thanks Russell)
- added more comments about why BMCR_ANENABLE is used in patch 6 (thanks Russell)
- updated some return statements from
Patches in v2 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | net: dsa: mv88e6xxx: Fix application of erratum 4.8 for 88E6393Xdrivers/ | +33 | 0 replies | Applied |
| 2/6 | net: dsa: mv88e6xxx: Drop unnecessary check in mv88e6393x_serdes_erratum_4_6()drivers/ | +11 | 0 replies | Applied |
| 3/6 | net: dsa: mv88e6xxx: Save power by disabling SerDes trasmitter and receiverdrivers/ drivers/ | +45 | 0 replies | Applied |
| 4/6 | net: dsa: mv88e6xxx: Add fix for erratum 5.2 of 88E6393X familydrivers/ | +48 | 0 replies | Applied |
| 5/6 | net: dsa: mv88e6xxx: Fix inband AN for 2500base-x on 88E6393X familydrivers/ drivers/ | +61 | 0 replies | Applied |
| 6/6 | net: dsa: mv88e6xxx: Link in pcs_get_state() if AN is bypasseddrivers/ | +42 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH net v2 0/6] mv88e6xxx fixes (mainly 88E6393X family)
Hello,
sending v2 of these fixes.
Original cover letter:
So I managed to discovered how to fix inband AN for 2500base-x mode on 88E6393x (Amethyst) family.
This series fixes application of erratum 4.8, adds fix for erratum 5.2, adds support for completely disablign SerDes receiver / transmitter, fixes inband AN for 2500base-x mode by using 1000base-x mode and simply changing frequeny to 3.125 GHz, all this for 88E6393X.
The last commit fixes linking when link partner has AN disabled and the device invokes the AN bypass feature. Currently we fail to link in this case.
Changes since v1:
- fixed wrong operator in patch 3 (thanks Russell)
- added more comments about why BMCR_ANENABLE is used in patch 6 (thanks Russell)
- updated some return statements from
if (something)
return func();
return 0;
to
if (something)
err = func();
return err;(err is set to 0 before the condition)
Marek
Marek Behún (6):
net: dsa: mv88e6xxx: Fix application of erratum 4.8 for 88E6393X
net: dsa: mv88e6xxx: Drop unnecessary check in
mv88e6393x_serdes_erratum_4_6()
net: dsa: mv88e6xxx: Save power by disabling SerDes trasmitter and
receiver
net: dsa: mv88e6xxx: Add fix for erratum 5.2 of 88E6393X family
net: dsa: mv88e6xxx: Fix inband AN for 2500base-x on 88E6393X family
net: dsa: mv88e6xxx: Link in pcs_get_state() if AN is bypassed
drivers/net/dsa/mv88e6xxx/serdes.c | 252 +++++++++++++++++++++++++---- drivers/net/dsa/mv88e6xxx/serdes.h | 4 + 2 files changed, 224 insertions(+), 32 deletions(-)
Signature · 1 line
2.32.0