|
|
Log in / Subscribe / Register

r8169: fix RTL8116AF low power and link readiness issues

From:  javen <javen_xu-AT-realsil.com.cn>
To:  <hkallweit1-AT-gmail.com>, <nic_swsd-AT-realtek.com>, <andrew+netdev-AT-lunn.ch>, <davem-AT-davemloft.net>, <edumazet-AT-google.com>, <kuba-AT-kernel.org>, <pabeni-AT-redhat.com>, <horms-AT-kernel.org>
Subject:  [PATCH net-next v1 0/5] r8169: fix RTL8116AF low power and link readiness issues
Date:  Wed, 03 Jun 2026 14:59:11 +0800
Message-ID:  <20260603065916.334-1-javen_xu@realsil.com.cn>
Cc:  <netdev-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>, Javen Xu <javen_xu-AT-realsil.com.cn>
Archive-link:  Article

From: Javen Xu <javen_xu@realsil.com.cn>

This series fixes several RTL8116AF issues in r8169.

RTL8116af operate in a SFP mode where the standard PHY register path does not
provide all required information for normal phylib. In this mode, the driver
needs a dummy PHY ID so that phylib can attach to a dummy Realtek PHY driver,
while selected standard PHY registers are handled through the SerDes register.
And RTL8116af is a multi-function card, all the function should be set to d3hot
and enable aspm to ensure that system can enter C10 and s0ix power saving state,
including invisble function 2 to 7.

Javen Xu (5):
  net: phy: realtek: add support for dummy phy
  r8169: move funcitons forward
  r8169: fix RTL8116af readiness bug
  r8169: add ltr support for RTL8116af
  r8169: fix RTL8116af can not enter s0idle and c10

 drivers/net/ethernet/realtek/r8169_main.c | 217 ++++++++++++++++------
 drivers/net/phy/realtek/realtek_main.c    |  54 ++++++
 include/net/phy/realtek_phy.h             |   1 +
 3 files changed, 214 insertions(+), 58 deletions(-)

-- 
2.43.0




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds