From: Richard Cochran Date: Sun, 12 Jun 2011 02:19:07 +0000 (+0000) Subject: smsc9420: enable transmit time stamping. X-Git-Tag: v3.12-rc1~5334^2~451^2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec1d7c9a5e9c136e08a9b1df3109ad5d38d8179c;p=kernel%2Fkernel-generic.git smsc9420: enable transmit time stamping. This patch enables software (and phy device) transmit time stamping for the smsc9420. Compile tested only. Cc: Steve Glendinning Signed-off-by: Richard Cochran Signed-off-by: David S. Miller --- 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; }