Skip to contentSkip to conversation

tg3: fix to append hardware time stamping flags

PATCH In review Flavio Leitner 2 participants 3 messages Apr 30, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tg3: fix to append hardware time stamping flags

The commit f233a976ad15c3b8c54c0157f3c41d23f7514279 fixing the hardware time stamping support didn't append hardware flags. This patch fixes it.

---
 drivers/net/ethernet/broadcom/tg3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/broadcom/tg3.c +1 -1
index ef0b8a6..728d42a 100644
@@ -5995,7 +5995,7 @@ static int tg3_get_ts_info(struct net_device *dev, struct ethtool_ts_info *info)
 				SOF_TIMESTAMPING_SOFTWARE;
 
 	if (tg3_flag(tp, PTP_CAPABLE)) {
-		info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
+		info->so_timestamping |= SOF_TIMESTAMPING_TX_HARDWARE |
 					SOF_TIMESTAMPING_RX_HARDWARE |
 					SOF_TIMESTAMPING_RAW_HARDWARE;
 	}
Signature · 1 line
1.8.1.4
#1 lore raw

Hello.

Quoted 1 line · Flavio Leitner

The commit f233a976ad15c3b8c54c0157f3c41d23f7514279 fixing the

Please also specify that commit's summary in parens.

Quoted 4 lines

hardware time stamping support didn't append hardware flags. This patch fixes it.

WBR, Sergei

#2 lore raw
Quoted 7 lines · Sergei Shtylyov

Hello.

Quoted 1 line · Flavio Leitner

The commit f233a976ad15c3b8c54c0157f3c41d23f7514279 fixing the

Please also specify that commit's summary in parens.

Ok, please drop this patch. I will send another one. Thanks,

Signature · 1 line
fbl