aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2011-06-19 17:51:33 -0400
committerDavid S. Miller <davem@davemloft.net>2011-06-20 16:56:55 -0400
commitd13d6bffb418a660c06a5a12afcf7e7081489548 (patch)
treef70633f96c6ce1592e360865cbab2920858361a2
parent1f6e44a6dc21a5d2abb068063acbbf64f8cee548 (diff)
ucc_geth: enable transmit time stamping.
This patch enables software (and phy device) transmit time stamping. Compile tested only. Cc: Shlomi Gridish <gridish@freescale.com> Cc: Li Yang <leoli@freescale.com> Signed-off-by: Richard Cochran <richard.cochran@omicron.at> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ucc_geth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index ef041057d9d3..3127700f348b 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -3165,6 +3165,8 @@ static int ucc_geth_start_xmit(struct sk_buff *skb, struct net_device *dev)
3165 3165
3166 ugeth->txBd[txQ] = bd; 3166 ugeth->txBd[txQ] = bd;
3167 3167
3168 skb_tx_timestamp(skb);
3169
3168 if (ugeth->p_scheduler) { 3170 if (ugeth->p_scheduler) {
3169 ugeth->cpucount[txQ]++; 3171 ugeth->cpucount[txQ]++;
3170 /* Indicate to QE that there are more Tx bds ready for 3172 /* Indicate to QE that there are more Tx bds ready for