]> git.baikalelectronics.ru Git - kernel.git/commit
igb: serialize access to the time sync interrupt registers
authorRichard Cochran <richardcochran@gmail.com>
Fri, 21 Nov 2014 20:51:15 +0000 (20:51 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Jan 2015 02:10:18 +0000 (18:10 -0800)
commitda6711570462d11db3d0b21817a9ea76e8586e6f
treebfff8e2f894a71493c12a0918b9c34a6afa12dd9
parent8413c368738539804e4103fec94d78eced4d2bef
igb: serialize access to the time sync interrupt registers

The time sync related interrupt registers may be manipulated from
different contexts. This patch protects the registers from being
asynchronously changed by the reset function.

Also, the patch removes a misleading comment. The reset function
is disabling a bunch of functions, not enabling them.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_ptp.c