igb: implement high frequency periodic output signals
authorRichard Cochran <richardcochran@gmail.com>
Thu, 23 Jul 2015 21:59:30 +0000 (14:59 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 18 Aug 2015 21:06:04 +0000 (14:06 -0700)
commit30c72916d71b7970b16dca2bb1234aef2d37b695
tree95b35c9485775cd48c26692e9b13235b21b0a6c0
parent6423fc34160939142d72ffeaa2db6408317f54df
igb: implement high frequency periodic output signals

In addition to interrupt driven target time output events, the i210
also has two programmable clock outputs.  These clocks support periods
between 16 nanoseconds and 140 milliseconds.  This patch implements
the periodic output function using the clock outputs when possible,
falling back to the target time for longer periods.

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/e1000_regs.h
drivers/net/ethernet/intel/igb/igb_ptp.c