# Re: \[PATCH net-next\] regmap: Rework regmap\_mdio\_c45\_{read\|write} for new C45 API.

- From: Mark Brown \<broonie@kernel.org\>
- Date: 2023-01-16 14:59:02 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/01/2068285
- Thread: https://ratatoskr.run/netdev/2023/01/2067874/t.md

```text
On Mon, Jan 16, 2023 at 12:15:09PM +0100, Michael Walle wrote:
> From: Andrew Lunn <andrew@lunn.ch>
> 
> The MDIO subsystem is getting rid of MII_ADDR_C45 and thus also
> encoding associated encoding of the C45 device address and register
> address into one value. regmap-mdio also uses this encoding for the
> C45 bus.

The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2:

  Linux 6.2-rc1 (2022-12-25 13:41:39 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-mdio-c45-rework

for you to fetch changes up to 7b3c4c370c09313e22b555e79167e73d233611d1:

  regmap: Rework regmap_mdio_c45_{read|write} for new C45 API. (2023-01-16 13:16:09 +0000)

----------------------------------------------------------------
regmap: Rework regmap_mdio_c45_{read|write} for new C45 API.

This reworks the regmap MDIO handling of C45 addresses in
preparation for some forthcoming updates to the networking code.

----------------------------------------------------------------
Andrew Lunn (1):
      regmap: Rework regmap_mdio_c45_{read|write} for new C45 API.

 drivers/base/regmap/regmap-mdio.c | 41 ++++++++++++++++++++++-----------------
 include/linux/regmap.h            |  8 ++++++++
 2 files changed, 31 insertions(+), 18 deletions(-)
```

## Attachments

- [signature.asc](https://ratatoskr.run/netdev/2023/01/2068285/attachment/0) (application/pgp-signature, 488 bytes)
