diff options
author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2023-12-13 09:42:11 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-15 09:35:50 +0000 |
commit | cbe0e415089636170aa6eb540ca4af5dc9842a60 (patch) | |
tree | 1fc1c708e73692ba71393375f8d09850967293df /rust | |
parent | cbaa28f970a1d01528ed7c3a376a54fc68c24056 (diff) | |
download | lwn-cbe0e415089636170aa6eb540ca4af5dc9842a60.tar.gz lwn-cbe0e415089636170aa6eb540ca4af5dc9842a60.zip |
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>
Diffstat (limited to 'rust')
-rw-r--r-- | rust/uapi/uapi_helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/uapi/uapi_helper.h b/rust/uapi/uapi_helper.h index 301f5207f023..08f5e9334c9e 100644 --- a/rust/uapi/uapi_helper.h +++ b/rust/uapi/uapi_helper.h @@ -7,3 +7,5 @@ */ #include <uapi/asm-generic/ioctl.h> +#include <uapi/linux/mii.h> +#include <uapi/linux/ethtool.h> |