From: Richard Cochran Date: Sun, 12 Jun 2011 02:19:03 +0000 (+0000) Subject: dnet: enable transmit time stamping. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ff9b3078b918480a471b065c36133a144a531038;p=linux-beck.git 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 Signed-off-by: Richard Cochran Signed-off-by: David S. Miller --- 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);