Commit e072092fc7a89178736530f51a4daaa3155cf44b

Authored by Richard Cochran
Committed by David S. Miller
1 parent d6cf07327e

macb: enable transmit time stamping.

This patch enables software (and phy device) transmit time stamping
Compile tested only.

Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -670,6 +670,8 @@
670 670 entry = NEXT_TX(entry);
671 671 bp->tx_head = entry;
672 672  
  673 + skb_tx_timestamp(skb);
  674 +
673 675 macb_writel(bp, NCR, macb_readl(bp, NCR) | MACB_BIT(TSTART));
674 676  
675 677 if (TX_BUFFS_AVAIL(bp) < 1)