diff options
| author | Russell King <[email protected]> | 2020-05-26 15:29:36 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-05-26 22:31:45 +0000 |
| commit | 90ce665c6a40dc1be771bf5f86e624c0acf3a76f (patch) | |
| tree | 2a47bbd8f8eeef4638694115ca06e66bda2c0da4 /drivers/net/wireless/intel/iwlwifi/mvm/rs.c | |
| parent | Merge branch 'flow-mpls' (diff) | |
| download | kernel-90ce665c6a40dc1be771bf5f86e624c0acf3a76f.tar.gz kernel-90ce665c6a40dc1be771bf5f86e624c0acf3a76f.zip | |
net: mdiobus: add clause 45 mdiobus accessors
There is a recurring pattern throughout some of the PHY code converting
a devad and regnum to our packed clause 45 representation. Rather than
having this scattered around the code, let's put a common translation
function in mdio.h, and provide some register accessors.
Convert the phylib core, phylink, bcm87xx and cortina to use these.
Signed-off-by: Russell King <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/rs.c')
0 files changed, 0 insertions, 0 deletions
