commit | 788f9933db6172801336d0ae2dec5bdc7525389f | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Tue Jan 02 10:58:37 2018 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 03 11:00:22 2018 -0500 |
tree | bff7e4db796bc371b4f597bb8958e3391637cf0d | |
parent | 1b2dea2e6a6e3399e88784d57aea80f4fd5e8956 [diff] |
net: phy: add unlocked accessors Add unlocked versions of the bus accessors, which allows access to the bus with all the tracing. These accessors validate that the bus mutex is held, which is a basic requirement for all mii bus accesses. Also added is a read-modify-write unlocked accessor with the same locking requirements. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>