]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcbe8b17bcdd246f6fe66bebc8483fb70a1bceccb
tree95b35c9485775cd48c26692e9b13235b21b0a6c0
parentb5c9387f8d4a27da5de1b239b39d94e859533192
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