NETIF_MSG_HW
if ((pcnet32_debug & NETIF_MSG_PROBE) && (pcnet32_debug & NETIF_MSG_HW))
alx->msg_enable = NETIF_MSG_LINK | NETIF_MSG_HW | NETIF_MSG_IFUP |
DP(NETIF_MSG_HW, \
DP(NETIF_MSG_HW, \
DP(NETIF_MSG_HW, "Setting parity mask "
DP(NETIF_MSG_HW,
DP(NETIF_MSG_HW, "Parity error in MCP: 0x%x\n",
DP(NETIF_MSG_HW, "read order of %d order adjusted to %d\n",
DP(NETIF_MSG_HW, "write order of %d order adjusted to %d\n",
DP(NETIF_MSG_HW, "write order adjusted to 1 for FPGA\n");
DP(NETIF_MSG_HW, "read order %d write order %d\n", r_order, w_order);
DP(NETIF_MSG_HW, "Handling parity\n");
DP(NETIF_MSG_HW, "State is BNX2X_RECOVERY_INIT\n");
DP(NETIF_MSG_HW, "State is BNX2X_RECOVERY_WAIT\n");
DP(NETIF_MSG_HW, "fan failure detected. Unloading driver\n");
DP(NETIF_MSG_HW, "Path %d was marked by AER\n",
DP(NETIF_MSG_HW, "Removing AER indication from path %d\n",
DP(NETIF_MSG_HW, "Marked path [%d] - finished previous unload\n",
bp->msg_enable |= NETIF_MSG_HW;
DP(NETIF_MSG_HW | NETIF_MSG_IFUP,
DP(NETIF_MSG_HW | NETIF_MSG_IFUP,
DP(NETIF_MSG_HW | NETIF_MSG_IFUP,
DP(NETIF_MSG_HW, "Set SPIO 0x%x -> output low\n", spio);
DP(NETIF_MSG_HW, "Set SPIO 0x%x -> output high\n", spio);
DP(NETIF_MSG_HW, "Set SPIO 0x%x -> input\n", spio);
DP(NETIF_MSG_HW, "aeu_mask %x newly asserted %x\n",
DP(NETIF_MSG_HW, "new mask %x\n", aeu_mask);
DP(NETIF_MSG_HW, "attn_state %x\n", bp->attn_state);
DP(NETIF_MSG_HW, "new state %x\n", bp->attn_state);
DP(NETIF_MSG_HW, "ATTN_SW_TIMER_4_FUNC!\n");
DP(NETIF_MSG_HW, "GPIO_2_FUNC!\n");
DP(NETIF_MSG_HW, "GPIO_3_FUNC!\n");
DP(NETIF_MSG_HW, "GPIO_4_FUNC!\n");
DP(NETIF_MSG_HW, "ATTN_GENERAL_ATTN_1!\n");
DP(NETIF_MSG_HW, "ATTN_GENERAL_ATTN_2!\n");
DP(NETIF_MSG_HW, "ATTN_GENERAL_ATTN_3!\n");
DP(NETIF_MSG_HW, "ATTN_GENERAL_ATTN_4!\n");
DP(NETIF_MSG_HW, "ATTN_GENERAL_ATTN_5!\n");
DP(NETIF_MSG_HW, "ATTN_GENERAL_ATTN_6!\n");
DP(NETIF_MSG_HW, "about to mask 0x%08x at %s addr 0x%x\n", asserted,
DP(NETIF_MSG_HW,
DP(NETIF_MSG_HW, "GEN_REG_VAL=0x%08x\n", val);
DP(NETIF_MSG_HW | NETIF_MSG_IFUP, "GLOB_REG=0x%08x\n", val);
DP(NETIF_MSG_HW | NETIF_MSG_IFUP, "load mask for engine %d = 0x%x\n",
DP(NETIF_MSG_HW, "Was parity error: HW block parity attention:\n"
DP(NETIF_MSG_HW, "attn: %08x %08x %08x %08x %08x\n",
DP(NETIF_MSG_HW, "group[%d]: %08x %08x %08x %08x %08x\n",
DP(NETIF_MSG_HW, "about to mask 0x%08x at %s addr 0x%x\n", val,
DP(NETIF_MSG_HW, "aeu_mask %x newly deasserted %x\n",
DP(NETIF_MSG_HW, "new mask %x\n", aeu_mask);
DP(NETIF_MSG_HW, "attn_state %x\n", bp->attn_state);
DP(NETIF_MSG_HW, "new state %x\n", bp->attn_state);
DP(NETIF_MSG_HW,
DP(NETIF_MSG_HW, "part2\n");
DP(NETIF_MSG_HW, "done\n");
DP(NETIF_MSG_HW, "read 0x%x from devctl\n", devctl);
DP(NETIF_MSG_HW, "force read order to %d\n", bp->mrrs);
DP(NETIF_MSG_HW, "fan detection setting: %d\n", is_required);
DP(NETIF_MSG_HW, "starting common init func %d\n", BP_ABS_FUNC(bp));
DP(NETIF_MSG_HW, "starting port init port %d\n", port);
DP(NETIF_MSG_HW, "write 0x%08x to IGU(via GRC) addr 0x%x\n",
DP(NETIF_MSG_HW, "write 0x%08x to IGU(via GRC) addr 0x%x\n",
DP(NETIF_MSG_HW,
DP(NETIF_MSG_HW, "starting func init func %d\n", func);
DP(NETIF_MSG_HW,
DP(NETIF_MSG_HW | NETIF_MSG_IFUP, "%s gates #2, #3 and #4\n",
DP(NETIF_MSG_HW | NETIF_MSG_IFUP, "Starting\n");
DP(NETIF_MSG_HW, "INFO %s", message);
DP(NETIF_MSG_HW, "WARNING %s", message);
DP(NETIF_MSG_HW, "write 0x%08x to IGU(via GRC) addr 0x%x\n",
DP(NETIF_MSG_HW, "write 0x%08x to IGU(via GRC) addr 0x%x\n",
#define BNXT_DEF_MSG_ENABLE (NETIF_MSG_DRV | NETIF_MSG_HW | \
if ((msglvl ^ lio->msg_enable) & NETIF_MSG_HW) {
if (msglvl & NETIF_MSG_HW)
if ((debug != -1) && (debug & NETIF_MSG_HW))
if ((level & NETIF_MSG_HW) != (adapter->msg_enable & NETIF_MSG_HW))
be_cmd_set_fw_log_level(adapter, level & NETIF_MSG_HW ?
level <= FW_LOG_LEVEL_DEFAULT ? NETIF_MSG_HW : 0;
NETIF_MSG_IFDOWN | NETIF_MSG_HW)
NETIF_MSG_HW)
NETIF_MSG_HW,
NETIF_MSG_HW,
NETIF_MSG_HW,
NETIF_MSG_HW,
NETIF_MSG_HW,
NETIF_MSG_HW,
DP_VERBOSE(p_hwfn, NETIF_MSG_HW, "]\n");
NETIF_MSG_HW,
DP_VERBOSE(p_hwfn, NETIF_MSG_HW, "Configuring LLH_FUNC_TAG\n");
DP_VERBOSE(p_hwfn, NETIF_MSG_HW,
DP_VERBOSE(p_hwfn, NETIF_MSG_HW,
DP_VERBOSE(p_hwfn, NETIF_MSG_HW,
DP_VERBOSE(p_hwfn, NETIF_MSG_HW,
DP_VERBOSE(p_hwfn, NETIF_MSG_HW,
DP_VERBOSE(p_hwfn, NETIF_MSG_HW,
DP_VERBOSE(p_hwfn, NETIF_MSG_HW,
DP_VERBOSE(p_hwfn, NETIF_MSG_HW,
NETIF_MSG_HW,
NETIF_MSG_HW,
DP_VERBOSE(p_hwfn, NETIF_MSG_HW,
(NETIF_MSG_HW | QED_MSG_SP),
NETIF_MSG_TX_ERR | NETIF_MSG_HW;
NETIF_MSG_TX_ERR | NETIF_MSG_HW);
NETIF_MSG_TX_ERR | NETIF_MSG_HW);
NETIF_MSG_TX_ERR | NETIF_MSG_HW);
NETIF_MSG_TX_ERR | NETIF_MSG_HW);
NETIF_MSG_TX_ERR | NETIF_MSG_HW);
priv->msg_enable = NETIF_MSG_TX_ERR | NETIF_MSG_HW | NETIF_MSG_DRV |
#define AM65_CPSW_DEBUG (NETIF_MSG_HW | NETIF_MSG_DRV | NETIF_MSG_LINK | \
#define CPSW_DEBUG (NETIF_MSG_HW | NETIF_MSG_WOL | \
NETIF_MSG_HW | \
NETIF_MSG_HW | \
#define NETCP_DEBUG (NETIF_MSG_HW | NETIF_MSG_WOL | \
lp->msg_enable = NETIF_MSG_TX_ERR | NETIF_MSG_HW | NETIF_MSG_DRV | NETIF_MSG_LINK;
#define netif_msg_hw(p) ((p)->msg_enable & NETIF_MSG_HW)