Skip to content

net: phy: switch eee_broken_modes to linkmode bitmap and add accessor

Heiner Kallweit netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: phy: convert eee_broken_modes to a linkmode bitmapdrivers/net/phy/micrel.c drivers/net/phy/phy-c45.c drivers/net/phy/phy-core.c +1 more+19 -250 repliesApplied
2/3net: phy: add phy_set_eee_brokeninclude/linux/phy.h+10 -00 repliesApplied
3/3r8169: copy vendor driver 2.5G/5G EEE advertisement constraintsdrivers/net/ethernet/realtek/r8169_main.c drivers/net/ethernet/realtek/r8169_phy_config.c+10 -120 repliesApplied

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net-next 0/3] net: phy: switch eee_broken_modes to linkmode bitmap and add accessor

eee_broken_modes has a eee_cap1 register layout currently. This doen't allow to flag e.g. 2.5Gbps or 5Gbps BaseT EEE as broken. To overcome this limitation switch eee_broken_modes to a linkmode bitmap. Add an accessor for the bitmap and use it in r8169.

Heiner Kallweit (3):
net: phy: convert eee_broken_modes to a linkmode bitmap
net: phy: add phy_set_eee_broken
r8169: copy vendor driver 2.5G/5G EEE advertisement constraints

 drivers/net/ethernet/realtek/r8169_main.c     |  6 ++++
 .../net/ethernet/realtek/r8169_phy_config.c   | 16 +++------
 drivers/net/phy/micrel.c                      |  2 +-
 drivers/net/phy/phy-c45.c                     | 12 +++----
 drivers/net/phy/phy-core.c                    | 34 +++++++++++++------
 include/linux/phy.h                           | 10 +++---
 6 files changed, 44 insertions(+), 36 deletions(-)
Signature · 1 line
2.47.0