diff options
-rw-r--r-- | drivers/net/mlx4/en_netdev.c | 4 | ||||
-rw-r--r-- | drivers/net/mlx4/mlx4_en.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/mlx4/en_netdev.c b/drivers/net/mlx4/en_netdev.c index 985e6f83b31a..34cfa3cfbdae 100644 --- a/drivers/net/mlx4/en_netdev.c +++ b/drivers/net/mlx4/en_netdev.c | |||
@@ -528,10 +528,10 @@ static void mlx4_en_linkstate(struct work_struct *work) | |||
528 | * report to system log */ | 528 | * report to system log */ |
529 | if (priv->last_link_state != linkstate) { | 529 | if (priv->last_link_state != linkstate) { |
530 | if (linkstate == MLX4_DEV_EVENT_PORT_DOWN) { | 530 | if (linkstate == MLX4_DEV_EVENT_PORT_DOWN) { |
531 | en_dbg(LINK, priv, "Link Down\n"); | 531 | en_info(priv, "Link Down\n"); |
532 | netif_carrier_off(priv->dev); | 532 | netif_carrier_off(priv->dev); |
533 | } else { | 533 | } else { |
534 | en_dbg(LINK, priv, "Link Up\n"); | 534 | en_info(priv, "Link Up\n"); |
535 | netif_carrier_on(priv->dev); | 535 | netif_carrier_on(priv->dev); |
536 | } | 536 | } |
537 | } | 537 | } |
diff --git a/drivers/net/mlx4/mlx4_en.h b/drivers/net/mlx4/mlx4_en.h index 554014bd8af5..edf6523702c0 100644 --- a/drivers/net/mlx4/mlx4_en.h +++ b/drivers/net/mlx4/mlx4_en.h | |||
@@ -554,6 +554,8 @@ do { \ | |||
554 | en_print(KERN_WARNING, priv, format, ##arg) | 554 | en_print(KERN_WARNING, priv, format, ##arg) |
555 | #define en_err(priv, format, arg...) \ | 555 | #define en_err(priv, format, arg...) \ |
556 | en_print(KERN_ERR, priv, format, ##arg) | 556 | en_print(KERN_ERR, priv, format, ##arg) |
557 | #define en_info(priv, format, arg...) \ | ||
558 | en_print(KERN_INFO, priv, format, ## arg) | ||
557 | 559 | ||
558 | #define mlx4_err(mdev, format, arg...) \ | 560 | #define mlx4_err(mdev, format, arg...) \ |
559 | pr_err("%s %s: " format, DRV_NAME, \ | 561 | pr_err("%s %s: " format, DRV_NAME, \ |