diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-09-30 20:11:11 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-30 20:11:11 -0700 |
commit | 7bfc4ab5620d8169d2effc0dbb644f207f75a9e3 (patch) | |
tree | 1403872368215e18d82a9d304f832e8d5df722bb /lib | |
parent | a55c0a0ed41533b3a7b32a6c8acdc1bb04a017b5 (diff) |
3c59x: Rework suspend and resume
As noticed by Alan Stern, there is still one issue with the driver:
we disable PCI IRQ on suspend, but other devices on the same IRQ
line might still need the IRQ enabled to suspend properly.
Nowadays, PCI core handles all power management work by itself, with
one condition though: if we use dev_pm_ops. So, rework the driver to
only quiesce 3c59x internal logic on suspend, while PCI core will
manage PCI device power state with IRQs disabled.
Suggested-by: Rafael J. Wysocki <rjw@sisk.pl>
Suggested-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions