mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
r8169: add support for RTL8116af
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 <javen_xu@realsil.com.cn> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20260831053745.1197-5-javen_xu@realsil.com.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
8a3c76523e
commit
dab515216d
1 changed files with 158 additions and 34 deletions
Loading…
Add table
Add a link
Reference in a new issue