aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bxe/ecore_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/bxe/ecore_init.h')
-rw-r--r--sys/dev/bxe/ecore_init.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/bxe/ecore_init.h b/sys/dev/bxe/ecore_init.h
index 31417cc4cd90..7e1af17aea66 100644
--- a/sys/dev/bxe/ecore_init.h
+++ b/sys/dev/bxe/ecore_init.h
@@ -749,17 +749,10 @@ static inline void ecore_set_mcp_parity(struct bxe_softc *sc, uint8_t enable)
for (i = 0; i < ARRSIZE(mcp_attn_ctl_regs); i++) {
reg_val = REG_RD(sc, mcp_attn_ctl_regs[i].addr);
-#if 0
- if (enable)
- reg_val |= MISC_AEU_ENABLE_MCP_PRTY_BITS; /* Linux is using mcp_attn_ctl_regs[i].bits */
- else
- reg_val &= ~MISC_AEU_ENABLE_MCP_PRTY_BITS; /* Linux is using mcp_attn_ctl_regs[i].bits */
-#else
if (enable)
reg_val |= mcp_attn_ctl_regs[i].bits;
else
reg_val &= ~mcp_attn_ctl_regs[i].bits;
-#endif
REG_WR(sc, mcp_attn_ctl_regs[i].addr, reg_val);
}