]> 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)
commite7eb40a6ac6300ea36663f601ccd42faab4595cd
treea17af5d43e6ae3e9d26cda46cb39a71b821daa02
parent0f3c37d9eb0003eaea8e6ea8e2b565da90375856
parent4e648b7126a0e17c82d4f212a7e197321d2cd805
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>