e1000e: fix accessing to suspended device
authorKonstantin Khlebnikov <[email protected]>
Tue, 5 Mar 2013 09:43:09 +0000 (09:43 +0000)
committerJeff Kirsher <[email protected]>
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 <[email protected]>
Signed-off-by: Konstantin Khlebnikov <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Tested-by: Borislav Petkov <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/e1000e/ethtool.c
drivers/net/ethernet/intel/e1000e/netdev.c