提交 3786b942 编写于 作者: A Ariel Elior 提交者: David S. Miller

bnx2x: Prevent "Unknown MF" print in SF mode

When using a chip operating in Single Function mode, when the chip is probed
the bnx2x would print a message warning of an unknown Multi Function mode.

This patch prevents said message.
Signed-off-by: NAriel Elior <ariele@broadcom.com>
Signed-off-by: NYuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: NEilon Greenstein <eilong@broadcom.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 f22fdf25
...@@ -11060,6 +11060,9 @@ static int bnx2x_get_hwinfo(struct bnx2x *bp) ...@@ -11060,6 +11060,9 @@ static int bnx2x_get_hwinfo(struct bnx2x *bp)
} else } else
BNX2X_DEV_INFO("illegal OV for SD\n"); BNX2X_DEV_INFO("illegal OV for SD\n");
break; break;
case SHARED_FEAT_CFG_FORCE_SF_MODE_FORCED_SF:
bp->mf_config[vn] = 0;
break;
default: default:
/* Unknown configuration: reset mf_config */ /* Unknown configuration: reset mf_config */
bp->mf_config[vn] = 0; bp->mf_config[vn] = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册