OpenCloudOS-Kernel/drivers/net/ethernet/intel/e1000
Maxime Bizon ac56558fc6 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>
2012-11-01 03:11:13 -07:00
..
Makefile
e1000.h e1000: Adding e1000_dump function 2012-02-07 04:01:46 -08:00
e1000_ethtool.c e1000: configure and read MDI settings 2012-08-21 01:25:34 -07:00
e1000_hw.c e1000: fix concurrent accesses to PHY from watchdog and ethtool 2012-11-01 03:11:13 -07:00
e1000_hw.h e1000: Adding e1000_dump function 2012-02-07 04:01:46 -08:00
e1000_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2012-10-02 13:38:27 -07:00
e1000_osdep.h
e1000_param.c