aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2011-06-11 22:19:07 -0400
committerDavid S. Miller <davem@conan.davemloft.net>2011-06-13 17:26:16 -0400
commitec1d7c9a5e9c136e08a9b1df3109ad5d38d8179c (patch)
treefe4832a489bf77f800d7031bc6de4787041577e5 /drivers
parent3e82ce120c6f5036c3c739903e67218fd47cbc4c (diff)
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')
-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 5e5e64da5cb9..5555102bb964 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,
1035 smsc9420_reg_write(pd, TX_POLL_DEMAND, 1); 1035 smsc9420_reg_write(pd, TX_POLL_DEMAND, 1);
1036 smsc9420_pci_flush_write(pd); 1036 smsc9420_pci_flush_write(pd);
1037 1037
1038 skb_tx_timestamp(skb);
1039
1038 return NETDEV_TX_OK; 1040 return NETDEV_TX_OK;
1039} 1041}
1040 1042