aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x/bnx2x_ethtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_ethtool.c')
-rw-r--r--drivers/net/bnx2x/bnx2x_ethtool.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/bnx2x/bnx2x_ethtool.c b/drivers/net/bnx2x/bnx2x_ethtool.c
index 2957353f7c2c..9526a320eaf2 100644
--- a/drivers/net/bnx2x/bnx2x_ethtool.c
+++ b/drivers/net/bnx2x/bnx2x_ethtool.c
@@ -704,8 +704,12 @@ static void bnx2x_set_msglevel(struct net_device *dev, u32 level)
704{ 704{
705 struct bnx2x *bp = netdev_priv(dev); 705 struct bnx2x *bp = netdev_priv(dev);
706 706
707 if (capable(CAP_NET_ADMIN)) 707 if (capable(CAP_NET_ADMIN)) {
708 /* dump MCP trace */
709 if (level & BNX2X_MSG_MCP)
710 bnx2x_fw_dump_lvl(bp, KERN_INFO);
708 bp->msg_enable = level; 711 bp->msg_enable = level;
712 }
709} 713}
710 714
711static int bnx2x_nway_reset(struct net_device *dev) 715static int bnx2x_nway_reset(struct net_device *dev)