summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2011-06-12 02:19:03 +0000
committerDavid S. Miller <davem@conan.davemloft.net>2011-06-13 17:26:15 -0400
commitff9b3078b918480a471b065c36133a144a531038 (patch)
tree42ff6d23c24cced8c11a5258244d3202adf9d991
parent2669069aacc914821b45fe14a49e7fe0ba5d10bd (diff)
dnet: enable transmit time stamping.
This patch enables software (and phy device) transmit time stamping in the "Dave ethernet interface." Compile tested only. Cc: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Richard Cochran <richard.cochran@omicron.at> Signed-off-by: David S. Miller <davem@conan.davemloft.net>
-rw-r--r--drivers/net/dnet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/dnet.c b/drivers/net/dnet.c
index b22691046678..c1063d1540c2 100644
--- a/drivers/net/dnet.c
+++ b/drivers/net/dnet.c
@@ -588,6 +588,8 @@ static netdev_tx_t dnet_start_xmit(struct sk_buff *skb, struct net_device *dev)
dnet_writel(bp, irq_enable, INTR_ENB);
}
+ skb_tx_timestamp(skb);
+
/* free the buffer */
dev_kfree_skb(skb);