e1000e: use more informative logging macros when netdev not yet registered
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 7 Jun 2012 02:23:37 +0000 (02:23 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 14 Jun 2012 10:03:14 +0000 (03:03 -0700)
commit185095fb80ce57c0f3db8738e36ad7c02dc34d33
treedad8c374f71dfd6404cdad424b746b7bd06c8bf8
parent0450243096de90ff51c3a6c605410c5e28d79f8d
e1000e: use more informative logging macros when netdev not yet registered

Based on a report from Ethan Zhao, before calling register_netdev() the
driver should be using logging macros that do not display the potentially
confusing "(unregistered net_device)" yet still display the useful driver
name and PCI bus/device/function.

Reported-by: Ethan Zhao <ethan.kernel@gmail.com>
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c
drivers/net/ethernet/intel/e1000e/param.c