From: Michael Chan Date: Sun, 29 Jul 2012 19:15:43 +0000 (+0000) Subject: tg3: Add New 5719 Read DMA workaround X-Git-Tag: v3.2.47~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=638030fe4b54431ac8deadecfd54b435336c0c69;p=pandora-kernel.git tg3: Add New 5719 Read DMA workaround commit 091f0ea30074bc43f9250961b3247af713024bc6 upstream. After Power-on-reset, the 5719's TX DMA length registers may contain uninitialized values and cause TX DMA to stall. Check for invalid values and set a register bit to flush the TX channels. The bit needs to be turned off after the DMA channels have been flushed. Signed-off-by: Michael Chan Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed