summaryrefslogtreecommitdiffstats
path: root/rust/uapi/uapi_helper.h
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@gmail.com>2023-12-13 01:42:11 +0100
committerDavid S. Miller <davem@davemloft.net>2023-12-15 10:35:50 +0100
commitcbe0e415089636170aa6eb540ca4af5dc9842a60 (patch)
tree1fc1c708e73692ba71393375f8d09850967293df /rust/uapi/uapi_helper.h
parentMAINTAINERS: add Rust PHY abstractions for ETHERNET PHY LIBRARY (diff)
downloadlinux-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/uapi/uapi_helper.h')
-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>