linux_old1/drivers/net/e1000
Emil Tantilov 675ad47375 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>
2010-04-27 17:05:03 -07:00
..
Makefile e100, e1000, ixgb: update copyright header and remove LICENSE 2006-09-27 12:53:14 -07:00
e1000.h e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_ethtool.c e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_hw.c e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_hw.h e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_main.c e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_osdep.h e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_param.c e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00