From: Manfred Rudigier Date: Thu, 8 Apr 2010 23:10:35 +0000 (+0000) Subject: gianfar: Add hardware TX timestamping support X-Git-Tag: v2.6.35-rc1~473^2~516 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0ee7acfcdd4169cee2fefc630de72deb5bc34b9;p=pandora-kernel.git gianfar: Add hardware TX timestamping support If a packet has the skb_shared_tx->hardware flag set the device is instructed to generate a TX timestamp and write it back to memory after the frame is transmitted. During the clean_tx_ring operation the timestamp will be extracted and copied into the skb_shared_hwtstamps struct of the skb. TX timestamping is enabled by setting the tx_type to something else than HWTSTAMP_TX_OFF with the SIOCSHWTSTAMP ioctl command. It is only supported by eTSEC devices. Signed-off-by: Manfred Rudigier Signed-off-by: David S. Miller --- Reading git-diff-tree failed