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:
2669069
)
dnet: enable transmit time stamping.
author
Richard Cochran
<
[email protected]
>
Sun, 12 Jun 2011 02:19:03 +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
in the "Dave ethernet interface." Compile tested only.
Cc: Ilya Yanok <
[email protected]
>
Signed-off-by: Richard Cochran <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/dnet.c
patch
|
blob
|
history
diff --git
a/drivers/net/dnet.c
b/drivers/net/dnet.c
index b22691046678a0166042d0d8f84faddbcbb904a2..c1063d1540c2acd993e7d695803c64917cafc18d 100644
(file)
--- a/
drivers/net/dnet.c
+++ b/
drivers/net/dnet.c
@@
-588,6
+588,8
@@
static netdev_tx_t dnet_start_xmit(struct sk_buff *skb, struct net_device *dev)
dnet_writel(bp, irq_enable, INTR_ENB);
}
+ skb_tx_timestamp(skb);
+
/* free the buffer */
dev_kfree_skb(skb);