Thread (22 messages) flat view 22 messages, 4 authors, 19d ago

Re: [PATCH net-next v9 4/7] r8169: add support for RTL8116af

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-09-02 14:39:19
Also in: lkml

On Mon, Aug 31, 2026 at 01:37:42PM +0800, javen wrote:
From: Javen Xu <redacted>

RTL8116af is sfp mode. Phylink uses pcs to get the link status from its
serdes reg, instead of standard phy reg. Speed and duplex are hardcoded
to 1000Mbps Full-Duplex. Also, RTL8116af doesn't have internal phy, so
we add some checks to ensure that tp->phydev is not empty when we need it.
In rtl_hw_start_8117(), the MAC calibration for register 0xd412 relies
on reading the internal PHY register 0x0c42. Since RTL8116af does not
have an internal PHY, this calibration step is intentionally bypassed.

Signed-off-by: Javen Xu <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help