e1000e: fix accessing to suspended device
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Tue, 5 Mar 2013 09:43:09 +0000 (09:43 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 7 Mar 2013 10:55:30 +0000 (02:55 -0800)
commite60b22c5b7e59db09a7c9490b1e132c7e49ae904
tree9e708941b86049dff4fa936117031988a0d7cb7f
parent66148babe728f3e00e13c56f6b0ecf325abd80da
e1000e: fix accessing to suspended device

This patch fixes some annoying messages like 'Error reading PHY register' and
'Hardware Erorr' and saves several seconds on reboot.

Cc: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Borislav Petkov <bp@suse.de>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/ethtool.c
drivers/net/ethernet/intel/e1000e/netdev.c