diff options
author | Vasanthy Kolluri <vkolluri@cisco.com> | 2010-06-24 06:50:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-25 23:50:23 -0400 |
commit | a7a79debcca02fbf908c0abed8d8fb25d0e51b48 (patch) | |
tree | 93651a514b16b50956b32f5665a5d896ae7b21dd /drivers/net/enic/vnic_dev.h | |
parent | 383ab92f11dd78d365ed05cf4d83ca2acc069a1f (diff) |
enic: Use (netdev|dev|pr)_<level> macro helpers for logging
Replace all printk routines with the (netdev|dev|pr)_<level> macros that
provide verbose logs.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic/vnic_dev.h')
-rw-r--r-- | drivers/net/enic/vnic_dev.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/enic/vnic_dev.h b/drivers/net/enic/vnic_dev.h index 3a2968180641..11659c6678f5 100644 --- a/drivers/net/enic/vnic_dev.h +++ b/drivers/net/enic/vnic_dev.h | |||
@@ -41,6 +41,9 @@ static inline void writeq(u64 val, void __iomem *reg) | |||
41 | } | 41 | } |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | #undef pr_fmt | ||
45 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
46 | |||
44 | enum vnic_dev_hw_version { | 47 | enum vnic_dev_hw_version { |
45 | VNIC_DEV_HW_VER_UNKNOWN, | 48 | VNIC_DEV_HW_VER_UNKNOWN, |
46 | VNIC_DEV_HW_VER_A1, | 49 | VNIC_DEV_HW_VER_A1, |