]> bbs.cooldavid.org Git - net-next-2.6.git/commit
tg3: 5719: Prevent tx data corruption
authorMatt Carlson <mcarlson@broadcom.com>
Thu, 30 Sep 2010 10:34:31 +0000 (10:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Oct 2010 07:24:42 +0000 (00:24 -0700)
commitd309a46e42542223946d3a9e4e239fdc945cb53e
tree43fae359546e61d0bda67d903d03db11d227033c
parent66cfd1bd05a7a1c31c9cdbb2ddf5c57d1cddc5f6
tg3: 5719: Prevent tx data corruption

This patch enables a bit that prevents read DMA overflows and adjusts
the txmbuf margin from the hardware default.  The combination of these
modifications prevents a tx data corruption issue we were seeing on the
5719.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h