From: Jacob Keller Date: Wed, 4 Jun 2014 06:08:29 +0000 (+0000) Subject: i40e: break PTP hardware control from ioctl command for timestamp mode X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~254^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=189464555a4aef4db07f90294bd3723079f7c19a;p=pandora-kernel.git i40e: break PTP hardware control from ioctl command for timestamp mode This patch facilitates future work by breaking the PTP hardware control bits out of the i40e_set_ts_config function. By doing this, we can maintain state about the 1588 timestamping mode and properly re-enable to the last known mode during a re-initialize of 1588 bits. This patch also modifies i40e_ptp_init to call the i40e_ptp_set_timestamp_mode during the reconfiguration process. A future patch will ensure that the hwtstamp_config structure is not reset during this process, so that timestamp mode will be maintained across a reset. Change-ID: Ic20832c96c5c512ac203b6c7534e10d891c560f0 Signed-off-by: Jacob Keller Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed