From: Matthew Vick Date: Tue, 28 Aug 2012 06:33:05 +0000 (+0000) Subject: igb: Correct PTP support query from ethtool. X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~160 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9188028fd8a446413be48e7f6490f2d18a8d07e;p=pandora-kernel.git igb: Correct PTP support query from ethtool. Update ethtool_get_ts_info to not report any supported functionality on 82575 and add support for V2 Sync and V2 Delay packets. In the case where CONFIG_IGB_PTP is not defined, we should be reporting default values. v2: Correct the function to return EOPNOTSUPP when there is no PTP support or the device does not support PTP. Also fix minor whitespace issue. Signed-off-by: Matthew Vick Cc: Richard Cochran Tested-by: Jeff Pieper Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed