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:
3e82ce1
)
smsc9420: enable transmit time stamping.
author
Richard Cochran
<
[email protected]
>
Sun, 12 Jun 2011 02:19:07 +0000
(
02:19
+0000)
committer
David S. Miller
<
[email protected]
>
Mon, 13 Jun 2011 21:26:16 +0000
(17:26 -0400)
This patch enables software (and phy device) transmit time stamping
for the smsc9420. 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/smsc9420.c
patch
|
blob
|
history
diff --git
a/drivers/net/smsc9420.c
b/drivers/net/smsc9420.c
index 5e5e64da5cb9c01f99b99cc580a42495d5f87a54..5555102bb964cfa9719609d28eaa9244c6cae9cb 100644
(file)
--- a/
drivers/net/smsc9420.c
+++ b/
drivers/net/smsc9420.c
@@
-1035,6
+1035,8
@@
static netdev_tx_t smsc9420_hard_start_xmit(struct sk_buff *skb,
smsc9420_reg_write(pd, TX_POLL_DEMAND, 1);
smsc9420_pci_flush_write(pd);
+ skb_tx_timestamp(skb);
+
return NETDEV_TX_OK;
}