summaryrefslogtreecommitdiffstats
path: root/drivers/net/smsc9420.c
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2011-06-12 02:19:07 +0000
committerDavid S. Miller <davem@conan.davemloft.net>2011-06-13 17:26:16 -0400
commitec1d7c9a5e9c136e08a9b1df3109ad5d38d8179c (patch)
treefe4832a489bf77f800d7031bc6de4787041577e5 /drivers/net/smsc9420.c
parent3e82ce120c6f5036c3c739903e67218fd47cbc4c (diff)
downloadop-kernel-dev-ec1d7c9a5e9c136e08a9b1df3109ad5d38d8179c.zip
op-kernel-dev-ec1d7c9a5e9c136e08a9b1df3109ad5d38d8179c.tar.gz
smsc9420: enable transmit time stamping.
This patch enables software (and phy device) transmit time stamping for the smsc9420. Compile tested only. Cc: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: Richard Cochran <richard.cochran@omicron.at> Signed-off-by: David S. Miller <davem@conan.davemloft.net>
Diffstat (limited to 'drivers/net/smsc9420.c')
-rw-r--r--drivers/net/smsc9420.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/smsc9420.c b/drivers/net/smsc9420.c
index 5e5e64d..5555102 100644
--- 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;
}
OpenPOWER on IntegriCloud