]> www.infradead.org Git - users/jedix/linux-maple.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)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Thu, 22 Jun 2017 21:28:28 +0000 (14:28 -0700)
commitf79fd77de00a1032beb02538f4e2c731b390fea8
treec705779f7145a5f15472a19f5d9f25abd67e0d39
parenta3dd5fd263ebb5d1766691a7abde2c42ceb20e3f
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>
(cherry picked from commit 30c72916d71b7970b16dca2bb1234aef2d37b695)

Orabug: 26325580

Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/igb/e1000_regs.h
drivers/net/ethernet/intel/igb/igb_ptp.c