diff options
author | Ramkrishna Vepa <ram.vepa@neterion.com> | 2007-07-25 22:35:09 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-30 15:56:04 -0400 |
commit | 5b952a09140d1a9f432ae272a96727cb2b2bbcd8 (patch) | |
tree | f94734e25aa94982b55e85153c23af0f153654b3 /drivers/net/s2io-regs.h | |
parent | b6627672a8d130014bfcf93bdf98253498633798 (diff) |
S2io: Mask spurious interrupts
- Mask single and double bit ETQ ecc errors to inhibit spurious interrupts.
(Resending; Removed HTML sections in the patch)
Signed-off-by: Santosh Rastapur <santosh.rastapur@neterion.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/s2io-regs.h')
-rw-r--r-- | drivers/net/s2io-regs.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/s2io-regs.h b/drivers/net/s2io-regs.h index 4cb710bbe729..cfa267914476 100644 --- a/drivers/net/s2io-regs.h +++ b/drivers/net/s2io-regs.h | |||
@@ -747,10 +747,9 @@ struct XENA_dev_config { | |||
747 | #define MC_ERR_REG_MIRI_CRI_ERR_1 BIT(23) | 747 | #define MC_ERR_REG_MIRI_CRI_ERR_1 BIT(23) |
748 | #define MC_ERR_REG_SM_ERR BIT(31) | 748 | #define MC_ERR_REG_SM_ERR BIT(31) |
749 | #define MC_ERR_REG_ECC_ALL_SNG (BIT(2) | BIT(3) | BIT(4) | BIT(5) |\ | 749 | #define MC_ERR_REG_ECC_ALL_SNG (BIT(2) | BIT(3) | BIT(4) | BIT(5) |\ |
750 | BIT(6) | BIT(7) | BIT(17) | BIT(19)) | 750 | BIT(17) | BIT(19)) |
751 | #define MC_ERR_REG_ECC_ALL_DBL (BIT(10) | BIT(11) | BIT(12) |\ | 751 | #define MC_ERR_REG_ECC_ALL_DBL (BIT(10) | BIT(11) | BIT(12) |\ |
752 | BIT(13) | BIT(14) | BIT(15) |\ | 752 | BIT(13) | BIT(18) | BIT(20)) |
753 | BIT(18) | BIT(20)) | ||
754 | u64 mc_err_mask; | 753 | u64 mc_err_mask; |
755 | u64 mc_err_alarm; | 754 | u64 mc_err_alarm; |
756 | 755 | ||