summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasey Leedom <leedom@chelsio.com>2010-09-02 13:07:29 +0000
committerDavid S. Miller <davem@davemloft.net>2010-09-03 10:03:50 -0700
commit96e4a387528cfe806fbdf7b022a6c3f103af4ae1 (patch)
tree322f518b9e4d2c22f2e1fb698c6db05b1e0711e4
parent52ee7a04a0f88815a71acdc604a854fb30dcbe45 (diff)
cxgb3: Add register bit definition for Fatal Parity Error.
Signed-off-by: Casey Leedom <leedom@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/cxgb3/regs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/regs.h b/drivers/net/cxgb3/regs.h
index cb42353c9fdd..6990f6c65221 100644
--- a/drivers/net/cxgb3/regs.h
+++ b/drivers/net/cxgb3/regs.h
@@ -1997,6 +1997,10 @@
#define A_PL_RST 0x6f0
+#define S_FATALPERREN 4
+#define V_FATALPERREN(x) ((x) << S_FATALPERREN)
+#define F_FATALPERREN V_FATALPERREN(1U)
+
#define S_CRSTWRM 1
#define V_CRSTWRM(x) ((x) << S_CRSTWRM)
#define F_CRSTWRM V_CRSTWRM(1U)