Re: [PATCH] e100: Use pci_pme_active for clearing wake-up events and disabling PME# (was: Re: [regression] e100: PCI wake-up handling rework causes "Error clearing wake event")

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

On Tue, 9 Sep 2008 15:14:22 +0200
"Rafael J. Wysocki" <rjw@sisk.pl> wrote:


This change is already included in

e100-adapt-to-the-reworked-pci-pm.patch:

  From: "Rafael J. Wysocki" <rjw@sisk.pl>
  
  Adapt the e100 driver to the reworked PCI PM
  
  * Use device_set_wakeup_enable() and friends as needed
  * Use pci_pme_active() to clear PME_Status and disable PME#
  * 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>
  Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  

which I sent to Jeff on Aug 20 as a for-2.6.28 thing.

Maybe I should just mark e100-adapt-to-the-reworked-pci-pm.patch as a
for-2.6.27 thing next time I send that (large) pile of maybe-for-2.6.27
netdev patches.

e100-adapt-to-the-reworked-pci-pm.patch
drivers-net-skfp-pmfc-use-offsetof-macro.patch
drivers-net-atl1e-dont-take-the-mdio_lock-in-atl1e_probe.patch
e1000e-prevent-corruption-of-eeprom-nvm.patch
drivers-net-mlx4-allocc-needs-mmh.patch
net-forcedeth-call-restore-mac-addr-in-nv_shutdown-path-v2.patch
ehea-fix-dlpar-memory-handling.patch
nec-fix-rmmod-platform-driver-improvements.patch
nec-fix-suspend-and-resume-for-isa-pnp-cards.patch

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] e100: Use pci_pme_active for clearing wake-up ..., Andrew Morton, (Wed Sep 10, 3:31 pm)
Re: [PATCH] e100: Use pci_pme_active for clearing wake-up ..., Rafael J. Wysocki, (Wed Sep 10, 4:07 pm)