summaryrefslogtreecommitdiffstats
path: root/drivers/net/davinci_emac.c
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2011-06-12 02:19:01 +0000
committerDavid S. Miller <davem@conan.davemloft.net>2011-06-13 17:26:15 -0400
commit1ca9495f851d6d41a118ae064002d51afdfd415b (patch)
treea8957a9f5a39969c62a1daed15acda7580092a1d /drivers/net/davinci_emac.c
parentfb290cdd43463e6be339bfb021aa9a00cdb50ea2 (diff)
downloadlinux-1ca9495f851d6d41a118ae064002d51afdfd415b.tar.bz2
davinci_emac: enable transmit time stamping.
This patch enables software (and phy device) transmit time stamping for the DaVinci EMAC driver. Tested together with the dp83640 PHY. Cc: Anant Gole <anantgole@ti.com> Cc: Kevin Hilman <khilman@deeprootsystems.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/davinci_emac.c')
-rw-r--r--drivers/net/davinci_emac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
index 5c2baa4f785a..f5688ff58a40 100644
--- a/drivers/net/davinci_emac.c
+++ b/drivers/net/davinci_emac.c
@@ -1090,6 +1090,7 @@ static int emac_dev_xmit(struct sk_buff *skb, struct net_device *ndev)
dev_err(emac_dev, "DaVinci EMAC: desc submit failed");
goto fail_tx;
}
+ skb_tx_timestamp(skb);
return NETDEV_TX_OK;