diff options
author | Richard Cochran <richard.cochran@omicron.at> | 2011-06-21 19:01:11 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-21 19:01:11 -0400 |
commit | 3b182d7d4287f38711f70d58d68cf2a34e582992 (patch) | |
tree | 49c3ff305b12e7d4dfa9cf4d3fbd247a6f91c3ed | |
parent | 73151ce35bd6d56e61a87b2855193f82540bf3d3 (diff) |
mv643xx_eth: enable transmit time stamping.
This patch enables software (and phy device) transmit time stamping.
Compile tested only.
Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/mv643xx_eth.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index 1b7d2c1c34b6..77dc6abe1867 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -840,6 +840,8 @@ no_csum: | |||
840 | 840 | ||
841 | __skb_queue_tail(&txq->tx_skb, skb); | 841 | __skb_queue_tail(&txq->tx_skb, skb); |
842 | 842 | ||
843 | skb_tx_timestamp(skb); | ||
844 | |||
843 | /* ensure all other descriptors are written before first cmd_sts */ | 845 | /* ensure all other descriptors are written before first cmd_sts */ |
844 | wmb(); | 846 | wmb(); |
845 | desc->cmd_sts = cmd_sts; | 847 | desc->cmd_sts = cmd_sts; |