commit | 92c6b8d16a36df3f28b2537bed2a56491fb08f11 | [log] [tgz] |
---|---|---|
author | Matt Carlson <mcarlson@broadcom.com> | Mon Nov 02 14:23:27 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 02 23:39:00 2009 -0800 |
tree | 13f89b031c7c82163233963c24bfe20312ba901e | |
parent | 0e1406dd404ce55dbe8d68b4b5e2aed7e5c75fdb [diff] |
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 <mcarlson@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>