diff options
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index c41dbb0e8f14..0fafc5264627 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -3600,7 +3600,7 @@ static inline int tg3_40bit_overflow_test(struct tg3 *tp, dma_addr_t mapping, | |||
3600 | int len) | 3600 | int len) |
3601 | { | 3601 | { |
3602 | #if defined(CONFIG_HIGHMEM) && (BITS_PER_LONG == 64) | 3602 | #if defined(CONFIG_HIGHMEM) && (BITS_PER_LONG == 64) |
3603 | if (tp->tg3_flags2 & TG3_FLG2_5780_CLASS) | 3603 | if (tp->tg3_flags & TG3_FLAG_40BIT_DMA_BUG) |
3604 | return (((u64) mapping + len) > DMA_40BIT_MASK); | 3604 | return (((u64) mapping + len) > DMA_40BIT_MASK); |
3605 | return 0; | 3605 | return 0; |
3606 | #else | 3606 | #else |