public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: castet.matthieu@free.fr
To: Linux Kernel list <linux-kernel@vger.kernel.org>,
	linux-net@vger.kernel.org
Subject: FW : airo suspend problem
Date: Sat, 16 Jun 2007 11:14:33 +0200	[thread overview]
Message-ID: <1181985273.4673a9f9e9a4e@imp.free.fr> (raw)


  Sujet : airo suspend problem
      À : linux-pm@lists.osdl.org

Hi,

the airo driver (drivers/net/wireless/airo.c) does in its suspend routine [1].
But not all the pci cards support power management and cause
pci_enable_wake/pci_set_power_state to return errors.

On pci card that don't support PM, what should be done ?
Don't call pci_enable_wake/pci_set_power_state ?


Thanks

Matthieu


PS : after the failed suspend to ram due to airo driver, I tried to unload airo
driver and it hanged. After a reset, I got my ext3 root fs corrupted :(




[1]
pci_enable_wake(pdev, pci_choose_state(pdev, state), 1);
pci_save_state(pdev);
return pci_set_power_state(pdev, pci_choose_state(pdev, state));




             reply	other threads:[~2007-06-16  9:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-16  9:14 castet.matthieu [this message]
2007-06-22 20:58 ` FW : airo suspend problem Pavel Machek
2007-06-23  8:46   ` matthieu castet
2007-06-24 17:10     ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1181985273.4673a9f9e9a4e@imp.free.fr \
    --to=castet.matthieu@free.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox