]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2c20552294308e2618b854e4f4514c049251a70
treec7056a1a677d5ef48e85f0b0c2de4220626630cf
parent193c564d46b08b4bd1d5987a471b7aeb48078a3e
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