projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68f5139
)
r6040: enable transmit time stamping.
author
Richard Cochran
<
[email protected]
>
Sun, 12 Jun 2011 02:19:05 +0000
(
02:19
+0000)
committer
David S. Miller
<
[email protected]
>
Mon, 13 Jun 2011 21:26:15 +0000
(17:26 -0400)
This patch enables software (and phy device) transmit time stamping
for the RDC R6040 Fast Ethernet MAC. Compile tested only.
Cc: Florian Fainelli <
[email protected]
>
Signed-off-by: Richard Cochran <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/r6040.c
patch
|
blob
|
history
diff --git
a/drivers/net/r6040.c
b/drivers/net/r6040.c
index 200a363c3bf59ac47d5da56e762486af6572b252..5ee5f8f932ffd3d23b73ad04f9e524067eb57f23 100644
(file)
--- a/
drivers/net/r6040.c
+++ b/
drivers/net/r6040.c
@@
-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;
}