mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-28 18:51:24 +04:00
Package ax88796b_rust, the Rust reference driver for the Asix PHYs used by the AX88772 USB Ethernet adapters. It is equivalent to the C driver of kmod-phy-ax88796b and provides that package, so kmod-usb-net-asix works with either; the C driver stays the default variant. Upstream builds only one of the two drivers. A hack patch makes AX88796B_RUST_PHY a module of its own so that both are built. The Rust PHY abstractions are part of the kernel's Rust crate in vmlinux and need a built-in PHY library, so the package enables RUST_PHYLIB_ABSTRACTIONS and PHYLIB=y. Answer the options these make visible in the generic configuration. Signed-off-by: Daniel Golle <daniel@makrotopia.org>