Skip to content

Commit

Permalink
ethoc: enable transmit time stamping.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Cochran authored and David S. Miller committed Jun 13, 2011
1 parent ff9b307 commit 68f5139
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,7 @@ static netdev_tx_t ethoc_start_xmit(struct sk_buff *skb, struct net_device *dev)
}

spin_unlock_irq(&priv->lock);
skb_tx_timestamp(skb);
out:
dev_kfree_skb(skb);
return NETDEV_TX_OK;
Expand Down

0 comments on commit 68f5139

Please sign in to comment.