summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2011-06-19 21:51:30 +0000
committerDavid S. Miller <davem@davemloft.net>2011-06-20 13:56:54 -0700
commit8c0069ae3a85eeedbbf955e380e822756f7a9d2f (patch)
tree5bbd66d0cc19cc7e25f4ec7cf5a071b7d4c2eb37 /drivers/net
parente309721159c05c36f10a973bef03388dadb102b0 (diff)
downloadlinux-8c0069ae3a85eeedbbf955e380e822756f7a9d2f.tar.bz2
smsc911x: enable transmit time stamping.
This patch enables software (and phy device) transmit time stamping. Compile tested only. Cc: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: Richard Cochran <richard.cochran@omicron.at> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/smsc911x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c
index 054597625d55..b9016a30cdc5 100644
--- a/drivers/net/smsc911x.c
+++ b/drivers/net/smsc911x.c
@@ -1474,6 +1474,7 @@ static int smsc911x_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
pdata->ops->tx_writefifo(pdata, (unsigned int *)bufp, wrsz);
freespace -= (skb->len + 32);
+ skb_tx_timestamp(skb);
dev_kfree_skb(skb);
if (unlikely(smsc911x_tx_get_txstatcount(pdata) >= 30))