bnx2x: advertise transmit time stamping
authorRichard Cochran <richardcochran@gmail.com>
Sun, 22 Jul 2012 07:15:39 +0000 (07:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
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 <richardcochran@gmail.com>
Cc: Eilon Greenstein <eilong@broadcom.com>
Cc: Willem de Bruijn <willemb@google.com>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c

index bff3129..fc4e0e3 100644 (file)
@@ -2978,6 +2978,7 @@ static const struct ethtool_ops bnx2x_ethtool_ops = {
        .get_module_eeprom      = bnx2x_get_module_eeprom,
        .get_eee                = bnx2x_get_eee,
        .set_eee                = bnx2x_set_eee,
+       .get_ts_info            = ethtool_op_get_ts_info,
 };
 
 void bnx2x_set_ethtool_ops(struct net_device *netdev)