diff options
author | Richard Cochran <richardcochran@gmail.com> | 2011-06-12 02:19:05 +0000 |
---|---|---|
committer | David S. Miller <davem@conan.davemloft.net> | 2011-06-13 17:26:15 -0400 |
commit | 7c4bb9fcaed7148eb25c0cf0997f01971fba21e9 (patch) | |
tree | a909411bee17cb4a9be420185c540342327fb1c2 | |
parent | 68f51394073b30ef8648f8516d5a7d40c68b1f8a (diff) | |
download | linux-7c4bb9fcaed7148eb25c0cf0997f01971fba21e9.tar.gz linux-7c4bb9fcaed7148eb25c0cf0997f01971fba21e9.tar.bz2 linux-7c4bb9fcaed7148eb25c0cf0997f01971fba21e9.zip |
r6040: enable transmit time stamping.
This patch enables software (and phy device) transmit time stamping
for the RDC R6040 Fast Ethernet MAC. Compile tested only.
Cc: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
-rw-r--r-- | drivers/net/r6040.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c index 200a363c3bf5..5ee5f8f932ff 100644 --- a/drivers/net/r6040.c +++ b/drivers/net/r6040.c @@ -846,6 +846,8 @@ static netdev_tx_t r6040_start_xmit(struct sk_buff *skb, spin_unlock_irqrestore(&lp->lock, flags); + skb_tx_timestamp(skb); + return NETDEV_TX_OK; } |