diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-10-01 07:11:11 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-01 07:11:11 +0400 |
commit | 7bfc4ab5620d8169d2effc0dbb644f207f75a9e3 (patch) | |
tree | 1403872368215e18d82a9d304f832e8d5df722bb /drivers/net/mlx4/srq.c | |
parent | a55c0a0ed41533b3a7b32a6c8acdc1bb04a017b5 (diff) | |
download | linux-7bfc4ab5620d8169d2effc0dbb644f207f75a9e3.tar.xz |
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 'drivers/net/mlx4/srq.c')
0 files changed, 0 insertions, 0 deletions