]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Enable timesync clock-out feature for PPS support on X540
authorJacob E Keller <jacob.e.keller@intel.com>
Tue, 1 May 2012 05:24:41 +0000 (05:24 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 10 May 2012 05:55:39 +0000 (22:55 -0700)
commit32f79b1946de3e838e4ce4d872c0446161375761
treeae40cf0a91fbbc89c331b8019cc22a2f4f2950cc
parent1de026670a0ac7c62883e6b09a8f9e5321c1b8e0
ixgbe: Enable timesync clock-out feature for PPS support on X540

This patch enables the PPS system in the PHC framework, by enabling
the clock-out feature on the X540 device. Causes the SDP0 to be set as
a 1Hz clock. Also configures the timesync interrupt cause in order to
report each pulse to the PPS via the PHC framework, which can be used
for general system clock synchronization. (This allows a stable method
for tuning the general system time via the on-board SYSTIM register
based clock.)

Signed-off-by: Jacob E Keller <jacob.e.keller@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h