diff options
author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2023-12-13 01:42:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-15 10:35:50 +0100 |
commit | cbe0e415089636170aa6eb540ca4af5dc9842a60 (patch) | |
tree | 1fc1c708e73692ba71393375f8d09850967293df /rust | |
parent | MAINTAINERS: add Rust PHY abstractions for ETHERNET PHY LIBRARY (diff) | |
download | linux-cbe0e415089636170aa6eb540ca4af5dc9842a60.tar.xz linux-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> |