aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMaxime Bizon <[email protected]>2012-10-20 14:53:40 +0000
committerJeff Kirsher <[email protected]>2012-11-01 03:11:13 -0700
commitac56558fc6ed4943ba4d9dd0046437d4fb05e8b6 (patch)
tree0bf6b989e7cb6cf2b0fc9aa4c93429c57a27fca1 /tools/perf/scripts/python
parentede4126efc93dcee555100c8fe00ed201713e800 (diff)
e1000: fix concurrent accesses to PHY from watchdog and ethtool
The e1000 driver currently does not protect concurrent accesses to the PHY from both the ethtool callbacks, and from the e1000_watchdog function. This patchs adds a new spinlock which is used by e1000_{read,write}_phy_reg in order to serialize concurrent accesses to the PHY. Signed-off-by: Maxime Bizon <[email protected]> Signed-off-by: Florian Fainelli <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions