summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2009-04-20 08:57:41 +0200
committerDavid S. Miller <davem@davemloft.net>2009-04-21 10:41:01 +0200
commit33466d938f43ab65312466ba5472b9c6ee200cce (patch)
treea84a6f6de32b2269006e70f5d4d04732940c8746 /drivers/net/tg3.h
parenttg3: Handle NVRAM absent cases (diff)
downloadlinux-33466d938f43ab65312466ba5472b9c6ee200cce.tar.xz
linux-33466d938f43ab65312466ba5472b9c6ee200cce.zip
tg3: Prevent send BD corruption
On rare occasions, send BD corruptions can occur. This patch fixes the problem by increasing the L1 entry threshold to 4 milliseconds. 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 '')
-rw-r--r--drivers/net/tg3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index afbabf283c51..f1016cb1a89a 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -1697,6 +1697,8 @@
#define PCIE_PWR_MGMT_THRESH 0x00007d28
#define PCIE_PWR_MGMT_L1_THRESH_MSK 0x0000ff00
+#define PCIE_PWR_MGMT_L1_THRESH_4MS 0x0000ff00
+#define PCIE_PWR_MGMT_EXT_ASPM_TMR_EN 0x01000000
/* OTP bit definitions */