e1000e: advertise transmit time stamping
authorRichard Cochran <[email protected]>
Sun, 22 Jul 2012 07:15:41 +0000 (07:15 +0000)
committerDavid S. Miller <[email protected]>
Sun, 22 Jul 2012 19:33:32 +0000 (12:33 -0700)
This driver now offers software transmit time stamping, so it should
advertise that fact via ethtool. Compile tested only.

Signed-off-by: Richard Cochran <[email protected]>
Cc: Willem de Bruijn <[email protected]>
Cc: Jeff Kirsher <[email protected]>
Cc: [email protected]
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/intel/e1000e/ethtool.c

index 105d554ea9dbbeb1aeb8ffc36207696dac81f034..0349e2478df8f294b04c4c54fc036cc627312afe 100644 (file)
@@ -2061,6 +2061,7 @@ static const struct ethtool_ops e1000_ethtool_ops = {
        .get_coalesce           = e1000_get_coalesce,
        .set_coalesce           = e1000_set_coalesce,
        .get_rxnfc              = e1000_get_rxnfc,
+       .get_ts_info            = ethtool_op_get_ts_info,
 };
 
 void e1000e_set_ethtool_ops(struct net_device *netdev)