mbox series

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

Message ID 405734c5-0ed4-40e4-9ac9-91084b9536d6@gmail.com (mailing list archive)
Headers show
Series net: phy: switch eee_broken_modes to linkmode bitmap and add accessor | expand

Message

Heiner Kallweit Nov. 8, 2024, 6:53 a.m. UTC
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(-)