From: Jacob Keller Date: Sat, 11 Jan 2014 07:20:06 +0000 (+0000) Subject: igb: implement SIOCGHWTSTAMP ioctl X-Git-Tag: v3.15-rc1~113^2~97^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ab5f7b2981e842e318ff48c708aaaa2a5a6a43e;p=pandora-kernel.git igb: implement SIOCGHWTSTAMP ioctl This patch adds support for the SIOCGHWTSTAMP ioctl which enables user processes to read the current hwtstamp_config settings non-destructively. Previously a process had to be privileged and could only set values, it couldn't return what is currently set without possibly overwriting the value. This patch adds support for this new operation into igb by keeping a shadow copy of the config in the adapter structure, which is returned upon request. Signed-off-by: Jacob Keller Acked-by: Matthew Vick Tested-by: Jeff Pieper Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed