diff options
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 46a3f86125be..e8def28877ce 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -6719,6 +6719,11 @@ static int tg3_reset_hw(struct tg3 *tp, int reset_phy) | |||
6719 | val |= PCIE_PWR_MGMT_EXT_ASPM_TMR_EN | | 6719 | val |= PCIE_PWR_MGMT_EXT_ASPM_TMR_EN | |
6720 | PCIE_PWR_MGMT_L1_THRESH_4MS; | 6720 | PCIE_PWR_MGMT_L1_THRESH_4MS; |
6721 | tw32(PCIE_PWR_MGMT_THRESH, val); | 6721 | tw32(PCIE_PWR_MGMT_THRESH, val); |
6722 | |||
6723 | val = tr32(TG3_PCIE_EIDLE_DELAY) & ~TG3_PCIE_EIDLE_DELAY_MASK; | ||
6724 | tw32(TG3_PCIE_EIDLE_DELAY, val | TG3_PCIE_EIDLE_DELAY_13_CLKS); | ||
6725 | |||
6726 | tw32(TG3_CORR_ERR_STAT, TG3_CORR_ERR_STAT_CLEAR); | ||
6722 | } | 6727 | } |
6723 | 6728 | ||
6724 | /* This works around an issue with Athlon chipsets on | 6729 | /* This works around an issue with Athlon chipsets on |