From: Manfred Rudigier Date: Thu, 8 Apr 2010 23:10:03 +0000 (+0000) Subject: gianfar: Add hardware RX timestamping support X-Git-Tag: v2.6.35-rc1~473^2~517 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc772ab7cdcaa24d1fae332d92a1602788644f7a;p=pandora-kernel.git gianfar: Add hardware RX timestamping support The device is configured to insert hardware timestamps into all received packets. The RX timestamps are extracted from the padding alingment bytes during the clean_rx_ring operation and copied into the skb_shared_hwtstamps struct of the skb. This extraction only happens if the rx_filter was set to something else than HWTSTAMP_FILTER_NONE with the SIOCSHWTSTAMP ioctl command. Hardware timestamping is only supported for eTSEC devices. To indicate device support the new FSL_GIANFAR_DEV_HAS_TIMER flag was introduced. Signed-off-by: Manfred Rudigier Signed-off-by: David S. Miller --- Reading git-diff-tree failed