From: Richard Cochran Date: Tue, 3 Apr 2012 22:59:17 +0000 (+0000) Subject: ethtool: Introduce a method for getting time stamping capabilities. X-Git-Tag: v3.5-rc1~109^2~632 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8f3a8c31069137fe0100e6920558f1a7487ef3c;p=pandora-kernel.git ethtool: Introduce a method for getting time stamping capabilities. This commit adds a new ethtool ioctl that exposes the SO_TIMESTAMPING capabilities of a network interface. In addition, user space programs can use this ioctl to discover the PTP Hardware Clock (PHC) device associated with the interface. Since software receive time stamps are handled by the stack, the generic ethtool code can answer the query correctly in case the MAC or PHY drivers lack special time stamping features. Signed-off-by: Richard Cochran Reviewed-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed