]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: net::phy unified genphy_read_status function for C22 and C45 registers
authorFUJITA Tomonori <fujita.tomonori@gmail.com>
Wed, 28 Aug 2024 07:35:15 +0000 (07:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2024 09:27:35 +0000 (10:27 +0100)
commit5114e05a3cfa61c2ea20fa2e223a8e519aa163e4
tree28ad7cec64185a7a4b58902aea04c5e0b32fb5be
parentb2e47002b2350f57bfa8fe1c231e9fbb6baef78b
rust: net::phy unified genphy_read_status function for C22 and C45 registers

Add unified genphy_read_status function for C22 and C45
registers. Instead of having genphy_c22 and genphy_c45 methods, this
unifies genphy_read_status functions for C22 and C45.

Reviewed-by: Trevor Gross <tmgross@umich.edu>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
rust/kernel/net/phy.rs
rust/kernel/net/phy/reg.rs