diff options
author | Richard Cochran <richardcochran@gmail.com> | 2011-06-19 17:51:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-20 16:56:54 -0400 |
commit | e309721159c05c36f10a973bef03388dadb102b0 (patch) | |
tree | 8a8291b4e8016c3abda9fb2d91c11c0891c3e3b6 /drivers/net/fs_enet | |
parent | e072092fc7a89178736530f51a4daaa3155cf44b (diff) |
fs_enet: enable transmit time stamping.
This patch enables software (and phy device) transmit time stamping.
Compile tested only.
Cc: Pantelis Antoniou <pantelis.antoniou@gmail.com>
Cc: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fs_enet')
-rw-r--r-- | drivers/net/fs_enet/fs_enet-main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/fs_enet/fs_enet-main.c b/drivers/net/fs_enet/fs_enet-main.c index 21abb5c01a56..329ef231a096 100644 --- a/drivers/net/fs_enet/fs_enet-main.c +++ b/drivers/net/fs_enet/fs_enet-main.c | |||
@@ -697,6 +697,8 @@ static int fs_enet_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
697 | sc |= BD_ENET_TX_PAD; | 697 | sc |= BD_ENET_TX_PAD; |
698 | CBDS_SC(bdp, sc); | 698 | CBDS_SC(bdp, sc); |
699 | 699 | ||
700 | skb_tx_timestamp(skb); | ||
701 | |||
700 | (*fep->ops->tx_kickstart)(dev); | 702 | (*fep->ops->tx_kickstart)(dev); |
701 | 703 | ||
702 | spin_unlock_irqrestore(&fep->tx_lock, flags); | 704 | spin_unlock_irqrestore(&fep->tx_lock, flags); |