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:
e309721
)
smsc911x: enable transmit time stamping.
author
Richard Cochran
<
[email protected]
>
Sun, 19 Jun 2011 21:51:30 +0000
(21:51 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 20 Jun 2011 20:56:54 +0000
(13:56 -0700)
This patch enables software (and phy device) transmit time stamping.
Compile tested only.
Cc: Steve Glendinning <
[email protected]
>
Signed-off-by: Richard Cochran <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/smsc911x.c
patch
|
blob
|
history
diff --git
a/drivers/net/smsc911x.c
b/drivers/net/smsc911x.c
index 054597625d55fcf9df2641492fa35354f8768286..b9016a30cdc55fe6e9d47742ab0d6ba56af9bcf9 100644
(file)
--- a/
drivers/net/smsc911x.c
+++ b/
drivers/net/smsc911x.c
@@
-1474,6
+1474,7
@@
static int smsc911x_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
pdata->ops->tx_writefifo(pdata, (unsigned int *)bufp, wrsz);
freespace -= (skb->len + 32);
+ skb_tx_timestamp(skb);
dev_kfree_skb(skb);
if (unlikely(smsc911x_tx_get_txstatcount(pdata) >= 30))