From: FUJITA Tomonori <fujita.tomonori@gmail.com>
To: rust-for-linux@vger.kernel.org
Cc: andrew@lunn.ch, benno.lossin@proton.me, tmgross@umich.edu
Subject: [RFC PATCH v2 0/2] net::phy support for C45
Date: Sat, 1 Jun 2024 13:35:33 +0900 [thread overview]
Message-ID: <20240601043535.53545-1-fujita.tomonori@gmail.com> (raw)
Adds support for reading/writing C45 registers and genphy helper
functions executed via C45 registers.
We could add methods for C45 like read/write_c45 and
genphy_c45_read_status. Instead, this implements the API for C22 and
C45 with trait in an unified way.
v2:
- add genphy helper support and split the patch
- create a 'reg' module
- define C22 according to the specs
- handle C22 vendor specific registers
- add const for C45 MMD
v1: https://lore.kernel.org/all/20240530.145258.456915814420167538.fujita.tomonori@gmail.com/T/
FUJITA Tomonori (2):
rust: net::phy support for C45 register access
rust: net::phy support for C45 genphy helpers
drivers/net/phy/ax88796b_rust.rs | 7 +-
rust/kernel/net/phy.rs | 241 ++++++++++++++++++++++++++-----
rust/uapi/uapi_helper.h | 1 +
3 files changed, 212 insertions(+), 37 deletions(-)
base-commit: e19de2064fdf6f1f2488e36cf3927c3f1d01803c
--
2.34.1
next reply other threads:[~2024-06-01 4:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-01 4:35 FUJITA Tomonori [this message]
2024-06-01 4:35 ` [RFC PATCH v2 1/2] rust: net::phy support for C45 register access FUJITA Tomonori
2024-06-01 12:21 ` Benno Lossin
2024-06-02 7:24 ` FUJITA Tomonori
2024-06-02 9:59 ` Benno Lossin
2024-06-01 4:35 ` [RFC PATCH v2 2/2] rust: net::phy support for C45 genphy helpers FUJITA Tomonori
2024-06-01 12:23 ` Benno Lossin
2024-06-02 7:36 ` FUJITA Tomonori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240601043535.53545-1-fujita.tomonori@gmail.com \
--to=fujita.tomonori@gmail.com \
--cc=andrew@lunn.ch \
--cc=benno.lossin@proton.me \
--cc=rust-for-linux@vger.kernel.org \
--cc=tmgross@umich.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).