diff options
author | Richard Cochran <richardcochran@gmail.com> | 2011-06-11 22:19:06 -0400 |
---|---|---|
committer | David S. Miller <davem@conan.davemloft.net> | 2011-06-13 17:26:16 -0400 |
commit | 3e82ce120c6f5036c3c739903e67218fd47cbc4c (patch) | |
tree | c5ab16aa1cd174359dfcd38ffccf07587009480c | |
parent | 7c4bb9fcaed7148eb25c0cf0997f01971fba21e9 (diff) |
stmmac: enable transmit time stamping.
This patch enables software (and phy device) transmit time stamping
for the STMicroelectronics Ethernet driver. Compile tested only.
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
-rw-r--r-- | drivers/net/stmmac/stmmac_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/stmmac/stmmac_main.c b/drivers/net/stmmac/stmmac_main.c index e25e44a45c28..5b85f4ca2004 100644 --- a/drivers/net/stmmac/stmmac_main.c +++ b/drivers/net/stmmac/stmmac_main.c | |||
@@ -1081,6 +1081,8 @@ static netdev_tx_t stmmac_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1081 | 1081 | ||
1082 | priv->hw->dma->enable_dma_transmission(priv->ioaddr); | 1082 | priv->hw->dma->enable_dma_transmission(priv->ioaddr); |
1083 | 1083 | ||
1084 | skb_tx_timestamp(skb); | ||
1085 | |||
1084 | return NETDEV_TX_OK; | 1086 | return NETDEV_TX_OK; |
1085 | } | 1087 | } |
1086 | 1088 | ||