[PATCH net-next 0/2] net: phy: add Rust reference driver for ET1011C
From: Artem Lytkin
Date: Mon Feb 23 2026 - 17:13:09 EST
This series adds a Rust reference driver for the LSI ET1011C PHY,
following the pattern established by the existing Rust Asix PHY driver
(ax88796b_rust.rs).
Patch 1 exposes genphy_config_aneg() in the Rust PHY abstraction,
which is needed by PHY drivers that perform custom BMCR configuration
before calling the generic auto-negotiation setup.
Patch 2 adds the Rust ET1011C driver itself, implementing config_aneg
and read_status callbacks. It is a feature-equivalent port of the C
driver at drivers/net/phy/et1011c.c.
Artem Lytkin (2):
rust: net: phy: expose genphy_config_aneg()
net: phy: add Rust reference driver for ET1011C
drivers/net/phy/Kconfig | 9 +++++
drivers/net/phy/Makefile | 6 ++-
drivers/net/phy/et1011c_rust.rs | 70 +++++++++++++++++++++++++++++++++
rust/kernel/net/phy.rs | 9 +++++
4 files changed, 93 insertions(+), 1 deletion(-)
create mode 100644 drivers/net/phy/et1011c_rust.rs
--
2.43.0