]> bbs.cooldavid.org Git - net-next-2.6.git/commit
tg3: Fix read DMA FIFO overruns on recent devices
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 15 Sep 2010 08:59:53 +0000 (08:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Sep 2010 21:16:10 +0000 (14:16 -0700)
commit41a8a7ee4a78216962f3afcea5968c04d0ab3b08
tree9caf37cafecfabdce77b3af8c200bb1723201565
parent21a4591794c82c1a73f9d45d6400f878648261e3
tg3: Fix read DMA FIFO overruns on recent devices

Earlier versions of tg3 devices had a problem where the read DMA FIFO
could be overrun in certain edge conditions.  The fix was to limit the
number of rx BDs the hardware would fetch at a time.  For later devices
(5761, 5784 and later ASIC revs), there is a hardware fix that must be
enabled to fix the same problem.  This patch adds that hardware fix.

There is a gap in the ASIC revision lineage where neither fix is
applied.  This is intentional as these ASIC revisions are not afflicted
by the bug.

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