diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2010-06-05 17:24:31 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-06 17:55:59 -0700 |
commit | b1d0521059789a138d19c4f940d6eca7d620a6eb (patch) | |
tree | fa0cba1674ba1592476aa5940cf8ada89f018158 /drivers/net/tg3.h | |
parent | f92d9dc1504a964acfe07e8036fa30dcef22d343 (diff) |
tg3: Avoid tx lockups on 5755+ devices
In certain edge conditions, internal tx resources can get corrupted.
This patch enables a bit that will fix the problem.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index 84ea0dca7d29..c245e809d428 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h @@ -469,6 +469,7 @@ #define TX_MODE_FLOW_CTRL_ENABLE 0x00000010 #define TX_MODE_BIG_BCKOFF_ENABLE 0x00000020 #define TX_MODE_LONG_PAUSE_ENABLE 0x00000040 +#define TX_MODE_MBUF_LOCKUP_FIX 0x00000100 #define MAC_TX_STATUS 0x00000460 #define TX_STATUS_XOFFED 0x00000001 #define TX_STATUS_SENT_XOFF 0x00000002 |