summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-11-24 08:31:48 +0000
committerDavid S. Miller <davem@davemloft.net>2010-11-24 11:06:17 -0800
commitcf79003d598b1f82a4caa0564107283b4f560e14 (patch)
treea41d4548a5a09578be104b133d4f7e698d91bc8a /drivers/net/tg3.h
parentd2394e6bb1aa636f3bd142cb6f7845a4332514b5 (diff)
downloadlinux-cf79003d598b1f82a4caa0564107283b4f560e14.tar.gz
linux-cf79003d598b1f82a4caa0564107283b4f560e14.tar.bz2
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 '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 {
int pcix_cap;
int pcie_cap;
};
+ int pcie_readrq;
struct mii_bus *mdio_bus;
int mdio_irq[PHY_MAX_ADDR];