Commit b7abee6ef888117f92db370620ebf116a38e3f4d
Committed by
David S. Miller
1 parent
883ffd6e64
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
tg3: Apply short DMA frag workaround to 5906
5906 devices also need the short DMA fragment workaround. This patch makes the necessary change. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Tested-by: Christian Kujau <lists@nerdbynature.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
drivers/net/ethernet/broadcom/tg3.c
... | ... | @@ -14275,7 +14275,8 @@ |
14275 | 14275 | } |
14276 | 14276 | } |
14277 | 14277 | |
14278 | - if (tg3_flag(tp, 5755_PLUS)) | |
14278 | + if (tg3_flag(tp, 5755_PLUS) || | |
14279 | + GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5906) | |
14279 | 14280 | tg3_flag_set(tp, SHORT_DMA_BUG); |
14280 | 14281 | |
14281 | 14282 | if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5719) |