lkml.org 
[lkml]   [2021]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectnet: mdio: support c45 peripherals on c22 only capable mdio controllers
Date
This patch series adds support for clause 45 peripherals on busses driven
by an mdio controller that is only capable of clause 22 frame format
messages by indirect bus accesses.

In order to do so we

- change the name of the field probe_capabilities to capabilities in
struct mii_bus to represent the bus capabilities in general (not only
for probing)
- add functions mdiobus_*_mmd() and mdiobus_indirect_mmd() to handle
indirect bus accesses
- let mdiobus_c45_*() functions check the bus capabilities in order to
decide whether a real clause 45 bus transfer or indirect access should
be performed
- use the new functions to simplify existing code a little bit
- and finally allow probing for clause 45 peripherals on busses that are
not capable of the clause 45 frame format


\
 
 \ /
  Last update: 2021-03-31 16:19    [W:0.047 / U:0.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site