]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'use-mmd-c45-helpers'
authorPaolo Abeni <pabeni@redhat.com>
Mon, 2 May 2022 11:21:40 +0000 (13:21 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 2 May 2022 11:21:41 +0000 (13:21 +0200)
commit4b59dabf463735eb518799b52271a67a284b1d2a
treea17af5d43e6ae3e9d26cda46cb39a71b821daa02
parent2bb0f1e2eb5d22bdb0a17b8e083c0bf1a3dcb0a9
parentee48d7d9c38e5d9fe9d86966b2e9a376b665f365
Merge branch 'use-mmd-c45-helpers'

Andrew Lunn says:

====================
Use MMD/C45 helpers

MDIO busses can perform two sorts of bus transaction, defined in
clause 22 and clause 45 of 802.3. This results in two register
addresses spaces. The current driver structure for indicating if C22
or C45 should be used is messy, and many C22 only bus drivers will
wrongly interpret a C45 transaction as a C22 transaction.

This patchset is a preparation step to cleanup the situation. It
converts MDIO bus users to make use of existing _mmd and _c45 helpers
to perform accesses to C45 registers. This will later allow C45 and
C22 to be kept separate.
====================

Link: https://lore.kernel.org/r/20220430173037.156823-1-andrew@lunn.ch
Signed-off-by: Paolo Abeni <pabeni@redhat.com>