Searched hist:"7 d7e7bce768b9e21eb1b741a901c19c2bef1cccc" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/phy/ |
H A D | bcm-phy-lib.h | diff 7d7e7bce768b9e21eb1b741a901c19c2bef1cccc Wed May 13 18:35:21 CEST 2020 Michael Walle <michael@walle.cc> net: phy: broadcom: add exp register access methods without buslock
Add helper to read and write expansion registers without taking the mdio lock.
Please note, that this changes the semantics of the read and write. Before there was no lock between selecting the expansion register and the actual read/write. This may lead to access failures if there are parallel accesses. Instead take the bus lock during the whole access cycle.
Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | bcm-phy-lib.c | diff 7d7e7bce768b9e21eb1b741a901c19c2bef1cccc Wed May 13 18:35:21 CEST 2020 Michael Walle <michael@walle.cc> net: phy: broadcom: add exp register access methods without buslock
Add helper to read and write expansion registers without taking the mdio lock.
Please note, that this changes the semantics of the read and write. Before there was no lock between selecting the expansion register and the actual read/write. This may lead to access failures if there are parallel accesses. Instead take the bus lock during the whole access cycle.
Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|