From 7c4bb9fcaed7148eb25c0cf0997f01971fba21e9 Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Sun, 12 Jun 2011 02:19:05 +0000 Subject: [PATCH] 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 Signed-off-by: Richard Cochran Signed-off-by: David S. Miller --- drivers/net/r6040.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.20.1