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:
fb290cd
)
davinci_emac: enable transmit time stamping.
author
Richard Cochran
<
[email protected]
>
Sun, 12 Jun 2011 02:19:01 +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 DaVinci EMAC driver. Tested together with the dp83640 PHY.
Cc: Anant Gole <
[email protected]
>
Cc: Kevin Hilman <
[email protected]
>
Signed-off-by: Richard Cochran <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/davinci_emac.c
patch
|
blob
|
history
diff --git
a/drivers/net/davinci_emac.c
b/drivers/net/davinci_emac.c
index 5c2baa4f785afcea4c86d583270e51ce4143fc96..f5688ff58a406d036873950ccf6e68a02af0878f 100644
(file)
--- a/
drivers/net/davinci_emac.c
+++ b/
drivers/net/davinci_emac.c
@@
-1090,6
+1090,7
@@
static int emac_dev_xmit(struct sk_buff *skb, struct net_device *ndev)
dev_err(emac_dev, "DaVinci EMAC: desc submit failed");
goto fail_tx;
}
+ skb_tx_timestamp(skb);
return NETDEV_TX_OK;