diff options
author | Joe Perches <joe@perches.com> | 2010-02-15 08:34:20 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-16 15:45:42 -0800 |
commit | 6909c66dfbbab99dbbd9931627c9f6e8c45bfbdb (patch) | |
tree | b4926f52d4fd8f55da86cd7aff70102c49d30cbd /drivers/net/ixgb/ixgb.h | |
parent | 177867ce08f2756fa361e37086fc1792d7b4cf29 (diff) | |
download | op-kernel-dev-6909c66dfbbab99dbbd9931627c9f6e8c45bfbdb.zip op-kernel-dev-6909c66dfbbab99dbbd9931627c9f6e8c45bfbdb.tar.gz |
drivers/net/ixgb: Use netif_printk macros
Convert private DPRINTK macro uses to netif_<level> equivalents
Remove #define DPRINTK
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgb/ixgb.h')
-rw-r--r-- | drivers/net/ixgb/ixgb.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/net/ixgb/ixgb.h b/drivers/net/ixgb/ixgb.h index 5257ae0..92d2e71 100644 --- a/drivers/net/ixgb/ixgb.h +++ b/drivers/net/ixgb/ixgb.h @@ -75,19 +75,14 @@ struct ixgb_adapter; #include "ixgb_ee.h" #include "ixgb_ids.h" +#define PFX "ixgb: " + #ifdef _DEBUG_DRIVER_ -#define IXGB_DBG(args...) printk(KERN_DEBUG "ixgb: " args) +#define IXGB_DBG(args...) printk(KERN_DEBUG PFX args) #else #define IXGB_DBG(args...) #endif -#define PFX "ixgb: " -#define DPRINTK(nlevel, klevel, fmt, args...) \ - (void)((NETIF_MSG_##nlevel & adapter->msg_enable) && \ - printk(KERN_##klevel PFX "%s: %s: " fmt, adapter->netdev->name, \ - __func__ , ## args)) - - /* TX/RX descriptor defines */ #define DEFAULT_TXD 256 #define MAX_TXD 4096 |