net: phy: add Rust Asix PHY driver
authorFUJITA Tomonori <fujita.tomonori@gmail.com>
Wed, 13 Dec 2023 00:42:11 +0000 (09:42 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2023 09:35:50 +0000 (09:35 +0000)
commitcbe0e415089636170aa6eb540ca4af5dc9842a60
tree1fc1c708e73692ba71393375f8d09850967293df
parentcbaa28f970a1d01528ed7c3a376a54fc68c24056
net: phy: add Rust Asix PHY driver

This is the Rust implementation of drivers/net/phy/ax88796b.c. The
features are equivalent. You can choose C or Rust version kernel
configuration.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Reviewed-by: Trevor Gross <tmgross@umich.edu>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
drivers/net/phy/Kconfig
drivers/net/phy/Makefile
drivers/net/phy/ax88796b_rust.rs [new file with mode: 0644]
rust/uapi/uapi_helper.h