aboutsummaryrefslogtreecommitdiff
path: root/rust/uapi
diff options
context:
space:
mode:
authorFUJITA Tomonori <[email protected]>2023-12-13 09:42:11 +0900
committerDavid S. Miller <[email protected]>2023-12-15 09:35:50 +0000
commitcbe0e415089636170aa6eb540ca4af5dc9842a60 (patch)
tree1fc1c708e73692ba71393375f8d09850967293df /rust/uapi
parentcbaa28f970a1d01528ed7c3a376a54fc68c24056 (diff)
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 <[email protected]> Reviewed-by: Trevor Gross <[email protected]> Reviewed-by: Benno Lossin <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'rust/uapi')
-rw-r--r--rust/uapi/uapi_helper.h2
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>