diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2010-04-27 10:02:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-27 20:05:03 -0400 |
commit | 675ad47375c76a7c3be4ace9554d92cd55518ced (patch) | |
tree | 54acb7e8aa4db5e93b960d565b1cc2dce45988b9 /drivers/net/e1000e/netdev.c | |
parent | 709b9326ef6fc1b7e379d47d5f39ebc27dad3f4d (diff) |
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/e1000e/netdev.c')
0 files changed, 0 insertions, 0 deletions