summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-11-24 09:31:48 +0100
committerDavid S. Miller <davem@davemloft.net>2010-11-24 20:06:17 +0100
commitcf79003d598b1f82a4caa0564107283b4f560e14 (patch)
treea41d4548a5a09578be104b133d4f7e698d91bc8a /drivers/net/tg3.h
parenttg3: Always turn on APE features in mac_mode reg (diff)
downloadlinux-cf79003d598b1f82a4caa0564107283b4f560e14.tar.xz
linux-cf79003d598b1f82a4caa0564107283b4f560e14.zip
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 '')
-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 {
int pcix_cap;
int pcie_cap;
};
+ int pcie_readrq;
struct mii_bus *mdio_bus;
int mdio_irq[PHY_MAX_ADDR];