summaryrefslogtreecommitdiffstats
path: root/sys/dev/bxe/ecore_init.h
diff options
context:
space:
mode:
authordavidcs <davidcs@FreeBSD.org>2016-02-25 22:44:00 +0000
committerdavidcs <davidcs@FreeBSD.org>2016-02-25 22:44:00 +0000
commitcd53b03d2ca116be4d88572bd5c1f2602f71fab0 (patch)
tree800818536f3983f87017ad716be3e46378428cdc /sys/dev/bxe/ecore_init.h
parent6eec6747ab804ce9924530695ea643d5c25685f9 (diff)
downloadFreeBSD-src-cd53b03d2ca116be4d88572bd5c1f2602f71fab0.zip
FreeBSD-src-cd53b03d2ca116be4d88572bd5c1f2602f71fab0.tar.gz
Upgrade the firmware carried in driver and loaded during hardware
initialization (a.k.a STORM firmware) to version 7.13.1 (latest version)
Diffstat (limited to 'sys/dev/bxe/ecore_init.h')
-rw-r--r--sys/dev/bxe/ecore_init.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/bxe/ecore_init.h b/sys/dev/bxe/ecore_init.h
index 7e1af17..8ce06ab 100644
--- a/sys/dev/bxe/ecore_init.h
+++ b/sys/dev/bxe/ecore_init.h
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2007-2014 QLogic Corporation. All rights reserved.
+ * Copyright (c) 2007-2017 QLogic Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -11,7 +11,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS'
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
@@ -750,9 +750,9 @@ static inline void ecore_set_mcp_parity(struct bxe_softc *sc, uint8_t enable)
reg_val = REG_RD(sc, mcp_attn_ctl_regs[i].addr);
if (enable)
- reg_val |= mcp_attn_ctl_regs[i].bits;
+ reg_val |= MISC_AEU_ENABLE_MCP_PRTY_BITS; /* Linux is using mcp_attn_ctl_regs[i].bits */
else
- reg_val &= ~mcp_attn_ctl_regs[i].bits;
+ reg_val &= ~MISC_AEU_ENABLE_MCP_PRTY_BITS; /* Linux is using mcp_attn_ctl_regs[i].bits */
REG_WR(sc, mcp_attn_ctl_regs[i].addr, reg_val);
}
OpenPOWER on IntegriCloud