diff options
author | Manfred Rudigier <Manfred.Rudigier@omicron.at> | 2010-04-08 23:10:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-13 01:41:31 -0700 |
commit | cc772ab7cdcaa24d1fae332d92a1602788644f7a (patch) | |
tree | efbcb9bf8c1c9214f612d2044321a30ada230255 /drivers/uio/uio_pdrv.c | |
parent | e44171f115de3dedf34064646206deb91549865f (diff) | |
download | op-kernel-dev-cc772ab7cdcaa24d1fae332d92a1602788644f7a.zip op-kernel-dev-cc772ab7cdcaa24d1fae332d92a1602788644f7a.tar.gz |
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 <manfred.rudigier@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/uio/uio_pdrv.c')
0 files changed, 0 insertions, 0 deletions