RE: [PATCH net-next v1 0/3] r816e: Add r816e driver in Realtek
From: javen <hidden>
Date: 2026-01-28 06:53:42
Also in:
lkml
On 1/27/2026 12:34 PM, javen wrote:quoted
From: Javen Xu <redacted> This series patch add a fake driver r816e to ensure the kernel could set the correct power state for #fun through r816e driver when suspending.I think a better approach would be to contribute to adding phylink/sfp support to r8169, so that the SFP NIC versions (incl. RTL8116AF) can be properly supported. This would have to include making the SFP I2C bus accessible by the kernel (instead of firmware only).
RTL8116af is a multi-function device. fun0 is a BMC virtual driver and fun1 is the nic driver. The BMC virtual driver(fun0) is used for power management, while fun1 provides the actual network functionality. Thanks, Javen Xu
quoted
Javen Xu (3): r816e: add a fake driver r816e for RTL8116af r816e: Add a Makefile in the r816e folder realtek: Update Makefile and Kconfig drivers/net/ethernet/realtek/Kconfig | 7 ++ drivers/net/ethernet/realtek/Makefile | 1 + drivers/net/ethernet/realtek/r816e/Makefile | 8 +++ drivers/net/ethernet/realtek/r816e/r816e.c | 75 +++++++++++++++++++++ 4 files changed, 91 insertions(+) create mode 100644 drivers/net/ethernet/realtek/r816e/Makefile create mode 100644 drivers/net/ethernet/realtek/r816e/r816e.c