igb: enable auxiliary PHC functions for the i210
authorRichard Cochran <richardcochran@gmail.com>
Fri, 21 Nov 2014 20:51:26 +0000 (20:51 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Jan 2015 02:10:19 +0000 (18:10 -0800)
commit720db4ffd0846570c1ddc82e7bb661ab0a676fad
treeb9d28e75701f3fe3444916778517b66669682c35
parent00c65578b47bec3f92ce259d0c9d959ac54fff28
igb: enable auxiliary PHC functions for the i210

The i210 device offers a number of special PTP Hardware Clock features on
the Software Defined Pins (SDPs). This patch adds support for two of the
possible functions, namely time stamping external events, and periodic
output signals.

The assignment of PHC functions to the four SDP can be freely chosen by
the user.

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