summaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/mlx4_en.h
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2010-08-24 05:46:01 +0200
committerDavid S. Miller <davem@davemloft.net>2010-08-24 23:54:49 +0200
commite5cc44b2eb2b8192c9623eb877936063ba8556f3 (patch)
treebb7caeb22d79dfc562a24c3d1f231851355d34b4 /drivers/net/mlx4/mlx4_en.h
parentmlx4_en: Fixed MAX_TX_RINGS definition (diff)
downloadlinux-e5cc44b2eb2b8192c9623eb877936063ba8556f3.tar.xz
linux-e5cc44b2eb2b8192c9623eb877936063ba8556f3.zip
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/mlx4_en.h')
-rw-r--r--drivers/net/mlx4/mlx4_en.h2
1 files changed, 2 insertions, 0 deletions
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 { \
en_print(KERN_WARNING, priv, format, ##arg)
#define en_err(priv, format, arg...) \
en_print(KERN_ERR, priv, format, ##arg)
+#define en_info(priv, format, arg...) \
+ en_print(KERN_INFO, priv, format, ## arg)
#define mlx4_err(mdev, format, arg...) \
pr_err("%s %s: " format, DRV_NAME, \