e100: adapt to the reworked PCI PM
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 29 Oct 2008 21:22:18 +0000 (14:22 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 31 Oct 2008 04:52:26 +0000 (00:52 -0400)
commitbc79fc8409b3dccbde072e8113cc1fb3fd876fc5
tree35a507bd393e5df83b155af1aa2f4053ab9df3ae
parent6b1abbaefa31b84cc02bf4006ba8a63393de1136
e100: adapt to the reworked PCI PM

Adapt the e100 driver to the reworked PCI PM

* Use the observation that it is sufficient to call pci_enable_wake()
  once, unless it fails

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Frans Pop <elendil@planet.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/e100.c