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>
This commit is contained in:
FUJITA Tomonori
2023-12-13 09:42:11 +09:00
committed by David S. Miller
parent cbaa28f970
commit cbe0e41508
5 changed files with 158 additions and 1 deletions

View File

@@ -7,3 +7,5 @@
*/
#include <uapi/asm-generic/ioctl.h>
#include <uapi/linux/mii.h>
#include <uapi/linux/ethtool.h>