[PATCH v2 net-next 1/2] gianfar: Add hardware RX timestamping support

David Miller davem at davemloft.net
Tue Apr 13 18:52:42 EST 2010


From: Manfred Rudigier <Manfred.Rudigier at omicron.at>
Date: Fri, 9 Apr 2010 11:10:03 +0200

> 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 <manfred.rudigier at omicron.at>

Applied to net-next-2.6


More information about the Linuxppc-dev mailing list