]> asedeno.scripts.mit.edu Git - linux.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)
commit8298c1ecd534e45e52f05a29122b0f6c1a580d25
treebfff8e2f894a71493c12a0918b9c34a6afa12dd9
parent61d7f75f45231e4a2f2ab7d975555f55f0019800
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