diff options
author | Richard Cochran <richardcochran@gmail.com> | 2011-06-11 22:19:05 -0400 |
---|---|---|
committer | David S. Miller <davem@conan.davemloft.net> | 2011-06-13 17:26:15 -0400 |
commit | 7c4bb9fcaed7148eb25c0cf0997f01971fba21e9 (patch) | |
tree | a909411bee17cb4a9be420185c540342327fb1c2 /drivers | |
parent | 68f51394073b30ef8648f8516d5a7d40c68b1f8a (diff) |
r6040: enable transmit time stamping.
This patch enables software (and phy device) transmit time stamping
for the RDC R6040 Fast Ethernet MAC. Compile tested only.
Cc: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/r6040.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c index 200a363c3bf5..5ee5f8f932ff 100644 --- a/drivers/net/r6040.c +++ b/drivers/net/r6040.c | |||
@@ -846,6 +846,8 @@ static netdev_tx_t r6040_start_xmit(struct sk_buff *skb, | |||
846 | 846 | ||
847 | spin_unlock_irqrestore(&lp->lock, flags); | 847 | spin_unlock_irqrestore(&lp->lock, flags); |
848 | 848 | ||
849 | skb_tx_timestamp(skb); | ||
850 | |||
849 | return NETDEV_TX_OK; | 851 | return NETDEV_TX_OK; |
850 | } | 852 | } |
851 | 853 | ||