From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Linux Kernel list <linux-kernel@vger.kernel.org>
Cc: Linus Torvalds <torvalds@osdl.org>,
Linux-pm mailing list <linux-pm@lists.osdl.org>
Subject: Re: ppc: fix up pmac IDE driver for driver core changes
Date: Sun, 14 Nov 2004 13:26:27 +1100 [thread overview]
Message-ID: <1100399187.20511.137.camel@gaston> (raw)
In-Reply-To: <200411132203.iADM3Lwb004846@hera.kernel.org>
On Sat, 2004-11-13 at 20:53 +0000, Linux Kernel Mailing List wrote:
> ChangeSet 1.2115, 2004/11/13 12:53:51-08:00, torvalds@ppc970.osdl.org
>
> ppc: fix up pmac IDE driver for driver core changes
>
> device power state is in "dev.power.power_state" now, rather than
> in "dev.power_state".
>
Hrm... Missed that core change, where does it come from ? doesn't quite
go in the direction we have been discussing on linux-pm lately, which
is rather to remove this power_state field entirely since it's mostly
meaningless at this point (or rather, it's semantics are confuse and the
userland interface to it is means pretty much nothing).
While having a power_state field here for internal use of the driver may
be "useful" (avoiding the need for drivers to maintain something
equivalent locally), it's pretty much impossible to have a generic
abstract power_state that has globally defined semantics, at least not
with our current scheme.
Ben.
next parent reply other threads:[~2004-11-14 2:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200411132203.iADM3Lwb004846@hera.kernel.org>
2004-11-14 2:26 ` Benjamin Herrenschmidt [this message]
2004-11-14 4:36 ` ppc: fix up pmac IDE driver for driver core changes Linus Torvalds
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=1100399187.20511.137.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.osdl.org \
--cc=torvalds@osdl.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