Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 369827
b: refs/heads/master
c: f233a97
h: refs/heads/master
i:
  369825: c8d71df
  369823: a4cc079
v: v3
  • Loading branch information
Flavio Leitner authored and David S. Miller committed Apr 29, 2013
1 parent 594999e commit b01bdfe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aebda156a570782a86fc4426842152237a19427d
refs/heads/master: f233a976ad15c3b8c54c0157f3c41d23f7514279
11 changes: 7 additions & 4 deletions trunk/drivers/net/ethernet/broadcom/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -5992,10 +5992,13 @@ static int tg3_get_ts_info(struct net_device *dev, struct ethtool_ts_info *info)

info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
SOF_TIMESTAMPING_RX_SOFTWARE |
SOF_TIMESTAMPING_SOFTWARE |
SOF_TIMESTAMPING_TX_HARDWARE |
SOF_TIMESTAMPING_RX_HARDWARE |
SOF_TIMESTAMPING_RAW_HARDWARE;
SOF_TIMESTAMPING_SOFTWARE;

if (tg3_flag(tp, PTP_CAPABLE)) {
info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
SOF_TIMESTAMPING_RX_HARDWARE |
SOF_TIMESTAMPING_RAW_HARDWARE;
}

if (tp->ptp_clock)
info->phc_index = ptp_clock_index(tp->ptp_clock);
Expand Down

0 comments on commit b01bdfe

Please sign in to comment.