aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2011-06-11 22:19:04 -0400
committerDavid S. Miller <davem@conan.davemloft.net>2011-06-13 17:26:15 -0400
commit68f51394073b30ef8648f8516d5a7d40c68b1f8a (patch)
tree158abfd19731770a41144892b3e7017e3789bf63 /drivers/net
parentff9b3078b918480a471b065c36133a144a531038 (diff)
ethoc: enable transmit time stamping.
This patch enables software (and phy device) transmit time stamping for the OpenCores 10/100 MAC driver. Compile tested only. Cc: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Richard Cochran <richard.cochran@omicron.at> Signed-off-by: David S. Miller <davem@conan.davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethoc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethoc.c b/drivers/net/ethoc.c
index 9162c705c4fa..0e8cc75bb5f4 100644
--- a/drivers/net/ethoc.c
+++ b/drivers/net/ethoc.c
@@ -875,6 +875,7 @@ static netdev_tx_t ethoc_start_xmit(struct sk_buff *skb, struct net_device *dev)
875 } 875 }
876 876
877 spin_unlock_irq(&priv->lock); 877 spin_unlock_irq(&priv->lock);
878 skb_tx_timestamp(skb);
878out: 879out:
879 dev_kfree_skb(skb); 880 dev_kfree_skb(skb);
880 return NETDEV_TX_OK; 881 return NETDEV_TX_OK;