From: Matt Carlson Date: Mon, 2 Nov 2009 14:23:27 +0000 (+0000) Subject: tg3: Fix 5906 transmit hangs X-Git-Tag: v2.6.33-rc1~388^2~554 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92c6b8d16a36df3f28b2537bed2a56491fb08f11;p=pandora-kernel.git tg3: Fix 5906 transmit hangs The 5906 has trouble with fragments that are less than 8 bytes in size. This patch works around the problem by pivoting the 5906's transmit routine to tg3_start_xmit_dma_bug() and introducing a new SHORT_DMA_BUG flag that enables code to detect and react to the problematic condition. Signed-off-by: Matt Carlson Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed