diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2008-11-14 01:54:36 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-16 22:09:43 -0500 |
commit | 6ea7ae1d0fc02a6c4ccd27e43346f67c44226e7a (patch) | |
tree | cb07bd55c0d908cae9e3539dda6fa1c5bf6512f4 /drivers/net/e1000e/82571.c | |
parent | f004f3ea34209d8b836426b26ade3dc502631b18 (diff) |
e1000e: enable ECC correction on 82571 silicon
This change enables ECC correction for the packet buffer on all 82571
silicon.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/82571.c')
-rw-r--r-- | drivers/net/e1000e/82571.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/e1000e/82571.c b/drivers/net/e1000e/82571.c index b2c910c52df9..3027ad53fa65 100644 --- a/drivers/net/e1000e/82571.c +++ b/drivers/net/e1000e/82571.c | |||
@@ -973,6 +973,12 @@ static void e1000_initialize_hw_bits_82571(struct e1000_hw *hw) | |||
973 | ew32(CTRL_EXT, reg); | 973 | ew32(CTRL_EXT, reg); |
974 | } | 974 | } |
975 | 975 | ||
976 | if (hw->mac.type == e1000_82571) { | ||
977 | reg = er32(PBA_ECC); | ||
978 | reg |= E1000_PBA_ECC_CORR_EN; | ||
979 | ew32(PBA_ECC, reg); | ||
980 | } | ||
981 | |||
976 | /* PCI-Ex Control Register */ | 982 | /* PCI-Ex Control Register */ |
977 | if (hw->mac.type == e1000_82574) { | 983 | if (hw->mac.type == e1000_82574) { |
978 | reg = er32(GCR); | 984 | reg = er32(GCR); |