This is a note to let you know that I've just added the patch titled
tg3: Apply short DMA frag workaround to 5906
to the 3.0-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
tg3-apply-short-dma-frag-workaround-to-5906.patch
and it can be found in the queue-3.0 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From b7abee6ef888117f92db370620ebf116a38e3f4d Mon Sep 17 00:00:00 2001
From: Matt Carlson <[email protected]>
Date: Thu, 7 Jun 2012 12:56:54 +0000
Subject: tg3: Apply short DMA frag workaround to 5906
From: Matt Carlson <[email protected]>
commit b7abee6ef888117f92db370620ebf116a38e3f4d upstream.
5906 devices also need the short DMA fragment workaround. This patch
makes the necessary change.
Signed-off-by: Matt Carlson <[email protected]>
Tested-by: Christian Kujau <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Mike Pagano <[email protected]>
---
drivers/net/tg3.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -13689,8 +13689,9 @@ static int __devinit tg3_get_invariants(
*/
tg3_flag_set(tp, 4G_DMA_BNDRY_BUG);
- if (tg3_flag(tp, 5755_PLUS))
- tg3_flag_set(tp, SHORT_DMA_BUG);
+ if (tg3_flag(tp, 5755_PLUS) ||
+ GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5906)
+ tg3_flag_set(tp, SHORT_DMA_BUG);
else
tg3_flag_set(tp, 40BIT_DMA_LIMIT_BUG);
Patches currently in stable-queue which might be from [email protected] are
queue-3.0/tg3-apply-short-dma-frag-workaround-to-5906.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html