aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/en_netdev.c
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2010-08-23 23:46:01 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-24 17:54:49 -0400
commite5cc44b2eb2b8192c9623eb877936063ba8556f3 (patch)
treebb7caeb22d79dfc562a24c3d1f231851355d34b4 /drivers/net/mlx4/en_netdev.c
parenta0b4e6e09c79df9efdb9872f30eb4cdb291c6c78 (diff)
mlx4_en: Reporting link state with KERN_INFO
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/en_netdev.c')
-rw-r--r--drivers/net/mlx4/en_netdev.c4
1 files changed, 2 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 }