diff options
author | Vladislav Zolotarov <vladz@broadcom.com> | 2011-06-13 21:33:51 -0400 |
---|---|---|
committer | David S. Miller <davem@conan.davemloft.net> | 2011-06-15 10:56:55 -0400 |
commit | c9ee92062424375fe6e73c4af5d52df289ccf9eb (patch) | |
tree | acbc3646162c2187c1314a97b288ba07fba7fc5a /drivers/net/bnx2x/bnx2x_ethtool.c | |
parent | 619c5cb6885b936c44ae1422ef805b69c6291485 (diff) |
bnx2x: 57712 parity handling
- Added support for a parity error handling for a 57712 chip.
- Changed the parity recovery scheme from per-chip to per-engine.
Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_ethtool.c')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_ethtool.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/bnx2x/bnx2x_ethtool.c b/drivers/net/bnx2x/bnx2x_ethtool.c index 1b4fa1d98005..965fb071fbe4 100644 --- a/drivers/net/bnx2x/bnx2x_ethtool.c +++ b/drivers/net/bnx2x/bnx2x_ethtool.c | |||
@@ -634,8 +634,7 @@ static void bnx2x_get_regs(struct net_device *dev, | |||
634 | } | 634 | } |
635 | /* Re-enable parity attentions */ | 635 | /* Re-enable parity attentions */ |
636 | bnx2x_clear_blocks_parity(bp); | 636 | bnx2x_clear_blocks_parity(bp); |
637 | if (CHIP_PARITY_ENABLED(bp)) | 637 | bnx2x_enable_blocks_parity(bp); |
638 | bnx2x_enable_blocks_parity(bp); | ||
639 | } | 638 | } |
640 | 639 | ||
641 | static void bnx2x_get_drvinfo(struct net_device *dev, | 640 | static void bnx2x_get_drvinfo(struct net_device *dev, |