diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2008-11-14 09:54:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-17 06:09:43 +0300 |
commit | 6ea7ae1d0fc02a6c4ccd27e43346f67c44226e7a (patch) | |
tree | cb07bd55c0d908cae9e3539dda6fa1c5bf6512f4 /drivers/net/e1000e/82571.c | |
parent | f004f3ea34209d8b836426b26ade3dc502631b18 (diff) | |
download | linux-6ea7ae1d0fc02a6c4ccd27e43346f67c44226e7a.tar.xz |
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) ew32(CTRL_EXT, reg); } + if (hw->mac.type == e1000_82571) { + reg = er32(PBA_ECC); + reg |= E1000_PBA_ECC_CORR_EN; + ew32(PBA_ECC, reg); + } + /* PCI-Ex Control Register */ if (hw->mac.type == e1000_82574) { reg = er32(GCR); |