aboutsummaryrefslogtreecommitdiff
path: root/net/core/utils.c
diff options
context:
space:
mode:
authorMaxime Bizon <mbizon@freebox.fr>2012-10-20 14:53:40 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-11-01 03:11:13 -0700
commitac56558fc6ed4943ba4d9dd0046437d4fb05e8b6 (patch)
tree0bf6b989e7cb6cf2b0fc9aa4c93429c57a27fca1 /net/core/utils.c
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 <mbizon@freebox.fr> Signed-off-by: Florian Fainelli <ffainelli@freebox.fr> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions