net: phy: provide full set of accessor functions to MMD registers
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>
Wed, 6 Feb 2019 06:36:40 +0000 (07:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Feb 2019 17:52:43 +0000 (09:52 -0800)
commit1878f0dcbff0cd07f62602deb160a44d69a8f146
treec7056a1a677d5ef48e85f0b0c2de4220626630cf
parent5661f29ade245afe85c14f642e5043737f53015f
net: phy: provide full set of accessor functions to MMD registers

This adds full set of locked and unlocked accessor functions to read and
write PHY MMD registers and/or bitfields.

Set of functions exactly matches what is already available for PHY
legacy registers.

Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy-core.c
include/linux/phy.h