diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2010-04-27 14:02:58 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-27 17:05:03 -0700 |
commit | 675ad47375c76a7c3be4ace9554d92cd55518ced (patch) | |
tree | 54acb7e8aa4db5e93b960d565b1cc2dce45988b9 /drivers/net/e1000/e1000_hw.h | |
parent | 709b9326ef6fc1b7e379d47d5f39ebc27dad3f4d (diff) | |
download | blackbird-obmc-linux-675ad47375c76a7c3be4ace9554d92cd55518ced.tar.gz blackbird-obmc-linux-675ad47375c76a7c3be4ace9554d92cd55518ced.zip |
e1000: Use netdev_<level>, pr_<level> and dev_<level>
This patch is an alternative to similar patch provided by Joe Perches.
Substitute DPRINTK macro for e_<level> that uses netdev_<level> and dev_<level>
similar to e1000e.
- Convert printk to pr_<level> where applicable.
- Use common #define pr_fmt for the driver.
- Use dev_<level> for displaying text in parts of the driver where the interface
name is not assigned (like e1000_param.c).
- Better align test with the new macros.
CC: Joe Perches <joe@perches.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000/e1000_hw.h')
-rw-r--r-- | drivers/net/e1000/e1000_hw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000_hw.h b/drivers/net/e1000/e1000_hw.h index 9acfddb0dafb..ecd9f6c6bcd5 100644 --- a/drivers/net/e1000/e1000_hw.h +++ b/drivers/net/e1000/e1000_hw.h @@ -35,6 +35,7 @@ #include "e1000_osdep.h" + /* Forward declarations of structures used by the shared code */ struct e1000_hw; struct e1000_hw_stats; |