summaryrefslogtreecommitdiff
path: root/drivers/net/dnet.c
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2011-06-12 02:19:03 (GMT)
committerDavid S. Miller <davem@conan.davemloft.net>2011-06-13 21:26:15 (GMT)
commitff9b3078b918480a471b065c36133a144a531038 (patch)
tree42ff6d23c24cced8c11a5258244d3202adf9d991 /drivers/net/dnet.c
parent2669069aacc914821b45fe14a49e7fe0ba5d10bd (diff)
downloadlinux-ff9b3078b918480a471b065c36133a144a531038.tar.xz
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>
Diffstat (limited to 'drivers/net/dnet.c')
-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 b226910..c1063d1 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);