aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/tg3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.c')
-rw-r--r--drivers/net/ethernet/broadcom/tg3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c
index 00213968d21..076e02a415a 100644
--- a/drivers/net/ethernet/broadcom/tg3.c
+++ b/drivers/net/ethernet/broadcom/tg3.c
@@ -6425,13 +6425,13 @@ static bool tg3_tx_frag_set(struct tg3_napi *tnapi, u32 *entry, u32 *budget,
6425 bool hwbug = false; 6425 bool hwbug = false;
6426 6426
6427 if (tg3_flag(tp, SHORT_DMA_BUG) && len <= 8) 6427 if (tg3_flag(tp, SHORT_DMA_BUG) && len <= 8)
6428 hwbug = 1; 6428 hwbug = true;
6429 6429
6430 if (tg3_4g_overflow_test(map, len)) 6430 if (tg3_4g_overflow_test(map, len))
6431 hwbug = 1; 6431 hwbug = true;
6432 6432
6433 if (tg3_40bit_overflow_test(tp, map, len)) 6433 if (tg3_40bit_overflow_test(tp, map, len))
6434 hwbug = 1; 6434 hwbug = true;
6435 6435
6436 if (tp->dma_limit) { 6436 if (tp->dma_limit) {
6437 u32 prvidx = *entry; 6437 u32 prvidx = *entry;
@@ -6464,7 +6464,7 @@ static bool tg3_tx_frag_set(struct tg3_napi *tnapi, u32 *entry, u32 *budget,
6464 *budget -= 1; 6464 *budget -= 1;
6465 *entry = NEXT_TX(*entry); 6465 *entry = NEXT_TX(*entry);
6466 } else { 6466 } else {
6467 hwbug = 1; 6467 hwbug = true;
6468 tnapi->tx_buffers[prvidx].fragmented = false; 6468 tnapi->tx_buffers[prvidx].fragmented = false;
6469 } 6469 }
6470 } 6470 }