]> 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)
commit428383824b737eee13294e1f4f772331cf5e73f1
treebfff8e2f894a71493c12a0918b9c34a6afa12dd9
parentea553e6ea10f600caeac8be05a46ff00dc4f803f
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