From: Richard Cochran Date: Sun, 12 Jun 2011 02:19:01 +0000 (+0000) Subject: davinci_emac: enable transmit time stamping. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1ca9495f851d6d41a118ae064002d51afdfd415b;p=mv-sheeva.git 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 Cc: Kevin Hilman Signed-off-by: Richard Cochran Signed-off-by: David S. Miller --- diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c index 5c2baa4f785..f5688ff58a4 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;