aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-11-24 03:31:48 -0500
committerDavid S. Miller <davem@davemloft.net>2010-11-24 14:06:17 -0500
commitcf79003d598b1f82a4caa0564107283b4f560e14 (patch)
treea41d4548a5a09578be104b133d4f7e698d91bc8a /drivers/net/tg3.h
parentd2394e6bb1aa636f3bd142cb6f7845a4332514b5 (diff)
tg3: Fix 5719 internal FIFO overflow problem
Under load, there an internal FIFO can overflow on the 5719. The fix is to scale back the PCIe maximum read request size based on the current link speed and width. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 06a4e7e8fff3..410703684e39 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2948,6 +2948,7 @@ struct tg3 {
2948 int pcix_cap; 2948 int pcix_cap;
2949 int pcie_cap; 2949 int pcie_cap;
2950 }; 2950 };
2951 int pcie_readrq;
2951 2952
2952 struct mii_bus *mdio_bus; 2953 struct mii_bus *mdio_bus;
2953 int mdio_irq[PHY_MAX_ADDR]; 2954 int mdio_irq[PHY_MAX_ADDR];