diff options
author | Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> | 2009-04-28 22:42:39 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-28 22:42:39 -0700 |
commit | ac7c992cac0c8f276aa8e4a8273204a6db707bb3 (patch) | |
tree | e6869cf129c4d4bb921025c61c93cca157d63c04 /drivers/net/ni65.h | |
parent | bf0de3e9c87fda3d1fc55ac2914948f3ca32ff9b (diff) | |
download | op-kernel-dev-ac7c992cac0c8f276aa8e4a8273204a6db707bb3.zip op-kernel-dev-ac7c992cac0c8f276aa8e4a8273204a6db707bb3.tar.gz |
e100: do not go D3 in shutdown unless system is powering off
After experimenting with kexec with the last merges after 2.6.29, I've
had some problems when probing e100. It would not read the eeprom. After
some bisects, I realized this has been like that since forever (at least
2.6.18). The problem is that shutdown is doing the same thing that
suspend does and puts the device in D3 state. I couldn't find a way to
get the device back to a sane state in the probe function. So, based on
some similar patches from Rafael J. Wysocki for e1000, e1000e, and ixgbe,
I wrote this one for e100.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ni65.h')
0 files changed, 0 insertions, 0 deletions