]> git.baikalelectronics.ru Git - kernel.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)
commita34e8360eb44ffa5adf5c2866220e82925e4d157
tree43fae359546e61d0bda67d903d03db11d227033c
parent77fd2b44d48abb265f98a3d2399cc93f734c5b48
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