diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-01-25 10:58:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-25 22:38:15 -0500 |
commit | b4495ed88b782febddfa5bb99c87d75724520ecf (patch) | |
tree | 148e9456b3e2c257b1348b57669217d36c8088fe /drivers/net/tg3.h | |
parent | 26ad787962ef84677a48c56039d3c9769b84f847 (diff) |
tg3: Revise 5719 internal FIFO overflow solution
Commit cf79003d598b1f82a4caa0564107283b4f560e14, entitled
"tg3: Fix 5719 internal FIFO overflow problem", proposed a way to solve
an internal FIFO overflow problem. We have since discovered a slightly
better way to solve the problem. This patch changes the code so that
the problem is contained closer to the problem source.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index d62c8d937c82..0a0987aeb32e 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -1333,6 +1333,10 @@ | |||
1333 | 1333 | ||
1334 | #define TG3_RDMA_RSRVCTRL_REG 0x00004900 | 1334 | #define TG3_RDMA_RSRVCTRL_REG 0x00004900 |
1335 | #define TG3_RDMA_RSRVCTRL_FIFO_OFLW_FIX 0x00000004 | 1335 | #define TG3_RDMA_RSRVCTRL_FIFO_OFLW_FIX 0x00000004 |
1336 | #define TG3_RDMA_RSRVCTRL_FIFO_LWM_1_5K 0x00000c00 | ||
1337 | #define TG3_RDMA_RSRVCTRL_FIFO_LWM_MASK 0x00000ff0 | ||
1338 | #define TG3_RDMA_RSRVCTRL_FIFO_HWM_1_5K 0x000c0000 | ||
1339 | #define TG3_RDMA_RSRVCTRL_FIFO_HWM_MASK 0x000ff000 | ||
1336 | #define TG3_RDMA_RSRVCTRL_TXMRGN_320B 0x28000000 | 1340 | #define TG3_RDMA_RSRVCTRL_TXMRGN_320B 0x28000000 |
1337 | #define TG3_RDMA_RSRVCTRL_TXMRGN_MASK 0xffe00000 | 1341 | #define TG3_RDMA_RSRVCTRL_TXMRGN_MASK 0xffe00000 |
1338 | /* 0x4904 --> 0x4910 unused */ | 1342 | /* 0x4904 --> 0x4910 unused */ |