summaryrefslogtreecommitdiff
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2006-06-29 20:14:29 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-30 14:11:52 -0700
commitf92905deb9bc89834dac247ca1a0d905ebcf629b (patch)
tree63d3eb18e3dd5426791726eed8004087cfa7fbb4 /drivers/net/tg3.h
parent29315e8770c20cbfe607ad962d87867115a44555 (diff)
downloadlwn-f92905deb9bc89834dac247ca1a0d905ebcf629b.tar.gz
lwn-f92905deb9bc89834dac247ca1a0d905ebcf629b.zip
[TG3]: Add rx BD workaround
Add workaround to limit the burst size of rx BDs being DMA'ed to the chip. This works around hardware errata on a number of 5750, 5752, and 5755 chips. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r--drivers/net/tg3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 8209da5dd15f..e9177f8521df 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2137,6 +2137,7 @@ struct tg3 {
struct tg3_rx_buffer_desc *rx_std;
struct ring_info *rx_std_buffers;
dma_addr_t rx_std_mapping;
+ u32 rx_std_max_post;
struct tg3_rx_buffer_desc *rx_jumbo;
struct ring_info *rx_jumbo_buffers;