OSDN Git Service

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)
commitd7ab15ab34a491b3837595b629e79323a1922fc8
treea17af5d43e6ae3e9d26cda46cb39a71b821daa02
parent2fc9f69edd2165f9047ae97cfad2341e82bd3437
parentd18af067c98eb187b8d9fe1f4e2e59ba3ad0a1d8
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>