Skip to content

Commit

Permalink
r6040: 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 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>
  • Loading branch information
Richard Cochran authored and David S. Miller committed Jun 13, 2011
1 parent 68f5139 commit 7c4bb9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/r6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,8 @@ static netdev_tx_t r6040_start_xmit(struct sk_buff *skb,

spin_unlock_irqrestore(&lp->lock, flags);

skb_tx_timestamp(skb);

return NETDEV_TX_OK;
}

Expand Down

0 comments on commit 7c4bb9f

Please sign in to comment.